Hi, when running the phpList Updater it jumps immediately to the last step “Perform update” and returns an error message:
Updater is loading
Cannot set the maintenance mode on!
This happens when trying to update from v3.6.6 to v3.6.7. It also happened in all earlier versions and I tried to investigate the problem a couple of times, unsuccessfully. The used accound is a super administrator.
I attached a screenshot of the message.
Do you have any ideas, suggestions…? Thanks in advance!!
@isfmiho You will need to manually remove rows from the config table using phpmyadmin. There are a few earlier topics in this forum regarding this.
Look for rows “maintenancemode” and “update_in_progress”
@isfmiho It sounds like there is a file permissions problem. All files and directories need to be writeable by the web server process so that it can copy, move and delete them. But the code does check that earlier in the process, so there might be some other cause.
In the lists directory there might be a temporary directory created by the updater tmp_uploaded_update/tempplugins
Check the file permissions of that, also of the lists directory itself.
@isfmiho The updater should have created that directory itself, which does suggest a permissions problem.
Now I think the code has been moved so there is probably nothing installed. You should do a manual upgrade, then ensure that all directories and files have the correct permission. If you have command line access then that can be done using the chown command.
Thanks again @duncanc. I could fix my installation with a manual upgrade.
I am checking the phplist-manual but I’m not sure where to find the “permission” section!?
Can I do that without the command prompt? I think my webspace provider does not provide command prompt access.