You are not logged in.
Hello
I'm trying to get jotta-cli to work on my arch installation, see output of uname below:
[0][jole@Holtedahlfonna ~]$ uname -a
Linux Holtedahlfonna 5.15.22-1-lts #1 SMP Tue, 08 Feb 2022 19:00:40 +0000 x86_64 GNU/LinuxI have managed to install jotta using:
paru -S jotta-cliand also started the daemon, see output below:
[0][jole@Holtedahlfonna ~]$ systemctl status jottad
● jottad.service - Jottacloud cli
Loaded: loaded (/usr/lib/systemd/system/jottad.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2022-02-15 17:30:17 CET; 11min ago
Main PID: 1407 (jottad)
Tasks: 11 (limit: 19067)
Memory: 12.7M
CPU: 3.460s
CGroup: /system.slice/jottad.service
└─1407 /usr/bin/jottad
Feb 15 17:30:17 Holtedahlfonna systemd[1]: Started Jottacloud cli.
Feb 15 17:30:17 Holtedahlfonna jottad[1407]: 2022/02/15 17:30:17 No contextState
Feb 15 17:30:17 Holtedahlfonna jottad[1407]: [1407] creating logger @ /var/lib/jottad/jottabackup.logIn addition, logging in also went well using
sudo jotta-cli loginand the token generated from the website at:
https://www.jottacloud.com/web/secureHowever, trying to setup sync I get an error:
[0][jole@Holtedahlfonna ~]$ sudo jotta-cli sync setup --root Jotta/
WARNING:
This is an in-development, beta version of sync.
Some unexpected behaviour or bugs may occur.
If any bugs are encountered, please reach out to us at support@jottacloud.com.
If you have any suggestions on how to improve sync, open an issue at https://github.com/jotta/jotta-cli-issues.
Thank you for helping us make jotta-cli better!
Continue sync setup? [yes]: yes
If sync encounters an error it can report it to Jotta automatically.
Chose the error reporting mode for sync:
full send most local metadata ( default )
stackonly send only the stacktrace and the error
off dont send any report
( See jotta-cli sync configure reporting -h for more information )
Choose error reporting mode[full]: full
Interpreting input root [Jotta/] as [/home/jole/Jotta]. continue sync-setup(y/n): y
The existing sync folder on jottacloud.com contains 9 folders
jotta-cli can selectively ignore one or more of these folders if you do not wish to sync the data to this device
Do you want to setup selective sync? (y/n): n
ERROR stat /home/jole/Jotta: permission denied
[0][jole@Holtedahlfonna ~]$The last line here,
ERROR stat /home/jole/Jotta: permission deniedI don't have permission to run stat on this folder, and I don't see why.
I created the folder
home/<user name>/Jottatrying to do setup with the default owner/group. Failing at this I tried change the owner/group to jottad/jottad, but this also fails,
Have anyone (with better knowledge of linux than me) had similar issues and been able to fix them?
Best regards
Jon Leithe
Offline