Skip to content

Conversation

@crazy-max
Copy link
Member

No description provided.

@Olen
Copy link

Olen commented Nov 7, 2025

APP_KEY=Error: You must run lnms as the user nobody
NODE_ID=68f65a80b8392
...
The environment file is invalid!
Failed to parse dotenv file. Encountered unexpected whitespace at [Error: You must run lnms as the user nobody].

Could it be that this command should be run as user nobody:

APP_KEY=$(artisan key:generate --no-interaction --force --show)

And that means a change here?

#!/usr/bin/env sh
cd /opt/librenms || exit 1
yasu librenms:librenms php artisan "$@"

Because /opt/librenms is already chowned to nobody:nogroup:

&& chown -R nobody:nogroup ${LIBRENMS_PATH} \

@skyblaster
Copy link
Contributor

PR #530 opened to resolve. Please review and test.

@laf laf closed this Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants