Your software
My Mautic version is: 3.3.1
My PHP version is: PHP 7.3.27
My Database type and version is: Server version: 8.0.23 MySQL Community Server - GPL
Your problem
My problem is: After restoring my database, I cannot access Mautic. I get the following message “Internal server error 500”. I only export and import the database to a new server, I did not modify anything else, is it necessary to modify any file to establish the connection?
Hello @nataly sorry for your trouble.
Normally you don’t need to modify anything. If you don’t have db access, you would see a ‘Cannot Establish DB connection’ error. This is not the case. Make sure your files are writable and you have the right permission set. I mean file ownership.
Joey
The process that I have carried out is the following:
I created the backup of the Mautic database and downloaded it.
From the PHPmyadmin page, of the new server to which I want to migrate the information, I deleted all the tables of the Bitnami_mautic database and imported the structure of the database that I was going to migrate (I don’t know if the error could be there , maybe I deleted some table that is necessary for the connection) once I had the new database structure, I loaded all the data from the database by command, since it is a file that weighs about 1GB.
The database is loaded correctly, I know, because now it allows me to enter the website with a username and password that were in the data that I imported. But once I log in, I get the following error.
[quote=“joeyk, post:6, topic:19416”]
MAUTICFOLDER/var/logs/
[/quote]
That is the folder that I have previously verified, what I have written to you is what appeared in the pre-start.log log
there is also another log called post-start.log and it says the following: