jotta / jotta-cli-issues

45 stars 1 forks source link

Unable to start jottad #84

Open henkoegema opened 5 years ago

henkoegema commented 5 years ago

Make sure you are running the latest version of jotta-cli before reporting an issue.

jotta-cli release (jotta-cli version): 0.5.15025

Description of problem: Cannot connect to jottad

Expected: Expect that jottad starts. (automatically, which it also did for several months)

jotta-cli status (jotta-cli status): Error: Could not connect to jottad. Is it running on 127.0.0.1:14443 ? `

Relevant logs for the issue (cat ~/.jottad/jottabackup.log) ~$ journalctl -u jottad -e .............................................. .............................................. jun 25 09:27:14 HPHP systemd[1]: jottad.service: Scheduled restart job, restart counter is at 2. jun 25 09:27:15 HPHP systemd[1]: Stopped Jottacloud cli. jun 25 09:27:15 HPHP systemd[1]: Started Jottacloud cli. jun 25 09:27:15 HPHP jottad[1435]: [1435] creating logger @ /var/lib/jottad/jottabackup.log jun 25 09:27:15 HPHP systemd[1]: jottad.service: Main process exited, code=exited, status=1/FAILURE jun 25 09:27:15 HPHP systemd[1]: jottad.service: Failed with result 'exit-code'. jun 25 09:27:15 HPHP systemd[1]: jottad.service: Service hold-off time over, scheduling restart. jun 25 09:27:15 HPHP systemd[1]: jottad.service: Scheduled restart job, restart counter is at 3. jun 25 09:27:15 HPHP systemd[1]: Stopped Jottacloud cli. jun 25 09:27:15 HPHP systemd[1]: Started Jottacloud cli. jun 25 09:27:15 HPHP jottad[1483]: [1483] creating logger @ /var/lib/jottad/jottabackup.log jun 25 09:27:15 HPHP systemd[1]: jottad.service: Main process exited, code=exited, status=1/FAILURE jun 25 09:27:15 HPHP systemd[1]: jottad.service: Failed with result 'exit-code'. jun 25 09:27:15 HPHP systemd[1]: jottad.service: Service hold-off time over, scheduling restart. jun 25 09:27:15 HPHP systemd[1]: jottad.service: Scheduled restart job, restart counter is at 4. jun 25 09:27:15 HPHP systemd[1]: Stopped Jottacloud cli. jun 25 09:27:15 HPHP systemd[1]: Started Jottacloud cli. jun 25 09:27:15 HPHP jottad[1510]: [1510] creating logger @ /var/lib/jottad/jottabackup.log jun 25 09:27:15 HPHP systemd[1]: jottad.service: Main process exited, code=exited, status=1/FAILURE jun 25 09:27:15 HPHP systemd[1]: jottad.service: Failed with result 'exit-code'. jun 25 09:27:15 HPHP systemd[1]: jottad.service: Service hold-off time over, scheduling restart. jun 25 09:27:15 HPHP systemd[1]: jottad.service: Scheduled restart job, restart counter is at 5. jun 25 09:27:15 HPHP systemd[1]: Stopped Jottacloud cli. jun 25 09:27:15 HPHP systemd[1]: jottad.service: Start request repeated too quickly. jun 25 09:27:15 HPHP systemd[1]: jottad.service: Failed with result 'exit-code'. jun 25 09:27:15 HPHP systemd[1]: Failed to start Jottacloud cli.

Traceback

Additional info: This error happened to me before. The only way to solve it was by completely re-installing Ubuntu 18.04.2 Re-installing jottad gives me that the newest version is already installed. But is still will not start.

Kimbsen commented 5 years ago

There is not a lot that should prevent jottad from starting.

But check if

Any other startup error should be reported in the jottabackup.log file.

Please open a ticket @ support@jottacloud.com and include the logfile and we'll take a look at it.

henkoegema commented 5 years ago

port 14443 is not in use. (checked with: $ sudo lsof -i -P -n | grep LISTEN

drwxr-xr-x 3 jottad jottad 4096 jun 26 09:49 jottad/

jottabackup.log: (only from today)

pid:1241 2019/06/26 09:49:09 Starting /usr/bin/jottad version 0.5.15025 pid:1241 2019/06/26 09:49:09 Started listener on :14443 pid:1241 2019/06/26 09:49:09 Starting with datadir /var/lib/jottad pid:1241 2019/06/26 09:49:09 jauth error ciphertext too short [12] != [12] pid:1241 2019/06/26 09:49:09 ciphertext too short [12] != [12] pid:1345 2019/06/26 09:49:09 Starting /usr/bin/jottad version 0.5.15025 pid:1345 2019/06/26 09:49:09 Started listener on :14443 pid:1345 2019/06/26 09:49:09 Starting with datadir /var/lib/jottad pid:1345 2019/06/26 09:49:09 jauth error ciphertext too short [12] != [12] pid:1345 2019/06/26 09:49:09 ciphertext too short [12] != [12] pid:1420 2019/06/26 09:49:09 Starting /usr/bin/jottad version 0.5.15025 pid:1420 2019/06/26 09:49:09 Started listener on :14443 pid:1420 2019/06/26 09:49:09 Starting with datadir /var/lib/jottad pid:1420 2019/06/26 09:49:09 jauth error ciphertext too short [12] != [12] pid:1420 2019/06/26 09:49:09 ciphertext too short [12] != [12] pid:1452 2019/06/26 09:49:10 Starting /usr/bin/jottad version 0.5.15025 pid:1452 2019/06/26 09:49:10 Started listener on :14443 pid:1452 2019/06/26 09:49:10 Starting with datadir /var/lib/jottad pid:1452 2019/06/26 09:49:10 jauth error ciphertext too short [12] != [12]

roflmao commented 5 years ago

Looks like you have corrupted your jottad database (maybe your filesystem got full etc). This is a known issue and we are working on a fix. Remove everything in /var/lib/jottad/*, restart jottad and relogin.

henkoegema commented 5 years ago

Thanks very much roflmao. ☺ I followed your suggestion (Remove everything in /var/lib/jottad/*, restart jottad and relogin) and now it is working again.

Rgds. Henk

Op wo 26 jun. 2019 om 14:54 schreef roflmao notifications@github.com:

Looks like you have corrupted your jottad database (maybe your filesystem got full etc). This is a known issue and we are working on a fix. Remove everything in /var/lib/jottad/*, restart jottad and relogin.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jotta/jotta-cli-issues/issues/84?email_source=notifications&email_token=ABBKCADNBH4MF6E3SA7MME3P4NRIHA5CNFSM4H3JULCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYTNQFI#issuecomment-505862165, or mute the thread https://github.com/notifications/unsubscribe-auth/ABBKCAEVUZ45U2K44MHVDWLP4NRIHANCNFSM4H3JULCA .

-- Henk Oegema Berkhofweg 24 6741 XS Lunteren The Netherlands

Mobile: +31 6 18633295

http://henk.oegema.com http://henkoegema.ddns.net/

henkoegema commented 5 years ago

As suggested by: roflmao notifications@github.com 14:54 : Looks like you have corrupted your jottad database (maybe your filesystem got full etc). This is a known issue and we are working on a fix. Remove everything in /var/lib/jottad/*, restart jottad and relogin.

This made it working for me again.
Thanks very much.

henkoegema commented 5 years ago

OS: Ubuntu 18.04.03 LTS. What is the right way to completely remove jotta-cli ? (so that I can do a new installation)

I tried to remove jotta-cli. But is it still there.

henkoegema@HPHP:~$ sudo apt-get install jotta-cli Reading package lists... Done Building dependency tree
Reading state information... Done jotta-cli is already the newest version (0.5.15025). 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

henkoegema commented 5 years ago

OS: Ubuntu 18.04.03 LTS. What is the right way to completely remove jotta-cli ? (so that I can do a new installation)

I tried to remove jotta-cli. But is it still there.

henkoegema@HPHP:~$ sudo apt-get install jotta-cli Reading package lists... Done Building dependency tree Reading state information... Done jotta-cli is already the newest version (0.5.15025). 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

Noboddy who can help?

henkoegema commented 5 years ago

After an update of Ubuntu 18.04.3 today (04-09-22019) suddenly jotta-cli started working again. :-)

ziziz commented 3 years ago

Looks like you have corrupted your jottad database (maybe your filesystem got full etc). This is a known issue and we are working on a fix. Remove everything in /var/lib/jottad/*, restart jottad and relogin.

What would be the equivalent windows dir?

Kimbsen commented 3 years ago

If you are using the msi installer on windows jottad runs as a localsystem service. The jottad appdata folder is in that users HOME C:\Windows\System32\config\systemprofile\.jottad

dedsecorg commented 2 years ago

OS: Ubuntu 18.04.03 LTS. What is the right way to completely remove jotta-cli ? (so that I can do a new installation)

I tried to remove jotta-cli. But is it still there.

henkoegema@HPHP:~$ sudo apt-get install jotta-cli Reading package lists... Done Building dependency tree Reading state information... Done jotta-cli is already the newest version (0.5.15025). 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

sudo apt-get remove --purge jotta-cli -y && sudo apt-get autoremove -y && apt-get clean -y && apt-get update && apt-get install jotta-cli Oneliner to fix it maybe? xD Your problem tho xDD