I tried deleting duplicati to reinstall but to no success, now I get this error (Failed to connect: missing-folder) the tutorial on uninstalling on ubuntu didnt work
Yes, there was a problem, thereās a guide on this site though but it didnāt work. Do you know how to reinstall with ubuntu? I got the error message when trying to configure a backup.
How complete a delete are you trying? Just the installed program, all configuration, all backups, etc?
Completely remove duplicati is one guess at what you did, but I need you to say what you want to do.
Please describe.
If you have a title or URL, please post. If not, what did you do?
Did you see uninstall not work, or was all OK until:
I see three problem descriptions, quoted below. Is this one problem or many? Please say what you can.
āuninstalling on ubuntu didnt workā
āWont let me reinstallā
ātrying to configure a backupā
On that last one, the forum has no prior reports of
when trying to configure a backup. GitHub has one on Amazon Cloud Drive (now gone), described as
"it asks me to create the folder. I say yes and I always get the error āFailed to connect: missing-folderā
is above like what you did and got? If so, what storage type is the destination? If not, what did you do?
No, itās not like that, the main issue is the reinstall, Iāve had duplicati for a few days and itās now messed up, I deleted it, deleted the updates file and tried to reinstall but it didnāt work.
How did it fail? If it didnāt work at the reinstall step, you could never have gotten to configure a backup.
So Iām guessing you have no backups of value, and wish to start over, but I donāt know, so canāt guide.
I wonder if you installed 2.0.5.1 just before 2.0.6.1 came out?
I configured a backup but have no backups of value, I followed this guide Use Duplicati to Back Up Files on Debian, Ubuntu, Linux Mint
I ran all the commands and when it came to reinstall, NOPE not working.2.0.5.1-1_all.deb is the version, yes.
How so? What action did it fail on? How did it fail? How did you manage to get it up to configure anyway?
I got no fail message til I tried to install again and it didnt work since itās already there, I reinstalled because it was being glitchy
Something like the below? The line is what the guide calls for.
$ sudo apt install ./duplicati_2.0.5.1-1_all.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'duplicati' instead of './duplicati_2.0.5.1-1_all.deb'
duplicati is already the newest version (2.0.5.1-1).
Iād like to know what āglitchyā means. Itās quite possible itās not an install issue, but one thing at a timeā¦
Rn its broken anyway because I tried to reinstall, yes, thatās what it shows when I try install after deleting everything
Do you recall how you deleted everything, or have a web page? You spoke earlier of something in forum?
Doing dpkg -r duplicati
as root uninstalled duplicati here. If not root, you must run it under sudo
.
After remove, sudo apt install ./duplicati_2.0.5.1-1_all.deb
ran. Can you retry remove?
One sign of removal is that /usr/lib/duplicati empties out and vanishes. That was the base install
.
after running, I get this Download is performed unsandboxed as root as file ā/root/duplicati_2.0.5.1-1_all.debā couldnāt be accessed by user ā_aptā. - pkgAcquire::Run (13: Permission denied)
even with root or sudo
After running what? That looks like apt
. Did the dpkg
removal work, then apt install
failed that way?
I am not an expert in apt
errors, but see Download performed unsandboxed for a possible explanation.
That post says that itās just a warning. Did you find dpkg removed /usr/lib/duplicati, then apt put it back?
Regardless, Iām not seeing the error, but maybe itās a different Ubuntu. Iām testing this on Xubuntu 20.10.
EDIT:
If analysis at that link is right, your directory and file permissions donāt let all readers in. ls -ld
will help.
Maybe you can avoid the warning by moving the file to be installed to a very open directory, maybe /tmp.
I got past this and now the new error is when I run systemctl status duplicati
at Duplicati.Server.Database.ServerSettings.SaveSettings () [0x00030] in <87f95256fc6a4c3ea353de8d2a> at Duplicati.Server.Database.ServerSettings.set_LastUpdateCheck (System.DateTime value) [0x00049] in> at Duplicati.Server.UpdatePollThread.Run () [0x000eb] in <87f95256fc6a4c3ea353de8d2aacf89b>:0
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00017] in <12b418a7818> at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext> at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System> at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System> at System.Threading.ThreadHelper.ThreadStart () [0x0000b] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
duplicati.service: Main process exited, code=exited, status=1/FAILURE
duplicati.service: Failed with result āexit-codeā.
Unless you actually started Duplicati, it might be the old error. The command shows previous logs, e.g.:
$ sudo systemctl status duplicati
ā duplicati.service - Duplicati web-server
Loaded: loaded (/lib/systemd/system/duplicati.service; disabled; vendor preset: enabled)
Active: inactive (dead)
May 10 16:46:47 my-VirtualBox systemd[1]: Started Duplicati web-server.
May 10 16:52:20 my-VirtualBox systemd[1]: Stopping Duplicati web-server...
May 10 16:52:20 my-VirtualBox systemd[1]: duplicati.service: Killing process 92471 (Timer-Scheduler) with signal SIGKILL.
May 10 16:52:20 my-VirtualBox systemd[1]: duplicati.service: Succeeded.
May 10 16:52:20 my-VirtualBox systemd[1]: Stopped Duplicati web-server.
Reference: What does systemctl with status command? [closed]
How about you try getting more of the log with timestamps, maybe
$ journalctl --unit=duplicati.service
-- Logs begin at Mon 2021-01-18 19:31:26 EST, end at Mon 2021-05-10 16:52:34 EDT. --
May 10 16:46:47 my-VirtualBox systemd[1]: Started Duplicati web-server.
May 10 16:52:20 my-VirtualBox systemd[1]: Stopping Duplicati web-server...
May 10 16:52:20 my-VirtualBox systemd[1]: duplicati.service: Killing process 92471 (Timer-Scheduler) with signal SIGKILL.
May 10 16:52:20 my-VirtualBox systemd[1]: duplicati.service: Succeeded.
May 10 16:52:20 my-VirtualBox systemd[1]: Stopped Duplicati web-server.
partly because the default 10 lines of status output from the log have chopped off the actual error ending.
Still, I see some things in the visible lines that I canāt find reported in the Duplicati forum or GitHub before.
What Ubuntu version is this?
What does running mono --version
say? It must say at least 5 for Duplicati 2.0.5.1, 2.0.6.1 needs 5.10.
6.8.0.105
Ubuntu 20.04
When trying to start I get Failed to start duplicati.service: Unit duplicati.service not found.
But thats what it said in status.