Hello all, Rather stumped with this one. Trying to install Lemmy, and getting the below error after running systemctl status lemmy … The full error is below :

 root@lemmy:/etc/systemd# systemctl status lemmy.service
● lemmy.service - Lemmy - A link aggregator for the fediverse
     Loaded: loaded (/etc/systemd/system/lemmy.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Sat 2023-06-24 03:03:26 UTC; 28min ago
    Process: 45485 ExecStart=/usr/bin/lemmy_server (code=exited, status=203/EXEC)
   Main PID: 45485 (code=exited, status=203/EXEC)

Jun 24 03:03:26 lemmy systemd[1]: lemmy.service: Scheduled restart job, restart counter is at 5.
Jun 24 03:03:26 lemmy systemd[1]: Stopped Lemmy - A link aggregator for the fediverse.
Jun 24 03:03:26 lemmy systemd[1]: lemmy.service: Start request repeated too quickly.
Jun 24 03:03:26 lemmy systemd[1]: lemmy.service: Failed with result 'exit-code'.
Jun 24 03:03:26 lemmy systemd[1]: Failed to start Lemmy - A link aggregator for the fediverse.
Jun 24 03:03:27 lemmy systemd[1]: lemmy.service: Start request repeated too quickly.
Jun 24 03:03:27 lemmy systemd[1]: lemmy.service: Failed with result 'exit-code'.
Jun 24 03:03:27 lemmy systemd[1]: Failed to start Lemmy - A link aggregator for the fediverse.

If anyone could assist, I’d be more than appreciative. So far these logs don’t seem to point to where to look for the issue even.

  • @DocTatorOP
    link
    English
    111 months ago
    doc@lemmy:~$ journalctl -f -u lemmy.service
    -- Logs begin at Sat 2023-06-24 01:25:51 UTC. --
    Jun 24 03:03:26 lemmy systemd[1]: lemmy.service: Main process exited, code=exited, status=203/EXEC
    Jun 24 03:03:26 lemmy systemd[1]: lemmy.service: Failed with result 'exit-code'.
    Jun 24 03:03:26 lemmy systemd[1]: lemmy.service: Scheduled restart job, restart counter is at 5.
    Jun 24 03:03:26 lemmy systemd[1]: Stopped Lemmy - A link aggregator for the fediverse.
    Jun 24 03:03:26 lemmy systemd[1]: lemmy.service: Start request repeated too quickly.
    Jun 24 03:03:26 lemmy systemd[1]: lemmy.service: Failed with result 'exit-code'.
    Jun 24 03:03:26 lemmy systemd[1]: Failed to start Lemmy - A link aggregator for the fediverse.
    Jun 24 03:03:27 lemmy systemd[1]: lemmy.service: Start request repeated too quickly.
    Jun 24 03:03:27 lemmy systemd[1]: lemmy.service: Failed with result 'exit-code'.
    Jun 24 03:03:27 lemmy systemd[1]: Failed to start Lemmy - A link aggregator for the fediverse.
    
    
    • Netto Hikari
      link
      fedilink
      English
      111 months ago

      What happens if you try to run Lemmy without systemd, just to test it out?

      So, stop Lemmy first with systemctl stop lemmy.service and then run it directly with /usr/bin/lemmy_server ?

      If you don’t get sufficient logs, you can also do:

      RUST_LOG=info lemmy_server or RUST_LOG=verbose lemmy_server

      • @DocTatorOP
        link
        English
        111 months ago

        it can’t even find /usr/bin/lemmy_server to run it… maybe thats where the problem is? lol

        • Netto Hikari
          link
          fedilink
          English
          111 months ago

          Well, it looks to me that you’re doing the install from scratch. So if /usr/bin/lemmy_server is missing, you dungoofed.