Solved Site Broken after restoring from backup.

llamprec

Verified User
Joined
Apr 6, 2022
Messages
38
Greetings you clever people,

I am very new to DA and am not sure if this is the correct location.
I am in the process of moving my whole DA installation from an old server to a new server. Only I was not the person that installed the original DA installation. It seems that I used a different reseller account (not sure if this is the correct terminology) in my installation.
I have done this once but cannot remember what needs to be changed. I have searched the forums and cannot find the information.
After the restore the site does not work, seems the paths to the sites was incorrect. I remember editing the $site.sql file and updating the site path. This resolved the issue. Only I cannot remember what I updated to resolve my issue.

Does anyone have any ideas?
Thanks
Lawrence
 
Was the backup taken as reseller or admin ?
Did you try to restore an backup from an different site ? otherwise you shouldn't have path problems.
 
Which way are you using to move the DA installation?
Normally for the accounts, the best/easiest way is to use the Admin backup/transfer option from the main admin account.

As far as DA goes, before you transfer the accounts, it would be good to check the options.conf file first on both servers, to see which might be set differently or is not matching.

Especially check both PHP and mysql/mariadb versions. If you have ancient MariaDB/Mysql version and php on the old server and converting to very new ones, sites might be incompatible and not working.
 
Was the backup taken as reseller or admin ?
Did you try to restore an backup from an different site ? otherwise you shouldn't have path problems.
The backup was restored on a different new machine.
 
Which way are you using to move the DA installation?
Normally for the accounts, the best/easiest way is to use the Admin backup/transfer option from the main admin account.

As far as DA goes, before you transfer the accounts, it would be good to check the options.conf file first on both servers, to see which might be set differently or is not matching.

Especially check both PHP and mysql/mariadb versions. If you have ancient MariaDB/Mysql version and php on the old server and converting to very new ones, sites might be incompatible and not working.
I think that this is the issue that we are seeing, but have to recover from this. Not sure how though.
I have changed the DNS back to teh old site, but would like to move to the new site as soon as possible.
Lawrence
 
We would gladly be of help, but you do have to answer the questions correctly for us to be able to do so.
 
That was not the question. How did you create the backup was the question.
I created the back via the Backup/transfer in the DA portal.

Then copied the backup file to teh new server and did a restore through the DA portal as well. Using the Restore process.
Lawrence
 
Oke so that is Admin backup/transfer.
I presume "using the restore process" you have used the same option, but then to restore?
So also being logged in as an admin.

Is that a personal license or another license of Directadmin you're using?
On a personal license, you should use the user backup, not the backup/transfer option from the admin section (if present).
 
Oke so that is Admin backup/transfer.
I presume "using the restore process" you have used the same option, but then to restore?
So also being logged in as an admin.

Is that a personal license or another license of Directadmin you're using?
On a personal license, you should use the user backup, not the backup/transfer option from the admin section (if present).
It is not a personal license.

I understand from my colleague that there was a php version difference. So will test more and come back to you.
Lawrence
 
Please don't quote full posts... use the quick reply box. ;)

If you check php version, then like I suggested before, also check the mysql/mariadb differences, just to be sure.
 
It's a Xenforo problem, they decided to use the word "reply" instead of quote which is confusing for more people. It's indeed the empty box below the replies.

Are you still encountering issues with backup and restoring things? Or still investigating?
 
@Richard G
Thanks for the follow up. it turns out the issue was not related to the reseller at all, it was related to teh site running on an older version of php and the site depended upon that instead. After activating the older php the site started working as usual.
Yest again another issue when the symptoms were not reflecting the exact cause of it not working.

This can be marked as solved.
Lawrence
 
it was related to teh site running on an older version of php
Yes I was afraid of that.... that's why I mentioned it in my first reply:
If you have ancient MariaDB/Mysql version and php on the old server and converting to very new ones, sites might be incompatible and not working.

However, if you got it working now, maybe now it's possible to upgrade the site then, and afterwards upgrade the php versions again so that's also up to date.

As to marking the thread as solved, if all is ok, you can edit the first post and use the prefix to set it to solved.
 
Back
Top