-
Notifications
You must be signed in to change notification settings - Fork 147
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
Vorta only launches in root instead of a regular user #2199
Comments
Just for correctness: You would not need root access to backup sys files. As user you have reading rights and that's all you need for the backup src.
Yes. Every user has his own cfg and root has none.
|
@akmijares Interpreting your error message: Could you please export and upload the Vorta profile? |
My apologies:
Is there a way to export via shell? Since I can only launch vorta through root (sudo vorta), I can only export the profile through root, unless that's alright, as it won't contain any configs. |
@akmijares Sorry, as far as I know there is no way to export the profiles from the shell. Did you already try to start Vorta (as a user) with new settings?
Another thing you could check on your side:
If 'compaction_on' and 'compaction_week' are present, the schemaversion should be '23'. |
Okay so it looks like when I backed up the Vorta settings and launched Vorta as a clean slate it launches. Thanks for that troubleshooting step. I checked the DB with sqlitebrowser, here's what I had:
I changed the schemaversion to 23, recopied the directory back to the original location, and I was able to relaunch the app, and my backups are now running as I type this. :) I would want to close this as problem solved, but I feel like something caused the schemaversion to not upgrade. I did update my system a few weeks ago, so maybe something in the update process caused it to happen. Any ideas? EDIT: One thing to mention, I did try updating a few more times over the past week or so to see if it would've fixed the issue but it did not. |
@akmijares Nice to hear, that Vorta is running again! I suggest keeping this issue open, for now. As far as I understand, the addition of the two new columns/ fields and the setting of version is normally done directly one after the other. Not sure how Vorta can succeed in adding the two new columns, but fail to update the version number? My first suspicion was that this is some weird access control issues caused by different sudo/root/user settings directories. How did you install Vorta on your system? Pip? Flathub? |
Perhaps you could update the description of this issue? |
Sure, I'll edit the description. I installed this via Arch's package manager (pacman). |
Description
Vorta only launches in root now instead of a regular user. I only need to backup my home directory + other folders that my user has access to, so I don't need root permissions. When it does launch via root, my configs are missing.
EDIT:
As per troubleshooting with @goebbe (thanks again!), it appears that for version 0.10.3,
schemaversion
was set to version22
instead of23
even though both the sqlite columns were present in settings.db.Steps to produce:
Reproduction
OS
Arch Linux KDE (X11 and Wayland)
Version of Vorta
0.10.3
What did you install Vorta with?
Distribution package
Version of Borg
1.4.0
Logs
The text was updated successfully, but these errors were encountered: