wallabag2_ynh icon indicating copy to clipboard operation
wallabag2_ynh copied to clipboard

Cannot update to 2.4.3: An exception occurred while executing 'ALTER TABLE entry ADD given_url LONGTEXT DEFAULT NULL, ADD hashed_given_url TINYTEXT DEFAULT NULL'

Open mdic opened this issue 2 years ago • 6 comments

Describe the bug

Wallabag cannot be updated due to the following error

Error thrown while running command "--no-interaction --env=prod doctrine:migrations:migrate". Message: "An exception occurred while executing 'ALTER TABLE entry ADD given_url LONGTEXT DEFAULT NULL, ADD hashed_given_url TINYTEXT DEFAULT NULL'

Context

  • Hardware: VPS bought online
  • YunoHost version: 4.3.6.3
  • I have access to my server: Through the webadmin
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no

Steps to reproduce

Try to update Wallabag from 2.3.8~ynh4 to 2.4.3~ynh1 from the webadmin "System update" tool

Expected behavior

The app should update

Logs

https://paste.yunohost.org/raw/tokaconera

mdic avatar Jul 25 '22 15:07 mdic

Could you give a try to this PR please ? ~yunohost app upgrade wallabag2 -u https://github.com/YunoHost-Apps/wallabag2_ynh/tree/testing~ Merged into master, no need to use the command line ;)

lapineige avatar Jul 27 '22 05:07 lapineige

@lapineige no access to CLI for the moment, has it been merged to master (so that i could try a "normal" upgrade)

El-Gavy avatar Jul 28 '22 11:07 El-Gavy

Yes indeed, I forgot to update this :)

lapineige avatar Jul 28 '22 16:07 lapineige

Just tried to update to 2.5.0 : got the same error.

klorydryk avatar Jul 28 '22 21:07 klorydryk

I can confirm that upgrading to Wallabag 2.5.0 ynh2 solves the previous issue, and Wallabag is now correctly upgrading.

mdic avatar Aug 01 '22 07:08 mdic

So now how to find why some errors are resolved and not others.

lapineige avatar Aug 02 '22 20:08 lapineige

Should be fixed

Salamandar avatar Mar 09 '24 14:03 Salamandar