You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WebDAV requests fail with status "500 Internal Server Error". The log (attached) contains "panic in ServeHTTP: "unaligned 64-bit atomic operation". panic.txt
This seems to be caused by a bug in golang on the armv7l architecture, for example my Raspberry Pi 3. Fixes have been proposed here and here. Some people have worked around it by carefully shuffling field declarations to achieve the required alignment.
I built sftpgo from source code.
$ ./sftpgo -v
SFTPGo 2.1.0-dev-b903a6e-dirty-2021-08-27T20:47:49Z +metrics -azblob -gcs -s3 -bolt -mysql -pgsql +sqlite +portable
$ go version
go version go1.17 linux/arm
$ lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
$ uname -mpisr
Linux 5.4.0-1041-raspi armv7l armv7l armv7l
The text was updated successfully, but these errors were encountered:
WebDAV requests fail with status "500 Internal Server Error". The log (attached) contains "panic in ServeHTTP: "unaligned 64-bit atomic operation".
panic.txt
This seems to be caused by a bug in golang on the armv7l architecture, for example my Raspberry Pi 3. Fixes have been proposed here and here. Some people have worked around it by carefully shuffling field declarations to achieve the required alignment.
I built sftpgo from source code.
$ ./sftpgo -v
SFTPGo 2.1.0-dev-b903a6e-dirty-2021-08-27T20:47:49Z +metrics -azblob -gcs -s3 -bolt -mysql -pgsql +sqlite +portable
$ go version
go version go1.17 linux/arm
$ lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
$ uname -mpisr
Linux 5.4.0-1041-raspi armv7l armv7l armv7l
The text was updated successfully, but these errors were encountered: