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.

  • RoundSparrow
    link
    English
    111 months ago

    So far these logs don’t seem to point to where to look for the issue even.

    i agree, I don’t see anything in that log that indicates what is going on.

    I don’t see any long about database migrations, so maybe it is failing before that logs. How did you install the server, Docker? Is PostgreSQL running and working?

    • @DocTatorOP
      link
      English
      111 months ago

      Server was installed from scratch, but I might try a Docker run just to see if there’s any difference. PostgreSQL is up and running :

      doc@lemmy:/usr/bin$ systemctl status postgresql
      ● postgresql.service - PostgreSQL RDBMS
           Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor preset: enabled)
           Active: active (exited) since Sat 2023-06-24 01:41:07 UTC; 23h ago
         Main PID: 25761 (code=exited, status=0/SUCCESS)
            Tasks: 0 (limit: 4594)
           Memory: 0B
           CGroup: /system.slice/postgresql.service
      
      Jun 24 01:41:07 lemmy systemd[1]: Starting PostgreSQL RDBMS...
      Jun 24 01:41:07 lemmy systemd[1]: Finished PostgreSQL RDBMS.
      doc@lemmy:/usr/bin$ 
      
      • RoundSparrow
        link
        English
        111 months ago

        Maybe try the lemmy_server binary interactive? I know there are some environment variables to set