# synthing relay 1.15.0 update crashes on ubuntu 20 server

**URL:** https://forum.syncthing.net/t/synthing-relay-1-15-0-update-crashes-on-ubuntu-20-server/16630
**Category:** Support
**Created:** [April 8, 2021, 6:16am UTC](https://forum.syncthing.net/t/synthing-relay-1-15-0-update-crashes-on-ubuntu-20-server/16630 "2021-04-08T06:16:46Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![rf007](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/r/76d3ee/32.png) [@rf007](https://forum.syncthing.net/u/rf007)
#### Post date: [April 8, 2021, 6:16am UTC](https://forum.syncthing.net/t/synthing-relay-1-15-0-update-crashes-on-ubuntu-20-server/16630/1 "2021-04-08T06:16:46Z")

</div>

I used syncthing official PPA to install syncthing relay, today’s update of version 1.15.0 fails with this error on Ubuntu 20.04.2 LTS.

Error:

```
Setting up syncthing-relaysrv (1.15.0) ...
/var/lib/dpkg/info/syncthing-relaysrv.postinst: 11: Syntax error: "else" unexpected
dpkg: error processing package syncthing-relaysrv (--configure):
 installed syncthing-relaysrv package post-installation script subprocess returned error exit status 2
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for ufw (0.36-6) ...
Rules updated for profile 'syncthing'
Skipped reloading firewall
Errors were encountered while processing:
 syncthing-relaysrv
E: Sub-process /usr/bin/dpkg returned an error code (1)

```

---

<div class="post-metadata">

### Author: ![Andy](https://forum.syncthing.net/user_avatar/forum.syncthing.net/andy/32/7128_2.png) [@Andy](https://forum.syncthing.net/u/Andy)
#### Post date: [April 8, 2021, 6:49am UTC](https://forum.syncthing.net/t/synthing-relay-1-15-0-update-crashes-on-ubuntu-20-server/16630/2 "2021-04-08T06:49:04Z")

</div>

Maybe it would be good to update to v1.15.1 first.

I have no server devices but some desktop devices with Linux Mint 20.1 Ulyssa, based on Ubuntu, I dont know, if make any difference. On all that devices the current version is running smoothly.

---

<div class="post-metadata">

### Author: ![rf007](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/r/76d3ee/32.png) [@rf007](https://forum.syncthing.net/u/rf007)
#### Post date: [April 8, 2021, 7:17am UTC](https://forum.syncthing.net/t/synthing-relay-1-15-0-update-crashes-on-ubuntu-20-server/16630/3 "2021-04-08T07:17:22Z")

</div>

How do I update to v1.15.1?

---

<div class="post-metadata">

### Author: ![bt90](https://forum.syncthing.net/user_avatar/forum.syncthing.net/bt90/32/18565_2.png) [@bt90](https://forum.syncthing.net/u/bt90)
#### Post date: [April 8, 2021, 7:34am UTC](https://forum.syncthing.net/t/synthing-relay-1-15-0-update-crashes-on-ubuntu-20-server/16630/4 "2021-04-08T07:34:05Z")

</div>

> <https://github.com/syncthing/syncthing/issues/7548>
>
> Versions: Upgrading the to the latest release (from candidate to stable) on ARM
> What happened: The dist-upgrade fails with an error in...

---

<div class="post-metadata">

### Author: ![Andy](https://forum.syncthing.net/user_avatar/forum.syncthing.net/andy/32/7128_2.png) [@Andy](https://forum.syncthing.net/u/Andy)
#### Post date: [April 8, 2021, 8:16am UTC](https://forum.syncthing.net/t/synthing-relay-1-15-0-update-crashes-on-ubuntu-20-server/16630/5 "2021-04-08T08:16:48Z")

</div>

I use the Linux Mint APP “Updatemanagement” and alternate on the terminal the sequence

`sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade && sudo apt-get install -f`

But this sequence is not specific for Syncthing, is used for the whole system. I install regarding the description from the Syncthing instruction

[https://syncthing.net/downloads/#Debian](https://syncthing.net/downloads/#Debian)

and maybe you used a different way and the above update sequence maybe is not working.

---

<div class="post-metadata">

### Author: ![rf007](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/r/76d3ee/32.png) [@rf007](https://forum.syncthing.net/u/rf007)
#### Post date: [April 8, 2021, 8:29am UTC](https://forum.syncthing.net/t/synthing-relay-1-15-0-update-crashes-on-ubuntu-20-server/16630/6 "2021-04-08T08:29:01Z")

</div>

I am not taking about syncthing but syncthing relay server. Both are different. But thanks anyways 🙂

---

<div class="post-metadata">

### Author: ![rf007](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/r/76d3ee/32.png) [@rf007](https://forum.syncthing.net/u/rf007)
#### Post date: [April 8, 2021, 8:30am UTC](https://forum.syncthing.net/t/synthing-relay-1-15-0-update-crashes-on-ubuntu-20-server/16630/7 "2021-04-08T08:30:32Z")

</div>

This is a open bug on github as shown by previous comment. I guess I’ll have to wait for the fix.

---

<div class="post-metadata">

### Author: ![Andy](https://forum.syncthing.net/user_avatar/forum.syncthing.net/andy/32/7128_2.png) [@Andy](https://forum.syncthing.net/u/Andy)
#### Post date: [April 8, 2021, 8:30am UTC](https://forum.syncthing.net/t/synthing-relay-1-15-0-update-crashes-on-ubuntu-20-server/16630/8 "2021-04-08T08:30:58Z")

</div>

> [@rf007](#):
>
> syncthing relay

😱 🧐

---

<div class="post-metadata">

### Author: ![rf007](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/r/76d3ee/32.png) [@rf007](https://forum.syncthing.net/u/rf007)
#### Post date: [April 8, 2021, 9:00am UTC](https://forum.syncthing.net/t/synthing-relay-1-15-0-update-crashes-on-ubuntu-20-server/16630/9 "2021-04-08T09:00:48Z")

</div>

[This fix worked](https://github.com/syncthing/syncthing/issues/7548#issuecomment-815584679)

---

<div class="post-metadata">

### Author: ![system](https://forum-uploads.syncthingcdn.net/original/2X/0/0b50e0a202b22ae6a67190759e8c868805b8ed9f.png) [@system](https://forum.syncthing.net/u/system)
#### Post date: [May 8, 2021, 9:01am UTC](https://forum.syncthing.net/t/synthing-relay-1-15-0-update-crashes-on-ubuntu-20-server/16630/10 "2021-05-08T09:01:38Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
