Giter VIP home page Giter VIP logo

Comments (4)

zamentur avatar zamentur commented on August 17, 2024 5

All python apps need to be force updated after the upgrade (it will be explain in the docs) It was already like this for stretch -> buster

from borg_ynh.

xmgz avatar xmgz commented on August 17, 2024 1

I've tried the python force "-F" to restore the app but failed and got uninstalled :(

then tried to clean install and also fails, with this log https://paste.yunohost.org/raw/qusapirozo

Warning:       [end of output]
Warning:   note: This error originates from a subprocess, and is likely not a problem with pip.
Warning: error: legacy-install-failure
Warning: × Encountered error while trying to install package.
Warning: ╰─> borgbackup
Warning: note: This is an issue with the package mentioned above, not pip.
Warning: hint: See above for output from the failure.
Error: Unable to install borg: An error occurred inside the app installation script
Info: The operation 'Install the 'borg' app' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20220819-035336-app_install-borg' to get help
Warning: Here's an extract of the logs before the crash. It might help debugging the error:
Info: DEBUG -
Info: WARNING -       During handling of the above exception, another exception occurred:
Info: DEBUG -
Info: WARNING -       Traceback (most recent call last):
Info: WARNING -         File "<string>", line 2, in <module>
Info: WARNING -         File "<pip-setuptools-caller>", line 34, in <module>
Info: WARNING -         File "/tmp/pip-install-9ap2fmcz/borgbackup_a9d985cf045047d9b5b36910da0e31b1/setup.py", line 154, in <module>
Info: WARNING -           raise ImportError('The GIT version of Borg needs Cython. Install Cython or use a released version.')
Info: WARNING -       ImportError: The GIT version of Borg needs Cython. Install Cython or use a released version.
Info: WARNING -       [end of output]
Info: DEBUG -
Info: WARNING -   note: This error originates from a subprocess, and is likely not a problem with pip.
Info: WARNING - error: legacy-install-failure
Info: DEBUG -
Info: WARNING - × Encountered error while trying to install package.
Info: WARNING - ╰─> borgbackup
Info: DEBUG -
Info: WARNING - note: This is an issue with the package mentioned above, not pip.
Info: WARNING - hint: See above for output from the failure.
Info: DEBUG - + ynh_exit_properly
Warning: Removing the app following the installation failure...
Info: [++++++..............] > Removing dependencies...
Warning: Failed to stop borg.timer: Unit borg.timer not loaded.
Warning: Failed to disable unit: Unit file borg.timer does not exist.
Info: '/etc/systemd/system/borg.timer' wasn't deleted because it doesn't exist.
Info: '/usr/local/bin/backup-with-borg' wasn't deleted because it doesn't exist.
Info: '/etc/yunohost/hooks.d/backup_method/05-borg_app' wasn't deleted because it doesn't exist.
Info: '/usr/local/bin/borg' wasn't deleted because it doesn't exist.
Info: [####################] > Removal of borg completed
Error: The operation 'Install the 'borg' app' could not be completed. Please share the full log of this operation using the command 'yunohost log share 202208xx-xxxxx-app_install-borg' to get help


from borg_ynh.

shukon avatar shukon commented on August 17, 2024 1

I have this issue with a fresh VPS and fresh Yunohost install directly on Debian 11, without any migration. More or less identical logs as the ones xmgz provided.

from borg_ynh.

fflorent avatar fflorent commented on August 17, 2024

Workaround

Uninstalling and restoring the borg app solves the issue:

$ sudo yunohost backup create --name borg_bullseye --apps borg
$ sudo yunohost remove borg
$ sudo yunohost backup restore borg_bullseye --apps

from borg_ynh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.