problem restoring admin backup

cth3

Verified User
Joined
Jun 19, 2004
Messages
35
Hey everyone,
I am moving to a new server (DA 1.22.4 to 1.23)
All domains and files have transfered, EXCEPT 'admin' who is the reseller for all the domains.
No packages came over, no domains for admin, etc.

Any way to restore the domain under 'admin'

It shows no domains when I click on User Level. If I try to make the domain, it says it already exists.

HELP!! please :)
 
The backup solution in DA doesn't backup the needed configuration files of DA. It does almost for everyother config/settings like mail/homepage and DNS, but not the files of DA.

you probaly have to create the users in the panel and then restore their files. (Not very usefull)
 
All my users are there and working, just my 'admin' account shows norhing in the user level.

I CANT re make it, it tells me the domain already exists
 
Check the /usr/local/directadmin/data/users/admin/domains.list and domains dir.

Maybe there's some lost data in it :p
 
In the domain.lists file for admin, nothing was listed - so I added the domain name. Now I am able to see things in the user level under admin - but the site doesnt show up, just the WELCOME TO APACHE thing. Files are listed in the directories.
 
ok, so now I am able to view my admin account (httpd.conf file was all messed up - however, I am no longer able to access any files using the /~username

Was this a change in the 1.23

any way to fix this? all my graphics get called for one site through the /~username.
 
/usr/local/directadmin/data/users/admin/:

admin.list:

domain.com
domain2.com
domain3.com

Directory domains:

[domain].conf
[domain].ftp
[domain].subdomains
[domain].usage

These files are created by Da with the configuration in it.
You probaly have to restore these files.
 
I'm having this same issue..but I'm a reseller...

So I really can't do anything server level.
 
Hello,

you can't use domain.com/~username .. that's not valid because people were abusing it for bandwidth. We've now tightend things up and you *must* use the server IP address to make use of /~username.

eg:

http://1.2.3.4/~username

where 1.2.3.4 is the IP address of the server (not necessarily the ip of your domain).

It's related to this change:
http://www.directadmin.com/features.php?id=392

If you want full ~username support again, you can just turn it back on in your main /etc/httpd/conf/httpd.conf file by typing:

perl -pi -e 's/UserDir disabled/UserDir public_html/' /etc/httpd/conf/httpd.conf

then restart apache.

John
 
John - it stopped working??!!

I re-did the command again, no good.
 
Back
Top