# Wont let me reinstall

**URL:** https://forum.duplicati.com/t/wont-let-me-reinstall/12369
**Category:** Support
**Created:** [May 9, 2021, 3:17pm UTC](https://forum.duplicati.com/t/wont-let-me-reinstall/12369 "2021-05-09T15:17:11Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![the1](https://forum.duplicati.com/user_avatar/forum.duplicati.com/the1/32/5754_2.png) [@the1](https://forum.duplicati.com/u/the1)
#### Post date: [May 9, 2021, 3:17pm UTC](https://forum.duplicati.com/t/wont-let-me-reinstall/12369/1 "2021-05-09T15:17:12Z")

</div>

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

---

<div class="post-metadata">

### Author: ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)
#### Post date: [May 9, 2021, 9:19pm UTC](https://forum.duplicati.com/t/wont-let-me-reinstall/12369/2 "2021-05-09T21:19:31Z")

</div>

Welcome to the forum @the1

> [@the1](#):
>
> I tried deleting duplicati to reinstall

Why? Was there a problem?

> [@the1](#):
>
> now I get this error (Failed to connect: missing-folder)

When and where?

> [@the1](#):
>
> the tutorial on uninstalling on ubuntu

Where?

---

<div class="post-metadata">

### Author: ![the1](https://forum.duplicati.com/user_avatar/forum.duplicati.com/the1/32/5754_2.png) [@the1](https://forum.duplicati.com/u/the1)
#### Post date: [May 10, 2021, 6:17am UTC](https://forum.duplicati.com/t/wont-let-me-reinstall/12369/3 "2021-05-10T06:17:19Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)
#### Post date: [May 10, 2021, 11:56am UTC](https://forum.duplicati.com/t/wont-let-me-reinstall/12369/4 "2021-05-10T11:56:39Z")

</div>

> [@the1](#):
>
> I tried deleting duplicati

How complete a delete are you trying? Just the installed program, all configuration, all backups, etc?

[Completely remove duplicati](https://forum.duplicati.com/t/completely-remove-duplicati/3586) is one guess at what you did, but I need you to say what you want to do.

> [@the1](#):
>
> Yes, there was a problem

Please describe.

> [@the1](#):
>
> there’s a guide on this site

If you have a title or URL, please post. If not, what did you do?

> [@the1](#):
>
> the tutorial on uninstalling on ubuntu didnt work

Did you see uninstall not work, or was all OK until:

> [@the1](#):
>
> I got the error message when trying to configure a backup.

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

> [@the1](#):
>
> Failed to connect: missing-folder

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?

---

<div class="post-metadata">

### Author: ![the1](https://forum.duplicati.com/user_avatar/forum.duplicati.com/the1/32/5754_2.png) [@the1](https://forum.duplicati.com/u/the1)
#### Post date: [May 10, 2021, 5:36pm UTC](https://forum.duplicati.com/t/wont-let-me-reinstall/12369/5 "2021-05-10T17:36:07Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)
#### Post date: [May 10, 2021, 5:48pm UTC](https://forum.duplicati.com/t/wont-let-me-reinstall/12369/6 "2021-05-10T17:48:25Z")

</div>

> [@the1](#):
>
> 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.

> [@the1](#):
>
> I’ve had duplicati for a few days

So I’m guessing you have no backups of value, and wish to start over, but I don’t know, so can’t guide.

> [@the1](#):
>
> deleted the updates file

I wonder if you installed 2.0.5.1 just before 2.0.6.1 came out?

---

<div class="post-metadata">

### Author: ![the1](https://forum.duplicati.com/user_avatar/forum.duplicati.com/the1/32/5754_2.png) [@the1](https://forum.duplicati.com/u/the1)
#### Post date: [May 10, 2021, 5:50pm UTC](https://forum.duplicati.com/t/wont-let-me-reinstall/12369/7 "2021-05-10T17:50:47Z")

</div>

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](https://www.linuxbabe.com/backup/duplicati-debian-ubuntu-linux-mint-desktop-server)  
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.

---

<div class="post-metadata">

### Author: ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)
#### Post date: [May 10, 2021, 5:56pm UTC](https://forum.duplicati.com/t/wont-let-me-reinstall/12369/8 "2021-05-10T17:56:09Z")

</div>

> [@the1](#):
>
> NOPE not working

How so? What action did it fail on? How did it fail? How did you manage to get it up to configure anyway?

---

<div class="post-metadata">

### Author: ![the1](https://forum.duplicati.com/user_avatar/forum.duplicati.com/the1/32/5754_2.png) [@the1](https://forum.duplicati.com/u/the1)
#### Post date: [May 10, 2021, 5:57pm UTC](https://forum.duplicati.com/t/wont-let-me-reinstall/12369/9 "2021-05-10T17:57:48Z")

</div>

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

---

<div class="post-metadata">

### Author: ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)
#### Post date: [May 10, 2021, 6:25pm UTC](https://forum.duplicati.com/t/wont-let-me-reinstall/12369/10 "2021-05-10T18:25:56Z")

</div>

> [@the1](#):
>
> it didnt work since it’s already there

Something like the below? The line is what the guide calls for.

```plaintext
$ 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).

```

> [@the1](#):
>
> I reinstalled because it was being glitchy

I’d like to know what “glitchy” means. It’s quite possible it’s not an install issue, but one thing at a time…

---

<div class="post-metadata">

### Author: ![the1](https://forum.duplicati.com/user_avatar/forum.duplicati.com/the1/32/5754_2.png) [@the1](https://forum.duplicati.com/u/the1)
#### Post date: [May 10, 2021, 6:28pm UTC](https://forum.duplicati.com/t/wont-let-me-reinstall/12369/11 "2021-05-10T18:28:12Z")

</div>

Rn its broken anyway because I tried to reinstall, yes, that’s what it shows when I try install after deleting everything

---

<div class="post-metadata">

### Author: ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)
#### Post date: [May 10, 2021, 6:31pm UTC](https://forum.duplicati.com/t/wont-let-me-reinstall/12369/12 "2021-05-10T18:31:19Z")

</div>

> [@the1](#):
>
> after deleting everything

Do you recall how you deleted everything, or have a web page? You spoke earlier of something in forum?

---

<div class="post-metadata">

### Author: ![the1](https://forum.duplicati.com/user_avatar/forum.duplicati.com/the1/32/5754_2.png) [@the1](https://forum.duplicati.com/u/the1)
#### Post date: [May 10, 2021, 6:33pm UTC](https://forum.duplicati.com/t/wont-let-me-reinstall/12369/13 "2021-05-10T18:33:08Z")

</div>

> [@Completely removing Duplicati for re-install](https://forum.duplicati.com/t/completely-removing-duplicati-for-re-install/3776):
>
> Hi there, I’ve been having some problems with the duplicati Canary build 2.0.3.6 on an Ubuntu 16.04.3 LTS system and I want to go back to 2.0.3.3. I have stopped the service: systemctl stop dupliati Then removed the package: dpkg -r duplicati I then install the “older” package: dpkg -i duplicati\_2.0.3.3-1\_all.deb All seems well, however when I log into the Web UI, and go to the About page, I see that I am still on version 2.0.3.6. This version was installed through an automatic update, a…

---

<div class="post-metadata">

### Author: ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)
#### Post date: [May 10, 2021, 6:42pm UTC](https://forum.duplicati.com/t/wont-let-me-reinstall/12369/14 "2021-05-10T18:42:10Z")

</div>

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`.

---

<div class="post-metadata">

### Author: ![the1](https://forum.duplicati.com/user_avatar/forum.duplicati.com/the1/32/5754_2.png) [@the1](https://forum.duplicati.com/u/the1)
#### Post date: [May 10, 2021, 7:03pm UTC](https://forum.duplicati.com/t/wont-let-me-reinstall/12369/15 "2021-05-10T19:03:57Z")

</div>

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)

---

<div class="post-metadata">

### Author: ![the1](https://forum.duplicati.com/user_avatar/forum.duplicati.com/the1/32/5754_2.png) [@the1](https://forum.duplicati.com/u/the1)
#### Post date: [May 10, 2021, 7:04pm UTC](https://forum.duplicati.com/t/wont-let-me-reinstall/12369/16 "2021-05-10T19:04:05Z")

</div>

even with root or sudo

---

<div class="post-metadata">

### Author: ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)
#### Post date: [May 10, 2021, 7:18pm UTC](https://forum.duplicati.com/t/wont-let-me-reinstall/12369/17 "2021-05-10T19:18:26Z")

</div>

> [@the1](#):
>
> after running

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](https://www.reddit.com/r/linuxquestions/comments/mw84n3/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.

---

<div class="post-metadata">

### Author: ![the1](https://forum.duplicati.com/user_avatar/forum.duplicati.com/the1/32/5754_2.png) [@the1](https://forum.duplicati.com/u/the1)
#### Post date: [May 10, 2021, 8:18pm UTC](https://forum.duplicati.com/t/wont-let-me-reinstall/12369/18 "2021-05-10T20:18:02Z")

</div>

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’.

---

<div class="post-metadata">

### Author: ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)
#### Post date: [May 10, 2021, 9:02pm UTC](https://forum.duplicati.com/t/wont-let-me-reinstall/12369/19 "2021-05-10T21:02:48Z")

</div>

> [@the1](#):
>
> now the new error

Unless you actually started Duplicati, it might be the old error. The command shows previous logs, e.g.:

```plaintext
$ 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]](https://unix.stackexchange.com/questions/295649/what-does-systemctl-with-status-command)

How about you try getting more of the log with timestamps, maybe

```plaintext
$ 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.

---

<div class="post-metadata">

### Author: ![the1](https://forum.duplicati.com/user_avatar/forum.duplicati.com/the1/32/5754_2.png) [@the1](https://forum.duplicati.com/u/the1)
#### Post date: [May 11, 2021, 6:34am UTC](https://forum.duplicati.com/t/wont-let-me-reinstall/12369/20 "2021-05-11T06:34:19Z")

</div>

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.

[Next page](https://forum.duplicati.com/t/wont-let-me-reinstall/12369.md?page=2)
