Skip to content

change the user from root #33

Description

@Rumpick

I am attempting to change the user and it encounters an error when starting up.
I would prefer to not have everything running as root if I can help it.

[1745804655.326][2025-04-27 16:44:15][main][1][Cronicle][debug][1][Uncaught Exception: Error: FATAL ERROR: Queue directory could not be created: queue: Error: EACCES: permission denied, mkdir 'queue'][Error: FATAL ERROR: Queue directory could not be created: queue: Error: EACCES: permission denied, mkdir 'queue'     at constructor.startup (/opt/cronicle/lib/engine.js:56:10)     at /opt/cronicle/node_modules/pixl-server/server.js:457:10     at /opt/cronicle/node_modules/async/dist/async.js:3113:16     at replenish (/opt/cronicle/node_modules/async/dist/async.js:1014:17)     at iterateeCallback (/opt/cronicle/node_modules/async/dist/async.js:998:17)     at /opt/cronicle/node_modules/async/dist/async.js:972:16     at wrapper (/opt/cronicle/node_modules/pixl-server-web/node_modules/async/dist/async.js:271:20)     at iteratorCallback (/opt/cronicle/node_modules/pixl-server-web/node_modules/async/dist/async.js:501:17)     at /opt/cronicle/node_modules/pixl-server-web/node_modules/async/dist/async.js:327:20     at Server.<anonymous> (/opt/cronicle/node_modules/pixl-server-web/lib/http.js:248:4)]
Error: FATAL ERROR: Queue directory could not be created: queue: Error: EACCES: permission denied, mkdir 'queue'
    at constructor.startup (/opt/cronicle/lib/engine.js:56:10)
    at /opt/cronicle/node_modules/pixl-server/server.js:457:10
    at /opt/cronicle/node_modules/async/dist/async.js:3113:16
    at replenish (/opt/cronicle/node_modules/async/dist/async.js:1014:17)
    at iterateeCallback (/opt/cronicle/node_modules/async/dist/async.js:998:17)
    at /opt/cronicle/node_modules/async/dist/async.js:972:16
    at wrapper (/opt/cronicle/node_modules/pixl-server-web/node_modules/async/dist/async.js:271:20)
    at iteratorCallback (/opt/cronicle/node_modules/pixl-server-web/node_modules/async/dist/async.js:501:17)
    at /opt/cronicle/node_modules/pixl-server-web/node_modules/async/dist/async.js:327:20
    at Server.<anonymous> (/opt/cronicle/node_modules/pixl-server-web/lib/http.js:248:4)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions