Gitea currently does not provide packages for ARMv7, which was commonly used for Raspberry Pi 3. This is not a problem as software compiled for specific ARM instructions set should work on more recent architectures thanks to backward compatibility with earlier ARM processors.
I am using Raspberry Pi 3, which is using the ARM Cortex-A53 processor.
$ cat /proc/device-tree/model Raspberry Pi 3 Model B Plus Rev 1.3
The last ARMv7 version was published when version v1.8.1 was released on May 8. It was not working.
$ ./gitea-1.8.1-linux-arm-7 Bus error
The solution is to use the ARMv6 version as described in Using release binary on armv7 fails with segmentation fault #6700 bug report.
I think this issue can be closed since we don’t build an arm7 specific release anymore (and I think these comments are starting to become confusing/misleading). People should be using the arm6 build as arm is backwards compatible and it works fine on arm7.
<p> Anybody can always build their own if they want, since our issue was that a statically linked build segfaults on arm7 and we only offer statically linked builds — but most people building their own probably aren’t doing that. Also there is no real reason to imo, I don’t think anything in our stack is particularly optimized for the few features added by arm7 and go itself doesn’t even do a build for arm7 just arm6. </p><footer> <cite>mrsdizzie</cite></footer>
It works as expected.
$ ./gitea-1.9.1-linux-arm-6 2019/08/18 10:47:07 ...s/setting/setting.go:529:NewContext() [W] Custom config '/home/milosz/gitea/custom/conf/app.ini' not found, ignore this if you're running first time 2019/08/18 10:47:07 ...dules/setting/git.go:83:newGit() [I] Git Version: 2.11.0 2019/08/18 10:47:07 routers/init.go:72:GlobalInit() [T] AppPath: /home/milosz/gitea/gitea-1.9.1-linux-arm-6 2019/08/18 10:47:07 routers/init.go:73:GlobalInit() [T] AppWorkPath: /home/milosz/gitea 2019/08/18 10:47:07 routers/init.go:74:GlobalInit() [T] Custom path: /home/milosz/gitea/custom 2019/08/18 10:47:07 routers/init.go:75:GlobalInit() [T] Log path: /home/milosz/gitea/log 2019/08/18 10:47:07 ...dules/setting/log.go:226:newLogService() [I] Gitea v1.9.1 built with GNU Make 4.1, go1.12.8 : bindata, sqlite, sqlite_unlock_notify 2019/08/18 10:47:07 ...dules/setting/log.go:269:newLogService() [I] Gitea Log Mode: Console(Console:info) 2019/08/18 10:47:07 ...les/setting/cache.go:42:newCacheService() [I] Cache Service Enabled 2019/08/18 10:47:07 ...s/setting/session.go:45:newSessionService() [I] Session Service Enabled 2019/08/18 10:47:07 routers/init.go:106:GlobalInit() [I] SQLite3 Supported 2019/08/18 10:47:07 routers/init.go:37:checkRunMode() [I] Run Mode: Development 2019/08/18 10:47:09 cmd/web.go:151:runWeb() [I] Listen: http://0.0.0.0:3000 2019/08/18 10:47:09 ...ce/gracehttp/http.go:142:Serve() [I] Serving [::]:3000 with pid 14940 [Macaron] 2019-08-18 10:55:23: Started GET / for 10.16.8.240 [Macaron] 2019-08-18 10:55:24: Completed GET / 200 OK in 459.672564ms [...]