I was trying to update from 3.4.2 to 3.4.4 using the auto-updater, but it is stuck at “Download” phase with “Updater is loading.” being the last status. The browser’s Console shows the following error message:
Uncaught SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse ()
at XMLHttpRequest. ((index):893)
Hi,
I am stuck at the same point. Also 3.4.2 to 3.4.4.
Webconsole says: “SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data”.
It happened when I entered a backup-directory that is write-protected, there is no way back.
I assume you can log into your phpList installation, if this is the case, open up System on the left hand menu and click Upgrade phpList. You should see a report giving current database version as well
Hello and hope you can help.
I tried to update today and the system is stuck at “updater is Loading”
I’m not sure where to look for errors, except I was able to find this in chrome:
Uncaught TypeError: Cannot read property ‘classList’ of undefined
at setCurrentActionItem ((index):883)
at executeNextStep ((index):890)
at XMLHttpRequest. ((index):838)
(index):883 Uncaught TypeError: Cannot read property ‘classList’ of undefined
at setCurrentActionItem ((index):883)
at executeNextStep ((index):890)
at HTMLButtonElement. ((index):926)
3(index):883 Uncaught TypeError: Cannot read property ‘classList’ of undefined
at setCurrentActionItem ((index):883)
at executeNextStep ((index):890)
at HTMLButtonElement. ((index):926)
setCurrentActionItem @ (index):883
executeNextStep @ (index):890
(anonymous) @ (index):926
Can anyone shed some light on why I am stuck.
I may have deleted an online folder yesterday called something like:
_temp files updater
or something like that, not sure, but thought if I deleted current update it would work again.
I
Update translations - says up to date
Verify the DB structure - all green checkmarks
Initialise the database - all failed, says Error: Table already exists
I’m running PHP Version 7.2.30
Also:
Upgrade phpList
Your database version: 3.5.2
Your database is already the correct version, there is no need to upgrade
Hello enivid,
Thanks for the suggestion. I checked my PHP error log and there were no errors associated with PHPlist
I looked at my running processes and found this:
/opt/cpanel/ea-php72/root/usr/bin/php-cgi /home2/mississa/public_html/lists/updater/index.php
which tells me the updater is trying to load, yes?
I’m thinking of just doing a manual update and then trying the autoupdate for the next release.
Unless you or someone else can think of something, I’m stuck and can’t think of any other options at this point.
Update: I looked at a file called README.md and in that file it states in the
Notes section
“When the update process fails you should manually remove actions.txt file inside the config folder in order to reset the process and be able to try again.”
So I deleted the actions.txt file
The updater started again and this time it stalled at the
“Download in progress” stage
I’m giving it time, but it really should have passed this stage by now, unless the PHPlist servers are very slow or down right now, maybe that is the issue
I’ll try again later today and update you here
Thanks
Mark