Hi,
When I try to run a borg command from the borg shell, it fails:
bash: /venv/bin/borg: No such file or directory
Step to reproduce:
sudo yunohost app shell borg
borg list
Error
bash: /venv/bin/borg: No such file or directory
General information
I have this problem only on one of my two Yunhost server, the oldest one.
I think I installed Borg on this Yunohost server before the borg shell exist.
Borg seems to works fine, it does backup every day, as i can see in "Last Backup list" on the yunohost web admin.
Ideas of where the error can come from
The good folder exist, but the borg shell may be related to the wrong folder (absolute path to / : "/venv/bin/borg") :
sudo ls -lah /var/www/borg/venv/bin/
drwxr-xr-x 2 root borg 4.0K May 25 16:21 .
drwxr-xr-x 5 root borg 4.0K Nov 20 2024 ..
-rwxr-xrwx 1 root borg 226 Mar 30 18:13 borg
-rwxr-xrwx 1 root borg 226 Mar 30 18:13 borgfs
-rwxr-xr-x 1 root borg 235 Nov 20 2024 pip
-rwxr-xr-x 1 root borg 235 Nov 20 2024 pip3
-rwxr-xr-x 1 root borg 235 Nov 20 2024 pip3.11
lrwxrwxrwx 1 root borg 7 Nov 20 2024 python -> python3
lrwxrwxrwx 1 root borg 16 Nov 20 2024 python3 -> /usr/bin/python3
lrwxrwxrwx 1 root borg 7 Nov 20 2024 python3.11 -> python3
-rwxr-xr-x 1 root borg 228 May 25 16:21 wheel
Also, each time i connect threw ssh to this server, and each time i type a sudo yunohost app shell command, i have this error, but the command itself didn't fail:
sudo yunohost app shell borg
Error: yunohost command must be run as root or with sudo.
Error: yunohost command must be run as root or with sudo.
borg@myserver:~$
And i have 2 borg instance running on this server (borg and borg__2)
-> is it possible that each borg instance try to run a command to create or use the right venv but it fails?
Hi,
When I try to run a borg command from the borg shell, it fails:
bash: /venv/bin/borg: No such file or directoryStep to reproduce:
sudo yunohost app shell borgborg listError
bash: /venv/bin/borg: No such file or directoryGeneral information
I have this problem only on one of my two Yunhost server, the oldest one.
I think I installed Borg on this Yunohost server before the borg shell exist.
Borg seems to works fine, it does backup every day, as i can see in "Last Backup list" on the yunohost web admin.
Ideas of where the error can come from
The good folder exist, but the borg shell may be related to the wrong folder (absolute path to / : "/venv/bin/borg") :
Also, each time i connect threw ssh to this server, and each time i type a
sudo yunohost app shellcommand, i have this error, but the command itself didn't fail:And i have 2 borg instance running on this server (borg and borg__2)
-> is it possible that each borg instance try to run a command to create or use the right venv but it fails?