Skip to content
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

No such directory: /usr/local #2178

Open
Munchotaur opened this issue Dec 28, 2024 · 3 comments
Open

No such directory: /usr/local #2178

Munchotaur opened this issue Dec 28, 2024 · 3 comments

Comments

@Munchotaur
Copy link

Munchotaur commented Dec 28, 2024

2024-12-28 11:00:28,439 - vorta.i18n - DEBUG - Loading translation failed for ['en-Latn-GB', 'en-GB'].
2024-12-28 11:00:28,490 - root - DEBUG - Not a private SSH key file: authorized_keys
2024-12-28 11:00:28,490 - root - DEBUG - Not a private SSH key file: other_keys.seahorse
2024-12-28 11:00:28,510 - vorta.views.source_tab - DEBUG - Added item number 0 from 1
2024-12-28 11:00:28,511 - vorta.views.source_tab - DEBUG - Added item number 1 from 2
2024-12-28 11:00:28,511 - vorta.views.source_tab - DEBUG - Added item number 2 from 3
2024-12-28 11:00:28,638 - root - INFO - Using NetworkManagerMonitor NetworkStatusMonitor implementation.
2024-12-28 11:00:28,663 - vorta.scheduler - INFO - Setting timer for profile 1
2024-12-28 11:00:28,665 - vorta.scheduler - DEBUG - Scheduling next run for 2024-12-29 00:00:00
2024-12-28 11:00:28,687 - vorta.scheduler - INFO - Setting timer for profile 1
2024-12-28 11:00:28,687 - vorta.scheduler - DEBUG - Scheduling next run for 2024-12-29 00:00:00
2024-12-28 11:00:28,698 - vorta.scheduler - INFO - Setting timer for profile 1
2024-12-28 11:00:28,699 - vorta.scheduler - DEBUG - Scheduling next run for 2024-12-29 03:42:00
2024-12-28 11:00:28,745 - vorta.borg.jobs_manager - DEBUG - Add job for site default
2024-12-28 11:00:28,746 - vorta.borg.jobs_manager - DEBUG - Start job on site: default
2024-12-28 11:00:28,752 - vorta.borg.borg_job - INFO - Running command /app/bin/borg --version
2024-12-28 11:00:29,087 - vorta.borg.jobs_manager - DEBUG - Finish job for site: default
2024-12-28 11:00:29,088 - vorta.borg.jobs_manager - DEBUG - No more jobs for site: default
2024-12-28 11:00:29,088 - vorta.scheduler - DEBUG - Refreshing all scheduler timers
2024-12-28 11:00:29,093 - vorta.scheduler - INFO - Setting timer for profile 1
2024-12-28 11:00:29,094 - vorta.scheduler - DEBUG - Scheduling next run for 2024-12-29 03:42:00

[lots of these lines about scheduler timers, no warnings or errors...]

2024-12-28 15:00:28,034 - vorta.scheduler - DEBUG - Refreshing all scheduler timers
2024-12-28 15:00:28,041 - vorta.scheduler - INFO - Setting timer for profile 1
2024-12-28 15:00:28,042 - vorta.scheduler - DEBUG - Scheduling next run for 2024-12-29 03:42:00
2024-12-28 15:03:35,754 - vorta.keyring.abc - DEBUG - No module named 'objc'
2024-12-28 15:03:35,786 - asyncio - DEBUG - Using selector: EpollSelector
2024-12-28 15:03:35,788 - vorta.keyring.abc - DEBUG - Using VortaSecretStorageKeyring
2024-12-28 15:03:35,788 - vorta.borg.borg_job - DEBUG - Using VortaSecretStorageKeyring keyring to store passwords.
2024-12-28 15:03:35,789 - asyncio - DEBUG - Using selector: EpollSelector
2024-12-28 15:03:35,790 - vorta.keyring.secretstorage - DEBUG - Found 1 passwords matching repo URL.
2024-12-28 15:03:35,791 - vorta.keyring.secretstorage - DEBUG - Retrieved password for repo ssh://[email protected]/data/backups/eos-vorta-home/
2024-12-28 15:03:35,866 - vorta.borg.jobs_manager - DEBUG - Add job for site 1
2024-12-28 15:03:35,866 - vorta.borg.jobs_manager - DEBUG - Start job on site: 1
2024-12-28 15:03:35,895 - vorta.borg.borg_job - INFO - Running command /app/bin/borg create --list --progress --info --log-json --json --filter=AM -C lz4 --exclude-if-present .nobackup --exclude-if-present .dontbackup --exclude-from /tmp/tmp35410chf ssh://[email protected]/data/backups/eos-vorta-home/::eos-2024-12-28-150335 /home/my_user_name /etc /usr/local
2024-12-28 15:03:38,233 - vorta.borg.borg_job - INFO - Creating archive at "ssh://[email protected]/data/backups/eos-vorta-home/::eos-2024-12-28-150335"
2024-12-28 15:03:38,238 - vorta.borg.borg_job - INFO - Synchronizing chunks cache...
2024-12-28 15:03:38,247 - vorta.borg.borg_job - INFO - Archives: 433, w/ cached Idx: 308, w/ outdated Idx: 0, w/o cached Idx: 125.
2024-12-28 15:03:38,276 - vorta.borg.borg_job - INFO - Reading cached archive chunk index for eos-2023-08-27-135149 ...
2024-12-28 15:03:38,290 - vorta.borg.borg_job - INFO - Merging into master chunks index ...

[lots of these lines about indices, no warnings or errors...]

2024-12-28 15:06:25,101 - vorta.borg.borg_job - INFO - Fetching and building archive index for eos-2024-12-26-141541 ...
2024-12-28 15:06:26,143 - vorta.borg.borg_job - INFO - Merging into master chunks index ...
2024-12-28 15:06:26,248 - vorta.borg.borg_job - INFO - Done.
2024-12-28 15:11:49,651 - vorta.borg.borg_job - WARNING - /usr/local: stat: [Errno 2] No such file or directory: '/usr/local'
2024-12-28 15:14:48,203 - vorta.borg.jobs_manager - DEBUG - Finish job for site: 1
2024-12-28 15:14:48,203 - vorta.borg.jobs_manager - DEBUG - No more jobs for site: 1
2024-12-28 15:14:48,205 - vorta.scheduler - INFO - Setting timer for profile 1
2024-12-28 15:14:48,207 - vorta.scheduler - DEBUG - Scheduling next run for 2024-12-29 03:42:00
2024-12-28 15:15:28,020 - vorta.scheduler - DEBUG - Refreshing all scheduler timers
2024-12-28 15:15:28,026 - vorta.scheduler - INFO - Setting timer for profile 1
2024-12-28 15:15:28,028 - vorta.scheduler - DEBUG - Scheduling next run for 2024-12-29 03:42:00

@Munchotaur
Copy link
Author

Oh bloody hell Github. Editing the log seems to have deleted the rest of the issue text!

Here's what I'd entered:
There's a warning in vorta.log about /usr/local not existing. I can vouch for the existence of this directory and that it's visible to root/non-root users alike.

System:
MX-Linux 23.4, x86_64, Cinnamon Desktop
Vorta version 0.10.3, installed from Flatpak
Borg version: 1.4.0

@m3nu
Copy link
Contributor

m3nu commented Dec 28, 2024

Maybe it's blocked by the Flatpak sandbox, SELinux or something similar. I'm sure the folder would exist on most systems.

@Munchotaur
Copy link
Author

Munchotaur commented Dec 29, 2024

Seems you're right about /usr being reserved by FlatPak. Bit of a pain as even the Debian test repo is back on v0.9 of Vorta, so I'll have to compile from source. Thanks for the insight.

Edited to add: I forgot that it's available via pipx. The only difference being the need to install borg separately as that seems to be bundled in the flatpak.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants