-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V2.6 #195
V2.6 #195
Conversation
!testme |
* Upgrade to v2.6.9 https://github.com/wallabag/wallabag/releases/tag/2.6.9 * Auto-update READMEs * Auto-update READMEs --------- Co-authored-by: lapineige <[email protected]>
!testme |
I've manually debugged and fixed other plugin upgrades, errors, on my own system. Many follow a pattern, I'm unfamiliar with these errors -- pasting here for attention. I guess the step of help that would really move the needle is building myself a test instance and getting the update to work. Can I run it in docker?
More complete trace, from (install as) root test case.57575 INFO [+++++++++++++.......] > Setting up source files... 58470 WARNING Packagers /!\ patch /var/cache/yunohost/app_tmp_work_dirs/app_6_q75vno/app_folder/sources/patches/main-02-oauth-workaround.patch failed to apply 58545 INFO [#############++.....] > Adding wallabag2's configuration files... 60766 ERROR Unable to install wallabag2: An error occurred inside the app installation script 60766 INFO The operation 'Install the 'wallabag2' app' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20240513-061007-app_install-wallabag2' to get help 60786 WARNING Here's an extract of the logs before the crash. It might help debugging the error: 60787 INFO DEBUG - + cat /var/www/wallabag2/app/config/parameters.yml 60787 INFO DEBUG - + '[' -n '' ']' 60787 INFO DEBUG - + unset backup_file_checksum 60787 INFO DEBUG - + chmod 600 /var/www/wallabag2/app/config/parameters.yml 60787 INFO DEBUG - + chown wallabag2:www-data /var/www/wallabag2/app/config/parameters.yml 60787 INFO DEBUG - + php_exec=("php$phpversion" "$install_dir/bin/console" --no-interaction --env=prod) 60787 INFO DEBUG - + ynh_exec_warn_less ynh_exec_as wallabag2 php8.2 /var/www/wallabag2/bin/console --no-interaction --env=prod wallabag:install 60787 INFO DEBUG - + [[ 7 -eq 1 ]] 60787 INFO DEBUG - + ynh_exec_as wallabag2 php8.2 /var/www/wallabag2/bin/console --no-interaction --env=prod wallabag:install 60788 INFO DEBUG - + local user=wallabag2 60788 INFO DEBUG - + shift 1 60788 INFO DEBUG - ++ whoami 60788 INFO DEBUG - + [[ wallabag2 = root ]] 60788 INFO DEBUG - + sudo -u wallabag2 php8.2 /var/www/wallabag2/bin/console --no-interaction --env=prod wallabag:install 60788 INFO DEBUG - PHP Warning: require(/var/www/wallabag2/bin/../vendor/autoload.php): Failed to open stream: No such file or directory in /var/www/wallabag2/bin/console on line 15 60788 INFO DEBUG - PHP Fatal error: Uncaught Error: Failed opening required '/var/www/wallabag2/bin/../vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/wallabag2/bin/console:15 60788 INFO DEBUG - Stack trace: 60788 INFO DEBUG - #0 {main} 60788 INFO DEBUG - thrown in /var/www/wallabag2/bin/console on line 15 60789 INFO DEBUG - + ynh_exit_properly 60805 ERROR The installation of wallabag2 failed, but was not cleaned up as requested by --no-remove-on-failure. Error: Installation failed. Peak RAM usage during this test: 237MB RAM usage diff after test: 70MB Disk usage diff after test: 409.8MB Underinformed hunchesI notice the false-case equality checks
I've fixed, a few times, missing or differing libraries and functions, in upgrading php from 7.4 to 8.*. MotivationThe carrot I'm chasing, in case it interests you too, is correct handling of Once it updates, I'll wish I could bulk trigger re-extraction of comments on that domain. |
Running a Yunohost instance inside Docker, as far as I know, is quite tricky. It's easier to try a virtualisation tool. |
Superseeded by automatic pr at #203 . |
Problem
Solution
PR Status
Automatic tests
Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)