I had a crash of my previous server and I tried to rise my website from the dead. I had backups of all the files & of the database (PostgreSQL). I was not the one who set up the website and my knowledge of Drupal is pretty low. From what I understood/gathered, it is a 7.54 version and it runs with multisite.
What I did so far:
- Import my database backup in PostgreSQL (in the dumbest way possible: recreate the right database & user, import everything back in place);
- Upload all the files to my new server (running Debian Jessie);
- Give access to the
sites/
directories towww-data
user; - Clear the
sites/mysite/css/
andsites/mysite/js/
directories; - Disable CSS & JS aggregation (using
drush
).
I did the latest because the style of the website was broken; that was enough to revive it.
I still have on major issue: when I log in, I get the maintenance message. I therefore tried to disable maintenance_mode
with drush
; it didn't work.
I saw it could be related to cache issues; I therefore tried to clear the cache (once again with drush
with drush cc all
). It put the whole site in maintenance, and not only when I'm logged in.
I am not sure where the problem comes from. Any hint or suggestion would be greatly appreciated!
drush user-information {user1}
and it only hasauthenticated user
; it seems to me that could be a problem.