routr icon indicating copy to clipboard operation
routr copied to clipboard

Issue installing in Debian 11 via snap

Open JoseGoncalves opened this issue 2 years ago • 1 comments

After installing it on Debian 11 via command sudo snap install routr-server --candidate the services failed to start:

$ systemctl status snap.routr-server.routr-server.service
● snap.routr-server.routr-server.service - Service for snap application routr-server.routr-server
     Loaded: loaded (/etc/systemd/system/snap.routr-server.routr-server.service; enabled; vendor preset: enabled)
     Active: inactive (dead) since Tue 2022-05-31 12:53:48 WEST; 5min ago
    Process: 1595 ExecStart=/usr/bin/snap run routr-server (code=exited, status=0/SUCCESS)
   Main PID: 1595 (code=exited, status=0/SUCCESS)
        CPU: 485ms

mai 31 12:53:47 st-2 systemd[1]: Started Service for snap application routr-server.routr-server.
mai 31 12:53:48 st-2 routr-server.routr-server[1692]: Error: dl failure on line 894
mai 31 12:53:48 st-2 routr-server.routr-server[1692]: Error: failed /snap/routr-server/28/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so, because /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /snap/routr-server/28/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so)
mai 31 12:53:48 st-2 systemd[1]: snap.routr-server.routr-server.service: Succeeded.
$ systemctl status snap.routr-server.routr-redis.service
● snap.routr-server.routr-redis.service - Service for snap application routr-server.routr-redis
     Loaded: loaded (/etc/systemd/system/snap.routr-server.routr-redis.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Tue 2022-05-31 12:53:49 WEST; 7min ago
    Process: 1748 ExecStart=/usr/bin/snap run routr-server.routr-redis (code=exited, status=1/FAILURE)
   Main PID: 1748 (code=exited, status=1/FAILURE)
        CPU: 89ms

mai 31 12:53:49 st-2 systemd[1]: snap.routr-server.routr-redis.service: Scheduled restart job, restart counter is at 5.
mai 31 12:53:49 st-2 systemd[1]: Stopped Service for snap application routr-server.routr-redis.
mai 31 12:53:49 st-2 systemd[1]: snap.routr-server.routr-redis.service: Start request repeated too quickly.
mai 31 12:53:49 st-2 systemd[1]: snap.routr-server.routr-redis.service: Failed with result 'exit-code'.
mai 31 12:53:49 st-2 systemd[1]: Failed to start Service for snap application routr-server.routr-redis.
$ tail -n12 /var/log/syslog
May 31 12:53:48 st-2 systemd[1]: Started Service for snap application routr-server.routr-redis.
May 31 12:53:49 st-2 routr-server.routr-redis[1748]: /snap/routr-server/28/usr/bin/redis-server: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /snap/routr-server/28/usr/bin/redis-server)
May 31 12:53:49 st-2 routr-server.routr-redis[1748]: /snap/routr-server/28/usr/bin/redis-server: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /snap/routr-server/28/usr/bin/redis-server)
May 31 12:53:49 st-2 routr-server.routr-redis[1748]: /snap/routr-server/28/usr/bin/redis-server: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /snap/routr-server/28/usr/lib/x86_64-linux-gnu/liblua5.1.so.0)
May 31 12:53:49 st-2 routr-server.routr-redis[1748]: /snap/routr-server/28/usr/bin/redis-server: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /snap/routr-server/28/usr/lib/x86_64-linux-gnu/libjemalloc.so.2)
May 31 12:53:49 st-2 systemd[1]: snap.routr-server.routr-redis.service: Main process exited, code=exited, status=1/FAILURE
May 31 12:53:49 st-2 systemd[1]: snap.routr-server.routr-redis.service: Failed with result 'exit-code'.
May 31 12:53:49 st-2 systemd[1]: snap.routr-server.routr-redis.service: Scheduled restart job, restart counter is at 5.
May 31 12:53:49 st-2 systemd[1]: Stopped Service for snap application routr-server.routr-redis.
May 31 12:53:49 st-2 systemd[1]: snap.routr-server.routr-redis.service: Start request repeated too quickly.
May 31 12:53:49 st-2 systemd[1]: snap.routr-server.routr-redis.service: Failed with result 'exit-code'.
May 31 12:53:49 st-2 systemd[1]: Failed to start Service for snap application routr-server.routr-redis.

JoseGoncalves avatar May 31 '22 12:05 JoseGoncalves

The version in snap beta channel (1.0.0-rc5) starts correctly in Debian 11.

JoseGoncalves avatar May 31 '22 15:05 JoseGoncalves

We are dropping support for the Snap Store.

The recommendation is to use a different deployment method.

I am closing this for now, but we are open to revisiting this issue once we release Routr v2.

psanders avatar Aug 24 '22 01:08 psanders