openlitespeed - 404 error for restored users from backup

rock2019

New member
Joined
Dec 8, 2019
Messages
5
Hi,

I have a strange thing with openlitespeed, I have a fresh server just installed with directadmin.
My issue is when I'm creating a new user the website loads just fine when I restore the user from the backup the process is completed but I'm getting 404 error when I'm accessing the website.

I can see the configuration are fine, there is no htaccess which could affect this, if I'm trying to access the openlitespeed panel it says 503 service unavailable but the new create websites work just fine.

1. works with new create accounts
2. doesn't work when the account is restored from the backup file.

Any ideas?
 

bdacus01

Verified User
Joined
Jul 22, 2017
Messages
670
Location
Murfreesboro
Try
Code:
cd /usr/local/directadmin/custombuild
./build update
./build clean
./build rewrite_confs
 

bdacus01

Verified User
Joined
Jul 22, 2017
Messages
670
Location
Murfreesboro
Did you read through this? https://forum.directadmin.com/threads/how-to-cpanel-to-da-migration.58059/
Other things to take into consideration:
* It's recommended to leave all the cpmove-user.tar.gz files on the system after restore. If there are bugs, or something goes wrong, it'd still be possible to recover that data.
* Like any software - there might be bugs there, if you notice any - please let us know, and we'll try fixing them as soon as possible.
* DirectAdmin supports a different feature set than cPanel. For example, DirectAdmin supports nginx/openlitespeed, MySQL8, rspamd etc., but it has no support for PostgreSQL or Ruby. So, if you have any sites using them - they'd need to be transferred manually.
* Max username length is 16 characters for MySQL users by default, and 10 for system user. Max username length can be increased in /usr/local/directadmin/conf/directadmin.conf. You can find max length of your username in cPanel easily:
Did you have OLS on cpanel? I think the migration is supposed to be apples to apples. Not totally sure though I dont use OLS.
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,530
Location
LT, EU
I'd suggest checking /var/log/httpd/domains/domain.com.error_log
 

rock2019

New member
Joined
Dec 8, 2019
Messages
5
Glad you got it. Could you please post what you did?
What I did extra was

/usr/local/directadmin/scripts/cpanel_to_da/cpanel_to_da.sh /home/admin/user_backups/cpmove-USERNAME.tar.gz /home/admin/converted_user_backup
chown -R admin. /home/admin/converted_user_backup
 
Top