# After last update duplicati doesn't work anymore

**URL:** https://forum.duplicati.com/t/after-last-update-duplicati-doesnt-work-anymore/8369
**Category:** Support
**Created:** [November 1, 2019, 6:45pm UTC](https://forum.duplicati.com/t/after-last-update-duplicati-doesnt-work-anymore/8369 "2019-11-01T18:45:06Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![dodys](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/d/fbc32d/32.png) [@dodys](https://forum.duplicati.com/u/dodys)
#### Post date: [November 1, 2019, 6:45pm UTC](https://forum.duplicati.com/t/after-last-update-duplicati-doesnt-work-anymore/8369/1 "2019-11-01T18:45:06Z")

</div>

Hey,

I am running duplicati on Arch Linux. The current installed version from the repo is:

```
aur/duplicati-latest 2.0.4.32-1 [installed]

```

Usually I start duplicati via systemd service, here is my duplicati service:

```
[Unit]
Description=Duplicati

[Service]
ExecStartPre=/usr/bin/sleep 5
ExecStart=/usr/bin/mono /opt/duplicati-latest/Duplicati.GUI.TrayIcon.exe --webservice-port=8200
Restart=on-abort
Environment=AUTOUPDATER_Duplicati_SKIP_UPDATE=1

[Install]
WantedBy=default.target

```

And I run it as a user service:

```
systemctl start duplicati.service --user

```

I am getting the following error from journalctl log:

```
Unexpected error: System.ArgumentNullException: Value cannot be null.
Parameter name: s
  at System.Convert.FromBase64String (System.String s) [0x00003] in <4f52a2659e1844fea7ab38854dcbcf68>:0 
  at Duplicati.GUI.TrayIcon.HttpServerConnection.GetAuthToken () [0x00094] in <4e95f350085143d1b0f674e30796dbcc>:0 
  at Duplicati.GUI.TrayIcon.HttpServerConnection.PerformRequest[T] (System.String method, System.String urlfragment, System.Collections.Generic.Dictionary`2[TKey,TValue] queryparams) [0x001ae] in <4e95f350085143d1b0f674e30796dbcc>:0 
  at Duplicati.GUI.TrayIcon.HttpServerConnection.UpdateStatus () [0x00001] in <4e95f350085143d1b0f674e30796dbcc>:0 
  at Duplicati.GUI.TrayIcon.HttpServerConnection..ctor (System.Uri server, System.String password, System.Boolean saltedpassword, Duplicati.GUI.TrayIcon.Program+PasswordSource passwordSource, System.Boolean disableTrayIconLogin, System.Collections.Generic.Dictionary`2[TKey,TValue] options) [0x000cb] in <4e95f350085143d1b0f674e30796dbcc>:0 
  at Duplicati.GUI.TrayIcon.Program.StartTray (System.String[] _args, System.Collections.Generic.Dictionary`2[TKey,TValue] options, System.String toolkit, Duplicati.GUI.TrayIcon.HostedInstanceKeeper hosted, System.String password, System.Boolean saltedpassword) [0x00024] in <4e95f350085143d1b0f674e30796dbcc>:0 

```

So the tray icon doesn’t show up and I also cannot access the webpage through  
[http://localhost:8200/ngax/index.html](http://localhost:8200/ngax/index.html)

How can I get duplicati back running?

Thanks in advance

---

<div class="post-metadata">

### Author: ![shalmirane](https://forum.duplicati.com/user_avatar/forum.duplicati.com/shalmirane/32/3202_2.png) [@shalmirane](https://forum.duplicati.com/u/shalmirane)
#### Post date: [November 3, 2019, 5:03pm UTC](https://forum.duplicati.com/t/after-last-update-duplicati-doesnt-work-anymore/8369/2 "2019-11-03T17:03:55Z")

</div>

I got simillar issue in windows 10 since 2.0.4.32 (and 2.0.4.33 didn’t solved it) when app doesn’t start at all and in my case doesn’t even leave any crashlog.

What’s worse, downgrading to 2.0.4.30 which worked (by renaming 2.0.4.33 update folder), doesn’t help as the database get’s upgraded to version 10, which this one is refuses to use. So not only web interface is dead, but backups themselves…

---

<div class="post-metadata">

### Author: ![kenkendk](https://forum.duplicati.com/user_avatar/forum.duplicati.com/kenkendk/32/5305_2.png) [@kenkendk](https://forum.duplicati.com/u/kenkendk)
#### Post date: [November 4, 2019, 8:49am UTC](https://forum.duplicati.com/t/after-last-update-duplicati-doesnt-work-anymore/8369/3 "2019-11-04T08:49:47Z")

</div>

The stack trace indicates that it has something to do with the password being empty.

The code is here:

> <https://github.com/duplicati/duplicati/blob/99d0cb3c57b309f02672e22989d58d1058a16d4c/Duplicati/GUI/Duplicati.GUI.TrayIcon/HttpServerConnection.cs#L292-L318>

There are a two calls to `FromBase64String` in that method, and they both relate to the data returned from `GetSaltAndNonce()`.

I cannot think of any changes since `2.0.4.30` that would cause this.

What happens if you run the server manually, like:

```
/usr/bin/mono /opt/duplicati-latest/Duplicati.Server.exe --webservice-port=8200

```

And try to open `http://localhost:8200` in a browser?

---

<div class="post-metadata">

### Author: ![dodys](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/d/fbc32d/32.png) [@dodys](https://forum.duplicati.com/u/dodys)
#### Post date: [November 4, 2019, 12:57pm UTC](https://forum.duplicati.com/t/after-last-update-duplicati-doesnt-work-anymore/8369/4 "2019-11-04T12:57:06Z")

</div>

Already tried running like you mentioned, and the error message is the same.  
I am not sure from where it tries to retrieve the password.  
I also tried to invoke passing the --webservice-password=“PASS” and got the same error.

---

<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: [November 4, 2019, 1:27pm UTC](https://forum.duplicati.com/t/after-last-update-duplicati-doesnt-work-anymore/8369/5 "2019-11-04T13:27:23Z")

</div>

[Windows 10 v1903: Tray app does not launch from Start Menu link after update to v2.0.4.32-2.0.4.32\_canary\_2019-10-24 #3968](https://github.com/duplicati/duplicati/issues/3968) are some other reports where the particulars are vague. There’s a rather long list of things to look at to try to find out what’s going on and why only some see it.

> [@shalmirane](#):
>
> So not only web interface is dead, but backups themselves…

Next to your databases should be a backup of the database, with a timestamp and (more recently) the randomly-generated name that it goes with. These are taken when a DB is upgraded, to allow reverts. There will obviously be a greater and greater mismatch between DB and destination, so revert quickly.

---

<div class="post-metadata">

### Author: ![shalmirane](https://forum.duplicati.com/user_avatar/forum.duplicati.com/shalmirane/32/3202_2.png) [@shalmirane](https://forum.duplicati.com/u/shalmirane)
#### Post date: [November 4, 2019, 11:08pm UTC](https://forum.duplicati.com/t/after-last-update-duplicati-doesnt-work-anymore/8369/6 "2019-11-04T23:08:32Z")

</div>

I would love to provide more logs, but there seems none to be generated. When I downgrade to v.28 and replace back the databases, application launches correctly and when commanded to backup, starts to verify only to die moment later when trying to repair DB. Note that only process locking that DB is duplicati process itself (as reported by process explorer, when I queried DB name)…

Stored log says:

> System.IO.IOException: The process cannot access the file because it is being used by another process.  
> at [System.IO](http://System.IO).\_\_Error.WinIOError(Int32 errorCode, String maybeFullPath)  
> at System.IO.File.InternalMove(String sourceFileName, String destFileName, Boolean checkHost)  
> at Duplicati.Library.Main.Operation.RepairHandler.Run(IFilter filter)  
> at Duplicati.Library.Main.Operation.BackupHandler.PreBackupVerify(BackendManager backend, String protectedfile)  
> at Duplicati.Library.Main.Operation.BackupHandler.d\_\_19.MoveNext()  
> — End of stack trace from previous location where exception was thrown —  
> at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()  
> at CoCoL.ChannelExtensions.WaitForTaskOrThrow(Task task)  
> at Duplicati.Library.Main.Controller.\<\>c\_\_DisplayClass13\_0.b\_\_0(BackupResults result)  
> at Duplicati.Library.Main.Controller.RunAction[T](T result, String& paths, IFilter& filter, Action`1 method)  
> at Duplicati.Library.Main.Controller.Backup(String inputsources, IFilter filter)  
> at Duplicati.Server.Runner.Run(IRunnerData data, Boolean fromQueue)

Live Verbose log says:

 ![image](https://forum.duplicati.com/uploads/default/original/2X/c/c2ca722f7f7e5843b57a50c6fdcf83a3e4c4e578.png)  
 ![image](https://forum.duplicati.com/uploads/default/original/2X/6/6bf56e7f79ac6a581c13f9a0811a3093fdf603cd.png)

Backup’s logs says nothing about current backup attempt - contains only the last sucessfull.

---

<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: [November 5, 2019, 2:55am UTC](https://forum.duplicati.com/t/after-last-update-duplicati-doesnt-work-anymore/8369/7 "2019-11-05T02:55:36Z")

</div>

> [@kenkendk](#):
>
> There are a two calls to `FromBase64String` in that method, and they both relate to the data returned from `GetSaltAndNonce()` .
> 
> I cannot think of any changes since `2.0.4.30` that would cause this.

My testing found that GUI password is key. Removal is a workaround. 2.0.4.31 works. 2.0.4.32 exits early. At a network level, 2.0.4.31 submits password, while 2.0.4.32 ends earlier after getting nonce.  
[Mark fields that don’t need to be reassigned as readonly.](https://github.com/duplicati/duplicati/commit/2aa76881a51ce91762f7caabcc114434647532c2#diff-5c7b6cbaf34405769b9b49762a1a8c42) changed GetSaltAndNonce in 2.0.4.32 but whether or not some tool might have declared change safe when is wasn’t totally safe is not known.

---

<div class="post-metadata">

### Author: ![warwickmm](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/w/5e9695/32.png) [@warwickmm](https://forum.duplicati.com/u/warwickmm)
#### Post date: [November 5, 2019, 3:20am UTC](https://forum.duplicati.com/t/after-last-update-duplicati-doesnt-work-anymore/8369/8 "2019-11-05T03:20:32Z")

</div>

Marking the fields of the `SaltAndNonce` class `readonly` is the problem. This prevented startup when a password was set for the UI. Unfortunately, the automatic refactoring could not detect that these fields were potentially set by a deserializer (I think it should have been able to detect this since `SaltAndNonce` is explicitly used as the generic type parameter in the call to `Serializer.Deserialize`, but apparently it could not).

Pull request to revert this is here:

> <https://github.com/duplicati/duplicati/pull/3978>

@kenkendk, sorry for the trouble, but this might call for another canary release to get this fix out?

---

<div class="post-metadata">

### Author: ![kenkendk](https://forum.duplicati.com/user_avatar/forum.duplicati.com/kenkendk/32/5305_2.png) [@kenkendk](https://forum.duplicati.com/u/kenkendk)
#### Post date: [November 5, 2019, 7:51am UTC](https://forum.duplicati.com/t/after-last-update-duplicati-doesnt-work-anymore/8369/9 "2019-11-05T07:51:46Z")

</div>

> [@warwickmm](#):
>
> the automatic refactoring could not detect that these fields were potentially set by a deserializer (I think it should have been able to detect this since `SaltAndNonce` is explicitly used as the generic type parameter in the call to `Serializer.Deserialize` , but apparently it could not).

Good catch!

> [@warwickmm](#):
>
> @kenkendk, sorry for the trouble, but this might call for another canary release to get this fix out?

Agreed! I can try my new macOS notarization+staple code then 🙂

---

<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: [November 5, 2019, 2:30pm UTC](https://forum.duplicati.com/t/after-last-update-duplicati-doesnt-work-anymore/8369/10 "2019-11-05T14:30:24Z")

</div>

[Release: 2.0.4.34 (canary) 2019-11-05](https://forum.duplicati.com/t/release-2-0-4-34-canary-2019-11-05/8381) is available to try, for those who were seeing the bug below

> - Fixed failure on password-protected servers introduced in 2.0.4.32, thanks @warwickmm

---

<div class="post-metadata">

### Author: ![goobs](https://forum.duplicati.com/user_avatar/forum.duplicati.com/goobs/32/3639_2.png) [@goobs](https://forum.duplicati.com/u/goobs)
#### Post date: [November 5, 2019, 4:37pm UTC](https://forum.duplicati.com/t/after-last-update-duplicati-doesnt-work-anymore/8369/11 "2019-11-05T16:37:03Z")

</div>

Working here for me.  
Just ran an incremental too.  
I had a password set and tried the icon with and without automatic logon, both work.  
Thanks!

---

<div class="post-metadata">

### Author: ![shalmirane](https://forum.duplicati.com/user_avatar/forum.duplicati.com/shalmirane/32/3202_2.png) [@shalmirane](https://forum.duplicati.com/u/shalmirane)
#### Post date: [November 5, 2019, 10:02pm UTC](https://forum.duplicati.com/t/after-last-update-duplicati-doesnt-work-anymore/8369/12 "2019-11-05T22:02:52Z")

</div>

After updating to v34 application starts and works, but I wasn’t able to continue in using that backups. Fortunately this machine was the only one updated and contains below 1TB of data where I usually do not need history, so it should be ok to just redo them.

What ceased to work however is 1Password password manager I use, so I can use really strong passwords. It no longer autofills password, I have to open main app, find duplicati password setting and copy it using clipboard. Probably new method is too safe 🙂
