Botched upgrade from 2.4 to latest v2 (2.6.8) #7219
Replies: 4 comments 1 reply
-
Ok So I made some progress I compared the files at src/Wallabag/UserBundle/Controller in my server with the release's tarball, and found that there were two extra (therefore legacy) files in my server. I backed them up locally and removed them from the server. Now the previous error is gone but I've got a new one, which is rather visually different:
(The second line is in fact inside a red rectangle) Plus accessing my install no longer gives me a blank screen; it's a 503 Service Unavailable message. Yay? Any help would be much appreciated! |
Beta Was this translation helpful? Give feedback.
-
Ok, I don't know why I hadn't tried this first, but it turns out again, even though the error was different, this was a matter of extraneous files!! I removed the "DBAL" folder from src/Wallabag/CoreBundle/Doctrine and tried again; I got another error referring to "Wallabag\CoreBundle\Helper\DetectActiveTheme" and removed that too. Then I tried again and...
Which seems alright!! Since I think the 503 error is due to maintenance in my shared host server, I'll try again later and see if it's alright. Still concerned about the MySQL query error though, if it doesn't work it might be due to that |
Beta Was this translation helpful? Give feedback.
-
Ok so I basically reverted to version 4.1 for the time being. If anyone can point out what I did wrong I might one day try upgrading again :) |
Beta Was this translation helpful? Give feedback.
-
Have you tried to clear the cache? |
Beta Was this translation helpful? Give feedback.
-
So I noticed the docs had instructions to upgrade from 2.5 to 2.6, but not from 2.4 to 2.5... I don't know if I had to do anything extra, but here's what I did (shared hosting):
Fatal error: Declaration of Wallabag\UserBundle\Controller\RegistrationController::registerAction(Symfony\Component\HttpFoundation\Request $request) must be compatible with FOS\UserBundle\Controller\RegistrationController::registerAction(Symfony\Component\HttpFoundation\Request $request): Symfony\Component\HttpFoundation\Response in /home/petercast/www/salvos/src/Wallabag/UserBundle/Controller/RegistrationController.php on line 10
Now I already imagined something went wrong here but I tried to go through with it just in case - it's not like I knew how to fix this anyway...
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'JSON DEFAULT NULL' at line 1
Now accessing my wallabag instance gives me a blank page - which, of course, I expected, given these errors.
Could anyone help me fix my install? :) Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions