Closed ratnose closed 3 years ago
It does look like you ran
jotta-cli add /mnt/storage/backup/2019-08-01.tar.gz
and not
jotta-cli archive /mnt/storage/backup/2019-08-01.tar.gz
.
The jotta-cli add
should have failed, but i just tested it locally and it seems it go through and produces the same incorrect state you see from the error messages in the logfile.
I'll get that fixed for the next version.
To resolve the incorrect state just run
jotta-cli rem /mnt/storage/backup/2019-08-01.tar.gz
and then to upload the tar archive:
jotta-cli archive /mnt/storage/backup/2019-08-01.tar.gz
I actually did both. Great to hear - how long sprints or release schedules you got?
This is kinda embarrassing... I now know why the upload restarted. The first thing that happens is a checksum run, and that I misread as an upload since it displays MiB/s. And fo course this should not be visible on the web, but the strange thing is that it isn't visible in the log either.
Now the checksum has run it course and the upload has started, for real this time, still no log entry about it. On the web the device has been created under archive. So something is working.
And I am checking this log /var/lib/jottad/jottabackup.log, since the one in my home is none existent.
Also no mention is Jotta-cli status about the running archiving-process.
I will let run it course today and see what happens, and report in when ever I have the possibility. At the current upload speed of around 10 Mb/s it will take at least 11 hours to complete. Not that I care just so don't hold your breath during the day. :)
Soon 50% in, all is going well, nothing in status, ever two hours I got this in the log: pid:1073 2019/08/03 13:20:44 GET https://repo.jotta.us/archives/VERSION 200
200 is good so I guess that means something about archiving doing it's thing?
The url you mentioned is just jottad checking if there is a new version of jottacli.
There should be nothing in the log regarding the archive operation unless something fails.
You should see the archive progress in the terminal you are running jotta-cli from.
Closing as I'm assuming there were no further issues (let us know if there were!)
Make sure you are running the latest version of jotta-cli before reporting an issue.
jotta-cli release (
jotta-cli version
): 0.5.15025Description of problem: Completing a jotta-cli archive on a tar-ball doesn't make it appear on the webpage. When it completed the upload restarted.
Expected: After completion travail visible on webpage.
jotta-cli status (
jotta-cli status
):Relevant logs for the issue (
cat ~/.jottad/jottabackup.log
)