probonopd / go-appimage

Go implementation of AppImage tools
MIT License
813 stars 71 forks source link

appimaged exiting with code=1 #251

Closed MikePooh closed 1 year ago

MikePooh commented 1 year ago

journalctl --user -u appimaged.service

апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: appimaged-765-x86_64.AppImage 119
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: 2023/04/14 13:28:42 main: PATH: /tmp/.mount_appimaLLnJmA/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/mike/opt/cmake/bin/:/snap/bin:/opt/node-v15.8.0-linux-x64/bin:/opt/phantomjs-2.1.1-linux-x86_64/bin
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: This process based on /proc/self/exe: /tmp/.mount_appimaLLnJmA/usr/bin/appimaged
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: Terminating other running processes with that name...
апр 14 13:28:42 Lenovo-Mike dbus-daemon[282209]: [session uid=1000 pid=282206] AppArmor D-Bus mediation is enabled
апр 14 13:28:42 Lenovo-Mike dbus-daemon[282209]: [session uid=1000 pid=282206] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=1000 pid=282173 comm="/home/mike/????????????????/appimaged-765-x86_64.A" label="unconfined")
апр 14 13:28:42 Lenovo-Mike dbus-daemon[282209]: [session uid=1000 pid=282206] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: ERROR pre: checkIfSystemdServiceRunning: Process org.freedesktop.systemd1 exited with status 1
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: 2023/04/14 13:28:42 Deleted 0 desktop files from /home/mike/.local/share/applications/; use -v to see details
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: 2023/04/14 13:28:42 Launched by systemd: LAUNCHED_BY_SYSTEMD is present
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: ERROR MQTT: network Error : EOF
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: 2023/04/14 13:28:42 MQTT client connected: false
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: 2023/04/14 13:28:42 main: Running from /tmp/.mount_appimaLLnJmA/usr/bin
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: 2023/04/14 13:28:42 main: xdg.DataHome = /home/mike/.local/share
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: 2023/04/14 13:28:42 Overwrite: false
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: 2023/04/14 13:28:42 Clean: false
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: map[inode64: mode:755 nr_inodes:945723 rw: size:3782892k]
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: map[gid:5 mode:620 ptmxmode:000 rw:]
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: map[inode64: mode:755 rw: size:769672k]
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: map[errors:remount-ro rw:]
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: map[inode64: rw:]
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: map[inode64: rw: size:5120k]
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: map[pagesize:2M rw:]
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: map[rw:]
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: map[mode:700 rw:]
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: map[rw:]
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: map[rw:]
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: map[rw:]
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: map[rw:]
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: map[gid:1000 inode64: mode:700 nr_inodes:192418 rw: size:769672k uid:1000]
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: map[group_id:1000 rw: user_id:1000]
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: map[group_id:1000 rw: user_id:1000]
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: map[lowerdir:/var/lib/docker/overlay2/l/J7YLKWBXVLIZRSIW7R5W7JLP33:/var/lib/docker/overlay2/l/DOBWOWAHPLE72YHRKUOWE55U2H:/var/lib/docker/overlay2/l/RNWBOJD5S23IISOW57NOYXOMKU:/var/lib/docker/overlay2/l/2OJI4LQL4WSPICGY2DCAOWPSVS:/var/lib/docker/overlay2/l/OCHI2K2JTTYHW7KGCPBPIM44GT:/var/lib/docker/overlay2/l/KVIAZRRLHBQJJDQ37UQ5DWT6QH:/var/lib/docker/overlay2/l/VRD2JIWRDYKGO5452THXRNJCTO:/var/lib/docker/overlay2/l/JRS32GKP53TFT6UB7WU3OGDHOX:/var/lib/docker/overlay2/l/3MBPWPHKWRISMIOSHN6GVWSUG6:/var/lib/docker/overlay2/l/2PNTINFYHBPO6ZVO6M3HWM2EY2:/var/lib/docker/overlay2/l/PRTWZDKCC6VOU5UFNBLHCLUX73:/var/lib/docker/overlay2/l/YI2LNF64YHLWF6YON54ROS2OO3:/var/lib/docker/overlay2/l/VUHZ2HTJ2FIRIO3QE36F4VIDXF:/var/lib/docker/overlay2/l/RD27FULXVIBWNYRWWVGY5POUUH:/var/lib/docker/overlay2/l/XMWFDW6P7V3ZD4ZXOFSTF3JUGQ rw: upperdir:/var/lib/docker/overlay2/69c72adcfe5bb11ce2f51306c13e399b54e9d6e600a6aab8c7bf06a5ccbd6e6f/diff workdir:/var/lib/docker/overlay2/69c72adcfe5bb11ce2f51306c13e399b54e9d6e600a6aab8c7bf06a5ccbd6e6f/work]
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: map[rw:]
апр 14 13:28:42 Lenovo-Mike appimaged-765-x86_64.AppImage[282173]: 2023/04/14 13:28:42 zeroconf: Failed to initialize resolver: listen udp6 [ff02::]:5353: socket: address family not supported by protocol
апр 14 13:28:42 Lenovo-Mike systemd[1840]: appimaged.service: Main process exited, code=exited, status=1/FAILURE
апр 14 13:28:42 Lenovo-Mike systemd[1840]: appimaged.service: Failed with result 'exit-code'.
апр 14 13:28:45 Lenovo-Mike systemd[1840]: appimaged.service: Scheduled restart job, restart counter is at 2259.
апр 14 13:28:45 Lenovo-Mike systemd[1840]: Stopped AppImage system integration daemon.

Linux Mint 21.1 Vera x64 Linux kernel 5.15.0-69

probonopd commented 1 year ago

Are you trying to run this in a Docker container? That is currently not supported. Never been tested there. Maybe you can get it to work by opening more/all ports?

MikePooh commented 1 year ago

Nope. I am trying just to launch it on the OS itself, not in the container. I am confused with this line after which it exists 2023/04/14 13:28:42 zeroconf: Failed to initialize resolver: listen udp6 [ff02::]:5353: socket: address family not supported by protocol may it be the root of the problem?

probonopd commented 1 year ago

Possibly. Do you have some unusual network configuration?

MikePooh commented 1 year ago
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 3c:97:0e:85:b4:b9 brd ff:ff:ff:ff:ff:ff
    altname enp4s0
    inet 192.168.11.3/24 brd 192.168.11.255 scope global noprefixroute eth0
       valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:90:a2:f6:64:73 brd ff:ff:ff:ff:ff:ff
    altname wlp3s0
    inet 192.168.0.7/24 brd 192.168.0.255 scope global dynamic noprefixroute wlan0
       valid_lft 210557sec preferred_lft 210557sec
4: wg0: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1420 qdisc noqueue state UNKNOWN group default qlen 1000
    link/none 
    inet 192.168.47.1/32 scope global wg0
       valid_lft forever preferred_lft forever
5: docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default 
    link/ether 02:42:1c:21:6b:32 brd ff:ff:ff:ff:ff:ff
    inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
       valid_lft forever preferred_lft forever
9: vethcc46e05@if8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master docker0 state UP group default 
    link/ether 4e:1e:66:6f:f6:39 brd ff:ff:ff:ff:ff:ff link-netnsid 0
probonopd commented 1 year ago

Maybe it's tripping over wg0, docker0, vethcc... - just for testing, can you remove/disable those devices and see if it changes anything?

CalebQ42 commented 1 year ago

It seems like the issue is that appimaged can't set up the zeroconf and calls log.Fatal. This should probably be changed to a simple log message, or at most a desktop notification.