NS8-N8N App ready, with a few validation issues

1 Like

I think your problem is the filesystem you use to store your code.
As said before: ! never ! try to edit code (scripts) for Linux on a non POSIX filesystem such as FAT or NTFS.

3 Likes

I believe @stephdl mentioned this too earlier on
 “There is a reason behind the madness”

The ONLY accecptable exception is using SSH (eg PuTTY) to cnnect to a POSIX based host and edit the file there.

  • The file remains on a posix system and retains it’s rights.
  • The file is not created, it is only edited.
  • It never actually exists on the “foreign” system, usually a Windows box.

As “only” the SSH transport basis is running on the Non-POSIX system, even the editor runs under POSIX, nano, vi (or any EMACS users still out there?) there are no issues like character sets, double carriage returns in files (CR-LF), etc


My 2 cents
Andy

Martin I am curious on how you did with paperless because You were not concerned by this issue on posif files

1 Like

I also wonder on this matter as well. Funny thing, only 2 modules I am working on seem to be having this issue. N8N as well as matomo.
All others seem to be going on well. That’s the weired bit.

Atleast for N8N I can see it’s resolved, you can try to install the module, it should configure correctly now.

Right now am trying to figure out the bad gateway issue, not sure of its origin.

What is the log output in journald

1 Like

in relation to the module, there isnt any information that would help me.
unless there is a specific way to query this information


seemed i was gwtting alot of pgsql errors, then trying to login to it, it also gave me bad gateway,

I removed and install it agin, and iw as able to login to pgsql.

our module is still on bad gateway even after remove and install.

here is its log details

Jan 22 14:44:04 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:04 +0000] "GET / HTTP/1.1" 502 11 "-" "-" 26425 "n8n3-https@file>
Jan 22 14:44:05 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:05 +0000] "GET / HTTP/1.1" 502 11 "-" "-" 26426 "n8n3-https@file>
Jan 22 14:44:06 ns8 traefik[4578]: 207.241.236.158 - - [22/Jan/2024:14:44:06 +0000] "GET / HTTP/1.1" 404 19 "-" "-" 26427 "-" "-" 0ms
Jan 22 14:44:06 ns8 traefik[4578]: 164.90.184.41 - - [22/Jan/2024:14:44:06 +0000] "GET / HTTP/1.1" 404 19 "-" "-" 26428 "-" "-" 0ms
Jan 22 14:44:08 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:08 +0000] "GET / HTTP/1.1" 502 11 "-" "-" 26429 "n8n3-https@file>
Jan 22 14:44:09 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:09 +0000] "GET / HTTP/1.1" 502 11 "-" "-" 26430 "n8n3-https@file>
Jan 22 14:44:09 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:09 +0000] "GET /.vscode/sftp.json HTTP/1.1" 502 11 "-" "-" 26431>
Jan 22 14:44:09 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:09 +0000] "GET /.vscode/sftp.json HTTP/1.1" 502 11 "-" "-" 26432>
Jan 22 14:44:09 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:09 +0000] "GET /about HTTP/1.1" 502 11 "-" "-" 26433 "n8n3-https>
Jan 22 14:44:10 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:10 +0000] "GET /about HTTP/1.1" 502 11 "-" "-" 26434 "n8n3-https>
Jan 22 14:44:10 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:10 +0000] "GET /debug/default/view?panel=config HTTP/1.1" 502 11>
Jan 22 14:44:10 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:10 +0000] "GET /debug/default/view?panel=config HTTP/1.1" 502 11>
Jan 22 14:44:10 ns8 traefik[4578]: 195.74.76.198 - - [22/Jan/2024:14:44:10 +0000] "HEAD / HTTP/1.1" 308 18 "-" "-" 26437 "n8n3-http@file>
Jan 22 14:44:10 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:10 +0000] "GET /v2/_catalog HTTP/1.1" 502 11 "-" "-" 26438 "n8n3>
Jan 22 14:44:11 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:11 +0000] "GET /v2/_catalog HTTP/1.1" 502 11 "-" "-" 26439 "n8n3>
Jan 22 14:44:11 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:11 +0000] "GET /ecp/Current/exporttool/microsoft.exchange.edisco>
Jan 22 14:44:11 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:11 +0000] "GET /ecp/Current/exporttool/microsoft.exchange.edisco>
Jan 22 14:44:12 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:12 +0000] "GET /server-status HTTP/1.1" 502 11 "-" "-" 26442 "n8>
Jan 22 14:44:12 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:12 +0000] "GET /server-status HTTP/1.1" 502 11 "-" "-" 26443 "n8>
Jan 22 14:44:12 ns8 traefik[4578]: 65.154.226.170 - - [22/Jan/2024:14:44:12 +0000] "GET / HTTP/1.1" 404 19 "-" "-" 26444 "-" "-" 0ms
Jan 22 14:44:12 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:12 +0000] "GET /login.action HTTP/1.1" 502 11 "-" "-" 26445 "n8n>
Jan 22 14:44:12 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:12 +0000] "GET /login.action HTTP/1.1" 502 11 "-" "-" 26446 "n8n>
Jan 22 14:44:12 ns8 traefik[4578]: 195.74.76.198 - - [22/Jan/2024:14:44:12 +0000] "HEAD / HTTP/2.0" 502 11 "-" "-" 26447 "n8n3-https@fil>
Jan 22 14:44:13 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:13 +0000] "GET /_all_dbs HTTP/1.1" 502 11 "-" "-" 26448 "n8n3-ht>
Jan 22 14:44:13 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:13 +0000] "GET /_all_dbs HTTP/1.1" 502 11 "-" "-" 26449 "n8n3-ht>
Jan 22 14:44:13 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:13 +0000] "GET /.DS_Store HTTP/1.1" 502 11 "-" "-" 26450 "n8n3-h>
Jan 22 14:44:13 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:13 +0000] "GET /.DS_Store HTTP/1.1" 502 11 "-" "-" 26451 "n8n3-h>
Jan 22 14:44:14 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:14 +0000] "GET /.env HTTP/1.1" 502 11 "-" "-" 26452 "n8n3-https@>
Jan 22 14:44:14 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:14 +0000] "GET /.env HTTP/1.1" 502 11 "-" "-" 26453 "n8n3-https@>
Jan 22 14:44:14 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:14 +0000] "GET /.git/config HTTP/1.1" 502 11 "-" "-" 26454 "n8n3>
Jan 22 14:44:14 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:14 +0000] "GET /.git/config HTTP/1.1" 502 11 "-" "-" 26455 "n8n3>
Jan 22 14:44:15 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:15 +0000] "GET /s/33e27313e2834313e2331323/_/;/META-INF/maven/co>
Jan 22 14:44:15 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:15 +0000] "GET /s/33e27313e2834313e2331323/_/;/META-INF/maven/co>
Jan 22 14:44:15 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:15 +0000] "GET /config.json HTTP/1.1" 502 11 "-" "-" 26458 "n8n3>
Jan 22 14:44:15 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:15 +0000] "GET /config.json HTTP/1.1" 502 11 "-" "-" 26459 "n8n3>
Jan 22 14:44:16 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:16 +0000] "GET /telescope/requests HTTP/1.1" 502 11 "-" "-" 2646>
Jan 22 14:44:16 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:16 +0000] "GET /telescope/requests HTTP/1.1" 502 11 "-" "-" 2646>
Jan 22 14:44:16 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:16 +0000] "GET /?rest_route=/wp/v2/users/ HTTP/1.1" 502 11 "-" ">
Jan 22 14:44:16 ns8 traefik[4578]: 164.92.192.25 - - [22/Jan/2024:14:44:16 +0000] "GET /?rest_route=/wp/v2/users/ HTTP/1.1" 502 11 "-" ">
Jan 22 14:44:17 ns8 traefik[4578]: 154.28.229.70 - - [22/Jan/2024:14:44:17 +0000] "GET / HTTP/1.1" 502 11 "-" "-" 26464 "n8n3-https@file>
Jan 22 14:44:20 ns8 traefik[4578]: 154.28.229.124 - - [22/Jan/2024:14:44:20 +0000] "GET / HTTP/1.1" 502 11 "-" "-" 26465 "n8n3-https@fil>
Jan 22 14:44:24 ns8 traefik[4578]: 195.74.76.198 - - [22/Jan/2024:14:44:24 +0000] "HEAD / HTTP/1.1" 404 19 "-" "-" 26466 "-" "-" 0ms


Jan 22 14:45:06 ns8 pgadmin-app[785110]: 154.47.30.181 - - [22/Jan/2024:14:45:06 +0000] "GET /static/favicon.ico?ver=80200 HTTP/1.1" 200>
Jan 22 14:45:09 ns8 traefik[4578]: 179.43.169.181 - - [22/Jan/2024:14:45:09 +0000] "GET / HTTP/1.1" 404 19 "-" "-" 26473 "-" "-" 0ms
Jan 22 14:45:09 ns8 traefik[4578]: 154.47.30.181 - - [22/Jan/2024:14:45:06 +0000] "GET /static/favicon.ico?ver=80200 HTTP/1.1" 200 78998>
Jan 22 14:45:12 ns8 traefik[4578]: 195.211.77.140 - - [22/Jan/2024:14:45:12 +0000] "HEAD / HTTP/1.1" 502 11 "-" "-" 26474 "n8n3-https@fi>
Jan 22 14:45:26 ns8 traefik[4578]: 65.154.226.168 - - [22/Jan/2024:14:45:26 +0000] "GET / HTTP/1.1" 301 17 "-" "-" 26475 "n8n3-http@file>
Jan 22 14:45:27 ns8 traefik[4578]: 65.154.226.168 - - [22/Jan/2024:14:45:27 +0000] "GET / HTTP/2.0" 502 11 "-" "-" 26476 "n8n3-https@fil>
Jan 22 14:45:28 ns8 sshd[791166]: Invalid user ucj from 36.139.8.36 port 45896
Jan 22 14:45:29 ns8 sshd[791166]: Received disconnect from 36.139.8.36 port 45896:11: Bye Bye [preauth]
Jan 22 14:45:29 ns8 sshd[791166]: Disconnected from invalid user ucj 36.139.8.36 port 45896 [preauth]
Jan 22 14:45:31 ns8 traefik[4578]: 146.70.126.237 - - [22/Jan/2024:14:45:31 +0000] "GET / HTTP/1.1" 502 11 "-" "-" 26477 "n8n3-https@fil>
Jan 22 14:45:31 ns8 traefik[4578]: 146.70.126.237 - - [22/Jan/2024:14:45:31 +0000] "GET /favicon.ico HTTP/1.1" 502 11 "-" "-" 26478 "n8n>
Jan 22 14:45:41 ns8 sshd[791247]: Invalid user cur from 209.97.163.130 port 37028
Jan 22 14:45:42 ns8 sshd[791247]: Received disconnect from 209.97.163.130 port 37028:11: Bye Bye [preauth]
Jan 22 14:45:42 ns8 sshd[791247]: Disconnected from invalid user cur 209.97.163.130 port 37028 [preauth]
Jan 22 14:45:51 ns8 sshd[791303]: Invalid user lv from 165.22.55.227 port 56786
Jan 22 14:45:51 ns8 sshd[791303]: Received disconnect from 165.22.55.227 port 56786:11: Bye Bye [preauth]
Jan 22 14:45:51 ns8 sshd[791303]: Disconnected from invalid user lv 165.22.55.227 port 56786 [preauth]
Jan 22 14:46:01 ns8 sshd[791354]: Invalid user vub from 118.25.18.106 port 59154
Jan 22 14:46:02 ns8 sshd[791354]: Received disconnect from 118.25.18.106 port 59154:11: Bye Bye [preauth]
Jan 22 14:46:02 ns8 sshd[791354]: Disconnected from invalid user vub 118.25.18.106 port 59154 [preauth]
Jan 22 14:46:03 ns8 traefik[4578]: 2.58.56.121 - - [22/Jan/2024:14:46:03 +0000] "GET /.git/config HTTP/1.1" 502 11 "-" "-" 26479 "n8n3-h>
Jan 22 14:46:06 ns8 traefik[4578]: 128.90.63.138 - - [22/Jan/2024:14:46:06 +0000] "GET /login?next=%2F HTTP/1.1" 302 205 "-" "-" 26480 ">
Jan 22 14:46:06 ns8 pgadmin-app[785110]: 128.90.63.138 - - [22/Jan/2024:14:46:06 +0000] "GET /login?next=%2F HTTP/1.1" 302 205 "https://>
Jan 22 14:46:06 ns8 pgadmin-app[785110]: 51.178.81.195 - - [22/Jan/2024:14:46:06 +0000] "GET /login?next=%2F HTTP/1.1" 200 2362 "https:/>
Jan 22 14:46:06 ns8 traefik[4578]: 51.178.81.195 - - [22/Jan/2024:14:46:06 +0000] "GET /login?next=%2F HTTP/1.1" 200 2362 "-" "-" 26481 >
Jan 22 14:46:07 ns8 traefik[4578]: 68.235.38.148 - - [22/Jan/2024:14:46:07 +0000] "GET /login?next=%2F HTTP/1.1" 200 2361 "-" "-" 26482 >
Jan 22 14:46:07 ns8 pgadmin-app[785110]: 68.235.38.148 - - [22/Jan/2024:14:46:07 +0000] "GET /login?next=%2F HTTP/1.1" 200 2361 "https:/>
Jan 22 14:46:08 ns8 traefik[4578]: 15.204.227.40 - - [22/Jan/2024:14:46:08 +0000] "GET /wp-content/ HTTP/1.1" 301 17 "-" "-" 26483 "n8n3>
Jan 22 14:46:09 ns8 traefik[4578]: 15.204.227.40 - - [22/Jan/2024:14:46:09 +0000] "GET /wp-content/ HTTP/1.1" 502 11 "-" "-" 26484 "n8n3>
Jan 22 14:46:09 ns8 sshd[791424]: Invalid user pme from 159.223.65.220 port 39418
Jan 22 14:46:10 ns8 sshd[791424]: Received disconnect from 159.223.65.220 port 39418:11: Bye Bye [preauth]
Jan 22 14:46:10 ns8 sshd[791424]: Disconnected from invalid user pme 159.223.65.220 port 39418 [preauth]
Jan 22 14:46:11 ns8 traefik[4578]: 15.204.227.40 - - [22/Jan/2024:14:46:11 +0000] "GET /wp-content/ HTTP/1.1" 301 17 "-" "-" 26485 "n8n3>
Jan 22 14:46:12 ns8 traefik[4578]: 15.204.227.40 - - [22/Jan/2024:14:46:12 +0000] "GET /wp-content/ HTTP/1.1" 502 11 "-" "-" 26486 "n8n3>
Jan 22 14:46:13 ns8 traefik[4578]: 45.141.202.164 - - [22/Jan/2024:14:46:13 +0000] "GET /login?next=%2F HTTP/1.1" 200 2358 "-" "-" 26487>
Jan 22 14:46:13 ns8 pgadmin-app[785110]: 45.141.202.164 - - [22/Jan/2024:14:46:13 +0000] "GET /login?next=%2F HTTP/1.1" 200 2358 "https:>
lines 98738-98782/98782 (END)

1 Like

this is not your module, try to filter journald and catch the error

journalctl -f _UID=$(id -u n8n1)

1 Like

oh i wish NS8 would implement a log drain feature, would come in handy
i think i have discovered the cullprit of the error.

and it originates here:

Is there no way to notify the user if a service fails to start, after configure module is invoked.

because it this case, after configure module and the system said success, that was it.

the user would assume that all is well, but in real sense, its not.

EDIT: i had no idea you could follow the logs from the dashboard
 thats so handy a feature


Edit2
i think we are makign progress

How come those services are started, and there are no images?

1 Like

during development process everything is possible :stuck_out_tongue:

3 Likes

could someone help me kindly make sense out of these logs

especially: n8n.service: Failed with result ‘start-limit-hit’

2024-01-22T19:33:11+03:00 [1:n8n4:systemd] Starting Mark boot as successful...
2024-01-22T19:33:12+03:00 [1:n8n4:systemd] Finished Mark boot as successful.
2024-01-22T19:33:44+03:00 [1:n8n4:agent@n8n4] Copying config sha256:49e1258723b9c6ff2db5dd397a0fadfb21323742cfbcb7334a03053c3f6889d0
2024-01-22T19:33:44+03:00 [1:n8n4:agent@n8n4] Writing manifest to image destination
2024-01-22T19:33:44+03:00 [1:n8n4:agent@n8n4] 49e1258723b9c6ff2db5dd397a0fadfb21323742cfbcb7334a03053c3f6889d0
2024-01-22T19:33:44+03:00 [1:n8n4:agent@n8n4] task/module/n8n4/47b484f4-e9f0-4db3-b026-22ed2f77fcbc: create-module/10selfadm_role is starting
2024-01-22T19:33:44+03:00 [1:n8n4:agent@n8n4] 1
2024-01-22T19:33:44+03:00 [1:n8n4:agent@n8n4] Action create-module skipped step 20configure: fork/exec /home/n8n4/.config/actions/create-module/20configure: permission denied
2024-01-22T19:33:44+03:00 [1:n8n4:agent@n8n4] task/module/n8n4/47b484f4-e9f0-4db3-b026-22ed2f77fcbc: action "create-module" status is "completed" (0) at step 20configure
2024-01-22T19:35:32+03:00 [1:n8n4:agent@n8n4] task/module/n8n4/43684192-2f22-4120-8223-d92dc53ddbb5: get-name/50get_name is starting
2024-01-22T19:35:32+03:00 [1:n8n4:agent@n8n4] task/module/n8n4/afb157f7-f1bf-474c-8d25-1b4ef491aad6: get-configuration/20read is starting
2024-01-22T19:35:32+03:00 [1:n8n4:agent@n8n4] task/module/n8n4/d67181fa-cf2b-416b-85c2-32af11621a4b: get-status/20read is starting
2024-01-22T19:35:33+03:00 [1:n8n4:agent@n8n4] task/module/n8n4/afb157f7-f1bf-474c-8d25-1b4ef491aad6: action "get-configuration" status is "completed" (0) at step validate-output.json
2024-01-22T19:35:33+03:00 [1:n8n4:agent@n8n4] task/module/n8n4/43684192-2f22-4120-8223-d92dc53ddbb5: action "get-name" status is "completed" (0) at step 50get_name
2024-01-22T19:35:33+03:00 [1:n8n4:agent@n8n4] task/module/n8n4/d67181fa-cf2b-416b-85c2-32af11621a4b: action "get-status" status is "completed" (0) at step validate-output.json
2024-01-22T19:35:53+03:00 [1:n8n4:agent@n8n4] task/module/n8n4/024c5aa7-cbc0-48d2-9236-826d79a92521: get-configuration/20read is starting
2024-01-22T19:35:53+03:00 [1:n8n4:agent@n8n4] task/module/n8n4/024c5aa7-cbc0-48d2-9236-826d79a92521: action "get-configuration" status is "completed" (0) at step validate-output.json
2024-01-22T19:36:11+03:00 [1:n8n4:systemd] Created slice User Background Tasks Slice.
2024-01-22T19:36:12+03:00 [1:n8n4:systemd] Starting Cleanup of User's Temporary Files and Directories...
2024-01-22T19:36:12+03:00 [1:n8n4:systemd] Finished Cleanup of User's Temporary Files and Directories.
2024-01-22T19:36:27+03:00 [1:n8n4:agent@n8n4] task/module/n8n4/ff1ea6b9-500a-4170-9932-fc994e840780: configure-module/20configure is starting
2024-01-22T19:36:27+03:00 [1:n8n4:agent@n8n4] dump_env() is deprecated and implemented as a no-op
2024-01-22T19:36:27+03:00 [1:n8n4:agent@n8n4] task/module/n8n4/ff1ea6b9-500a-4170-9932-fc994e840780: configure-module/30traefik is starting
2024-01-22T19:36:28+03:00 [1:n8n4:agent@n8n4] dump_env() is deprecated and implemented as a no-op
2024-01-22T19:36:29+03:00 [1:n8n4:agent@n8n4] _acontrol_task request attempt failed (WS reached EOF while waiting for module/traefik1/task/1f9f52b2-e11c-4e55-b4af-9618a86e3f8b). Retrying...
2024-01-22T19:36:33+03:00 [1:n8n4:podman] 4388f0007102bc13453703e30e7efc05bf9b2a558e5e63b8bc598c28712e0e2a
2024-01-22T19:36:33+03:00 [1:n8n4:podman] 4388f0007102bc13453703e30e7efc05bf9b2a558e5e63b8bc598c28712e0e2a
2024-01-22T19:36:33+03:00 [1:n8n4:systemd] Starting Podman n8n-pgsql.service...
2024-01-22T19:36:33+03:00 [1:n8n4:podman] bf4e1ada62b7ffc9a2ddd65f605a2886ddec62d9edd2f25ae04436d06c45cb8e
2024-01-22T19:36:34+03:00 [1:n8n4:podman] 02ddd3dd2d864bc17a7fd0e5a3cf5a5a1822e7700da2b3b058bafb0e19d489d9
2024-01-22T19:36:34+03:00 [1:n8n4:systemd] Started Podman n8n-redis.service.
2024-01-22T19:36:34+03:00 [1:n8n4:n8n-pgsql] This user must also own the server process.
2024-01-22T19:36:34+03:00 [1:n8n4:n8n-redis] 1:C 22 Jan 2024 16:36:34.265 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
2024-01-22T19:36:34+03:00 [1:n8n4:systemd] n8n-server.service: Failed with result 'exit-code'.
2024-01-22T19:36:34+03:00 [1:n8n4:podman] 02ddd3dd2d864bc17a7fd0e5a3cf5a5a1822e7700da2b3b058bafb0e19d489d9
2024-01-22T19:36:35+03:00 [1:n8n4:podman] 02ddd3dd2d864bc17a7fd0e5a3cf5a5a1822e7700da2b3b058bafb0e19d489d9
2024-01-22T19:36:35+03:00 [1:n8n4:systemd] Stopped Podman n8n-redis.service.
2024-01-22T19:36:35+03:00 [1:n8n4:systemd] Stopping Podman n8n-pgsql.service...
2024-01-22T19:36:35+03:00 [1:n8n4:n8n-pgsql]     pg_ctl -D /var/lib/postgresql/data -l logfile start
2024-01-22T19:36:35+03:00 [1:n8n4:n8n-pgsql] 2024-01-22 16:36:35.486 UTC [42] LOG:  database system is ready to accept connections
2024-01-22T19:36:35+03:00 [1:n8n4:n8n-pgsql] CREATE DATABASE
2024-01-22T19:36:35+03:00 [1:n8n4:n8n-pgsql] 2024-01-22 16:36:35.732 UTC [42] LOG:  received fast shutdown request
2024-01-22T19:36:35+03:00 [1:n8n4:n8n-pgsql] 2024-01-22 16:36:35.742 UTC [43] LOG:  shutting down
2024-01-22T19:36:35+03:00 [1:n8n4:n8n-pgsql] server stopped
2024-01-22T19:36:35+03:00 [1:n8n4:n8n-pgsql] 2024-01-22 16:36:35.861 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2024-01-22T19:36:45+03:00 [1:n8n4:systemd] n8n-pgsql.service: Failed with result 'exit-code'.
2024-01-22T19:36:45+03:00 [1:n8n4:systemd] Removed slice cgroup user-libpod_pod_4388f0007102bc13453703e30e7efc05bf9b2a558e5e63b8bc598c28712e0e2a.slice.
2024-01-22T19:36:45+03:00 [1:n8n4:systemd] Stopped Podman n8n.service.
2024-01-22T19:36:45+03:00 [1:n8n4:systemd] Created slice cgroup user-libpod_pod_fc57aca0d09372347fbbfb7dc86236549d67dbac7659f935996dedf9073ebcea.slice.
2024-01-22T19:36:45+03:00 [1:n8n4:podman] fc57aca0d09372347fbbfb7dc86236549d67dbac7659f935996dedf9073ebcea
2024-01-22T19:36:45+03:00 [1:n8n4:podman] fc57aca0d09372347fbbfb7dc86236549d67dbac7659f935996dedf9073ebcea
2024-01-22T19:36:45+03:00 [1:n8n4:systemd] Started Podman n8n.service.
2024-01-22T19:36:45+03:00 [1:n8n4:n8n-pgsql] PostgreSQL Database directory appears to contain a database; Skipping initialization
2024-01-22T19:36:45+03:00 [1:n8n4:n8n-pgsql] 2024-01-22 16:36:45.888 UTC [22] LOG:  checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.001 s, sync=0.003 s, total=0.010 s; sync files=2, longest=0.002 s, average=0.002 s; distance=0 kB, estimate=0 kB
2024-01-22T19:36:45+03:00 [1:n8n4:n8n-redis] 1:M 22 Jan 2024 16:36:45.901 * DB loaded from append only file: 0.001 seconds
2024-01-22T19:36:46+03:00 [1:n8n4:runagent]   File "/usr/local/bin/runagent", line 92, in <module>
2024-01-22T19:36:46+03:00 [1:n8n4:conmon] conmon a60f6e53d204f08626f1 <nwarn>: Failed to open cgroups file: /sys/fs/cgroup/user.slice/user-1018.slice/user@1018.service/user.slice/user-libpod_pod_fc57aca0d09372347fbbfb7dc86236549d67dbac7659f935996dedf9073ebcea.slice/libpod-a60f6e53d204f08626f1541ea23d9ba74dfc1fcb2a19bf3d0d6eba784215ec03.scope/container/memory.events
2024-01-22T19:36:46+03:00 [1:n8n4:n8n-pgsql] 2024-01-22 16:36:46.753 UTC [22] LOG:  shutting down
2024-01-22T19:36:47+03:00 [1:n8n4:podman] fc57aca0d09372347fbbfb7dc86236549d67dbac7659f935996dedf9073ebcea
2024-01-22T19:36:47+03:00 [1:n8n4:podman] a26947c225d601b08fd08dfe1e00ad0b62fa9f4b8d00fa41ca7a25d8728b6844
2024-01-22T19:36:47+03:00 [1:n8n4:podman] a26947c225d601b08fd08dfe1e00ad0b62fa9f4b8d00fa41ca7a25d8728b6844
2024-01-22T19:36:47+03:00 [1:n8n4:podman] 588f13823febde2c5e5c772ba33b76dac2ff9513c01e3978afd6a98036da17e2
2024-01-22T19:36:47+03:00 [1:n8n4:systemd] Started Podman n8n-redis.service.
2024-01-22T19:36:47+03:00 [1:n8n4:n8n-redis] 1:C 22 Jan 2024 16:36:47.505 * Configuration loaded
2024-01-22T19:36:47+03:00 [1:n8n4:n8n-redis] 1:M 22 Jan 2024 16:36:47.506 * RDB age 13 seconds
2024-01-22T19:36:48+03:00 [1:n8n4:podman] 588f13823febde2c5e5c772ba33b76dac2ff9513c01e3978afd6a98036da17e2
2024-01-22T19:36:48+03:00 [1:n8n4:systemd] Starting Podman n8n-pgsql.service...
2024-01-22T19:36:49+03:00 [1:n8n4:podman] 6328efc7c8d0342c0886b0f8dfe497bc1e6c8e647c5dcf02795c1268dee526ec
2024-01-22T19:36:49+03:00 [1:n8n4:n8n-redis] 1:M 22 Jan 2024 16:36:49.062 * DB loaded from base file appendonly.aof.1.base.rdb: 0.000 seconds
2024-01-22T19:36:49+03:00 [1:n8n4:n8n-redis] 1:M 22 Jan 2024 16:36:49.062 * DB loaded from append only file: 0.000 seconds
2024-01-22T19:36:49+03:00 [1:n8n4:runagent] Traceback (most recent call last):
2024-01-22T19:36:49+03:00 [1:n8n4:runagent]     os.execvp(args.COMMAND, [args.COMMAND] + args.ARGS)
2024-01-22T19:36:49+03:00 [1:n8n4:n8n-pgsql] 2024-01-22 16:36:49.726 UTC [21] LOG:  checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.001 s, sync=0.003 s, total=0.013 s; sync files=2, longest=0.002 s, average=0.002 s; distance=0 kB, estimate=0 kB
2024-01-22T19:36:49+03:00 [1:n8n4:systemd] Stopped Podman n8n-pgsql.service.
2024-01-22T19:36:49+03:00 [1:n8n4:systemd] Starting Podman n8n.service...
2024-01-22T19:36:50+03:00 [1:n8n4:systemd] Started Podman n8n-pgsql.service.
2024-01-22T19:36:50+03:00 [1:n8n4:n8n-pgsql] 2024-01-22 16:36:50.356 UTC [1] LOG:  starting PostgreSQL 15.5 (Debian 15.5-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2024-01-22T19:36:50+03:00 [1:n8n4:n8n-redis] 1:M 22 Jan 2024 16:36:50.445 * Running mode=standalone, port=6379.
2024-01-22T19:36:51+03:00 [1:n8n4:n8n-redis] 1:signal-handler (1705941411) Received SIGTERM scheduling shutdown...
2024-01-22T19:36:51+03:00 [1:n8n4:n8n-redis] 1:M 22 Jan 2024 16:36:51.048 * Saving the final RDB snapshot before exiting.
2024-01-22T19:36:51+03:00 [1:n8n4:podman] 5e3fa2dc57319c468a8a61803a162fdd31027950c339e3c41d73a97530e56888
2024-01-22T19:36:51+03:00 [1:n8n4:podman] 5e3fa2dc57319c468a8a61803a162fdd31027950c339e3c41d73a97530e56888
2024-01-22T19:36:51+03:00 [1:n8n4:systemd] Removed slice cgroup user-libpod_pod_11878e52fa8318bc0be6af752a30a2cedad45e36df1142abfec754eefc5bbb0c.slice.
2024-01-22T19:36:51+03:00 [1:n8n4:n8n-pgsql] PostgreSQL Database directory appears to contain a database; Skipping initialization
2024-01-22T19:36:51+03:00 [1:n8n4:n8n-pgsql] 2024-01-22 16:36:51.843 UTC [1] LOG:  starting PostgreSQL 15.5 (Debian 15.5-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2024-01-22T19:36:51+03:00 [1:n8n4:n8n-redis] 1:M 22 Jan 2024 16:36:51.939 * Server initialized
2024-01-22T19:36:51+03:00 [1:n8n4:n8n-redis] 1:M 22 Jan 2024 16:36:51.939 * DB loaded from base file appendonly.aof.1.base.rdb: 0.000 seconds
2024-01-22T19:36:51+03:00 [1:n8n4:n8n-redis] 1:M 22 Jan 2024 16:36:51.939 * DB loaded from append only file: 0.000 seconds
2024-01-22T19:36:52+03:00 [1:n8n4:runagent] Traceback (most recent call last):
2024-01-22T19:36:52+03:00 [1:n8n4:n8n-redis] 1:M 22 Jan 2024 16:36:52.642 * Saving the final RDB snapshot before exiting.
2024-01-22T19:36:52+03:00 [1:n8n4:podman] 0606aa6e9e262c7af9a04590aa62cc15bfa28d6a7d16903e69c8e00c9773aba9
2024-01-22T19:36:53+03:00 [1:n8n4:podman] 0606aa6e9e262c7af9a04590aa62cc15bfa28d6a7d16903e69c8e00c9773aba9
2024-01-22T19:36:53+03:00 [1:n8n4:systemd] Stopped Podman n8n.service.
2024-01-22T19:36:53+03:00 [1:n8n4:systemd] n8n.service: Start request repeated too quickly.
2024-01-22T19:36:53+03:00 [1:n8n4:systemd] n8n.service: Failed with result 'start-limit-hit'.
2024-01-22T19:36:53+03:00 [1:n8n4:systemd] Failed to start Podman n8n.service.
2024-01-22T19:36:53+03:00 [1:n8n4:systemd] n8n-redis.service: Job n8n-redis.service/start failed with result 'dependency'.
2024-01-22T19:3
1 Like

Same issue it is not executable

After resolving all other permission issues,

I am getting this

2024-01-23T09:42:41Z [1:n8n5:runagent] PermissionError: [Errno 13] Permission denied

from this excerpt

2024-01-23T09:42:41Z [1:n8n5:n8n-redis] 1:C 23 Jan 2024 09:42:41.187 * Redis version=7.2.3, bits=64, commit=00000000, modified=0, pid=1, just started
2024-01-23T09:42:41Z [1:n8n5:n8n-redis] 1:M 23 Jan 2024 09:42:41.188 * DB loaded from base file appendonly.aof.1.base.rdb: 0.000 seconds
2024-01-23T09:42:41Z [1:n8n5:runagent] PermissionError: [Errno 13] Permission denied
2024-01-23T09:42:41Z [1:n8n5:n8n-redis] 1:signal-handler (1706002961) Received SIGTERM scheduling shutdown...
2024-01-23T09:42:41Z [1:n8n5:n8n-redis] 1:M 23 Jan 2024 09:42:41.891 * Saving the final RDB snapshot before exiting.
2024-01-23T09:42:42Z [1:n8n5:conmon] conmon fcd953cab4b085fd9c7c <nwarn>: Failed to open cgroups file: /sys/fs/cgroup/user.slice/user-1018.slice/user@1018.service/user.slice/user-libpod_pod_c0c5ee1e2fcc2d1e724572c07454a9aa084a4ce207327fdd9e20e9e2de606825.slice/libpod-fcd953cab4b085fd9c7c3e0c73e281d6f1ce2b6ab1714d9bae3dcdf0cb7811bf.scope/container/memory.events
2024-01-23T09:42:42Z [1:n8n5:systemd] Removed slice cgroup user-libpod_pod_c0c5ee1e2fcc2d1e724572c07454a9aa084a4ce207327fdd9e20e9e2de606825.slice.
2024-01-23T09:42:42Z [1:n8n5:n8n-redis] 1:M 23 Jan 2024 09:42:42.795 * Loading RDB produced by version 7.2.3
2024-01-23T09:42:42Z [1:n8n5:n8n-redis] 1:M 23 Jan 2024 09:42:42.796 * Opening AOF incr file appendonly.aof.1.incr.aof on server start

Full log is below here:

2024-01-23T09:14:12Z [1:n8n5:systemd] Stopped Podman n8n-redis.service.
2024-01-23T09:14:12Z [1:n8n5:systemd] Stopping Podman n8n-pgsql.service...
2024-01-23T09:14:12Z [1:n8n5:n8n-pgsql] 2024-01-23 09:14:12.766 UTC [1] LOG:  received fast shutdown request
2024-01-23T09:14:12Z [1:n8n5:n8n-pgsql] 2024-01-23 09:14:12.769 UTC [1] LOG:  aborting any active transactions
2024-01-23T09:14:12Z [1:n8n5:n8n-pgsql] 2024-01-23 09:14:12.773 UTC [1] LOG:  background worker "logical replication launcher" (PID 26) exited with exit code 1
2024-01-23T09:14:12Z [1:n8n5:n8n-pgsql] 2024-01-23 09:14:12.774 UTC [21] LOG:  shutting down
2024-01-23T09:14:12Z [1:n8n5:n8n-pgsql] 2024-01-23 09:14:12.775 UTC [21] LOG:  checkpoint starting: shutdown immediate
2024-01-23T09:14:12Z [1:n8n5:n8n-pgsql] 2024-01-23 09:14:12.784 UTC [21] LOG:  checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.001 s, sync=0.003 s, total=0.011 s; sync files=2, longest=0.002 s, average=0.002 s; distance=0 kB, estimate=0 kB
2024-01-23T09:14:12Z [1:n8n5:n8n-pgsql] 2024-01-23 09:14:12.788 UTC [1] LOG:  database system is shut down
2024-01-23T09:14:12Z [1:n8n5:podman] 6f053b815d8554d571fb0c11caee1c7f71c311413b7616489ffe7d7419758117
2024-01-23T09:14:12Z [1:n8n5:podman] 6f053b815d8554d571fb0c11caee1c7f71c311413b7616489ffe7d7419758117
2024-01-23T09:14:12Z [1:n8n5:systemd] Stopped Podman n8n-pgsql.service.
2024-01-23T09:14:12Z [1:n8n5:systemd] Stopping Podman n8n.service...
2024-01-23T09:14:12Z [1:n8n5:podman] d767d074fa82f152b16b56192367f3fd58f8712d12a46e22082778eef8dec6ac
2024-01-23T09:14:13Z [1:n8n5:systemd] Removed slice cgroup user-libpod_pod_d767d074fa82f152b16b56192367f3fd58f8712d12a46e22082778eef8dec6ac.slice.
2024-01-23T09:14:13Z [1:n8n5:podman] d767d074fa82f152b16b56192367f3fd58f8712d12a46e22082778eef8dec6ac
2024-01-23T09:14:13Z [1:n8n5:systemd] Stopped Podman n8n.service.
2024-01-23T09:14:13Z [1:n8n5:systemd] n8n.service: Start request repeated too quickly.
2024-01-23T09:14:13Z [1:n8n5:systemd] n8n.service: Failed with result 'start-limit-hit'.
2024-01-23T09:14:13Z [1:n8n5:systemd] Failed to start Podman n8n.service.
2024-01-23T09:14:13Z [1:n8n5:systemd] Dependency failed for Podman n8n-pgsql.service.
2024-01-23T09:14:13Z [1:n8n5:systemd] n8n-pgsql.service: Job n8n-pgsql.service/start failed with result 'dependency'.
2024-01-23T09:14:13Z [1:n8n5:systemd] Dependency failed for Podman n8n server.
2024-01-23T09:14:13Z [1:n8n5:systemd] n8n-server.service: Job n8n-server.service/start failed with result 'dependency'.
2024-01-23T09:14:13Z [1:n8n5:systemd] Dependency failed for Podman n8n-redis.service.
2024-01-23T09:14:13Z [1:n8n5:systemd] n8n-redis.service: Job n8n-redis.service/start failed with result 'dependency'.
2024-01-23T09:14:45Z [1:n8n5:agent@n8n5] task/module/n8n5/8e0663e9-85db-4e79-a866-fc6c48fb59ed: get-status/20read is starting
2024-01-23T09:14:45Z [1:n8n5:agent@n8n5] task/module/n8n5/1d6ac90a-a78c-4efb-8a6d-91234734a622: get-configuration/20read is starting
2024-01-23T09:14:45Z [1:n8n5:agent@n8n5] task/module/n8n5/1d6ac90a-a78c-4efb-8a6d-91234734a622: action "get-configuration" status is "completed" (0) at step validate-output.json
2024-01-23T09:14:45Z [1:n8n5:agent@n8n5] task/module/n8n5/8e0663e9-85db-4e79-a866-fc6c48fb59ed: action "get-status" status is "completed" (0) at step validate-output.json
2024-01-23T09:16:11Z [1:n8n5:systemd] Created slice User Background Tasks Slice.
2024-01-23T09:16:12Z [1:n8n5:systemd] Starting Cleanup of User's Temporary Files and Directories...
2024-01-23T09:16:12Z [1:n8n5:systemd] Finished Cleanup of User's Temporary Files and Directories.
2024-01-23T09:33:44Z [1:n8n5:agent@n8n5] task/module/n8n5/096c1108-0ffe-4b36-9bc7-6d0c686ce2e0: get-configuration/20read is starting
2024-01-23T09:33:44Z [1:n8n5:agent@n8n5] task/module/n8n5/096c1108-0ffe-4b36-9bc7-6d0c686ce2e0: action "get-configuration" status is "completed" (0) at step validate-output.json
2024-01-23T09:33:49Z [1:n8n5:agent@n8n5] task/module/n8n5/7c703e8f-20c7-4682-bc10-8d58b100fdd9: configure-module/20configure is starting
2024-01-23T09:33:49Z [1:n8n5:agent@n8n5] dump_env() is deprecated and implemented as a no-op
2024-01-23T09:33:49Z [1:n8n5:agent@n8n5] task/module/n8n5/7c703e8f-20c7-4682-bc10-8d58b100fdd9: configure-module/30traefik is starting
2024-01-23T09:33:50Z [1:n8n5:agent@n8n5] dump_env() is deprecated and implemented as a no-op
2024-01-23T09:33:51Z [1:n8n5:systemd] Created slice cgroup user-libpod_pod_5848a7449ccabe0548e39993028b05c74e480cd7d27991f8532e8d8eb5eba0a1.slice.
2024-01-23T09:33:51Z [1:n8n5:podman] 5848a7449ccabe0548e39993028b05c74e480cd7d27991f8532e8d8eb5eba0a1
2024-01-23T09:33:51Z [1:n8n5:podman] 5848a7449ccabe0548e39993028b05c74e480cd7d27991f8532e8d8eb5eba0a1
2024-01-23T09:33:51Z [1:n8n5:podman] 07c46f96c9e628d330f05a8a282bfc31581a4453648fb83ba051a74b88c19024
2024-01-23T09:33:51Z [1:n8n5:systemd] Started Podman n8n-pgsql.service.
2024-01-23T09:33:51Z [1:n8n5:n8n-pgsql] 2024-01-23 09:33:51.475 UTC [1] LOG:  database system is ready to accept connections
2024-01-23T09:33:51Z [1:n8n5:runagent] Traceback (most recent call last):
2024-01-23T09:33:52Z [1:n8n5:systemd] n8n-server.service: Scheduled restart job, restart counter is at 7.
2024-01-23T09:33:52Z [1:n8n5:n8n-redis] 1:M 23 Jan 2024 09:33:52.396 # Redis is now ready to exit, bye bye...
2024-01-23T09:33:52Z [1:n8n5:podman] 07c46f96c9e628d330f05a8a282bfc31581a4453648fb83ba051a74b88c19024
2024-01-23T09:33:52Z [1:n8n5:podman] 07c46f96c9e628d330f05a8a282bfc31581a4453648fb83ba051a74b88c19024
2024-01-23T09:33:52Z [1:n8n5:podman] 5848a7449ccabe0548e39993028b05c74e480cd7d27991f8532e8d8eb5eba0a1
2024-01-23T09:33:52Z [1:n8n5:podman] 5848a7449ccabe0548e39993028b05c74e480cd7d27991f8532e8d8eb5eba0a1
2024-01-23T09:33:52Z [1:n8n5:systemd] Created slice cgroup user-libpod_pod_d195d348a28c261475d97fffc72508782d5452c13e9c47b5f6bce28068dfa0fc.slice.
2024-01-23T09:33:52Z [1:n8n5:systemd] Started libcrun container.
2024-01-23T09:33:53Z [1:n8n5:n8n-pgsql] 2024-01-23 09:33:53.242 UTC [1] LOG:  listening on IPv6 address "::", port 5432
2024-01-23T09:33:53Z [1:n8n5:systemd] Started Podman n8n-redis.service.
2024-01-23T09:33:53Z [1:n8n5:n8n-redis] 1:M 23 Jan 2024 09:33:53.330 * RDB is base AOF
2024-01-23T09:33:53Z [1:n8n5:n8n-redis] 1:M 23 Jan 2024 09:33:53.330 * DB loaded from base file appendonly.aof.1.base.rdb: 0.000 seconds
2024-01-23T09:33:54Z [1:n8n5:n8n-redis] 1:signal-handler (1706002434) Received SIGTERM scheduling shutdown...
2024-01-23T09:33:54Z [1:n8n5:n8n-pgsql] 2024-01-23 09:33:54.278 UTC [1] LOG:  received fast shutdown request
2024-01-23T09:33:54Z [1:n8n5:n8n-pgsql] 2024-01-23 09:33:54.286 UTC [22] LOG:  shutting down
2024-01-23T09:33:54Z [1:n8n5:systemd] Starting Podman n8n.service...
2024-01-23T09:33:54Z [1:n8n5:n8n-pgsql]
2024-01-23T09:33:54Z [1:n8n5:n8n-pgsql]
2024-01-23T09:33:54Z [1:n8n5:n8n-pgsql] 2024-01-23 09:33:54.946 UTC [1] LOG:  database system is ready to accept connections
2024-01-23T09:33:55Z [1:n8n5:n8n-redis] 1:M 23 Jan 2024 09:33:55.034 * Server initialized
2024-01-23T09:33:55Z [1:n8n5:n8n-redis] 1:M 23 Jan 2024 09:33:55.035 * DB loaded from append only file: 0.000 seconds
2024-01-23T09:33:55Z [1:n8n5:systemd] Stopped Podman n8n-redis.service.
2024-01-23T09:33:55Z [1:n8n5:n8n-pgsql] 2024-01-23 09:33:55.786 UTC [1] LOG:  received fast shutdown request
2024-01-23T09:33:55Z [1:n8n5:n8n-pgsql] 2024-01-23 09:33:55.807 UTC [1] LOG:  database system is shut down
2024-01-23T09:33:56Z [1:n8n5:podman] db67a2d2c051bd37c121debd0f279cb19869e9063eeb48edae5ec39a67ae2652
2024-01-23T09:33:56Z [1:n8n5:podman] db67a2d2c051bd37c121debd0f279cb19869e9063eeb48edae5ec39a67ae2652
2024-01-23T09:33:56Z [1:n8n5:n8n-pgsql] 2024-01-23 09:33:56.486 UTC [1] LOG:  starting PostgreSQL 15.5 (Debian 15.5-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2024-01-23T09:33:56Z [1:n8n5:n8n-redis] 1:M 23 Jan 2024 09:33:56.588 * monotonic clock: POSIX clock_gettime
2024-01-23T09:33:56Z [1:n8n5:runagent]     os.execvp(args.COMMAND, [args.COMMAND] + args.ARGS)
2024-01-23T09:33:56Z [1:n8n5:runagent] PermissionError: [Errno 13] Permission denied
2024-01-23T09:33:57Z [1:n8n5:podman] 17a6842c20fb00ffc5046af844930da4f94d8b5a17c5aa50d57c993d09fdd678
2024-01-23T09:33:57Z [1:n8n5:podman] 17a6842c20fb00ffc5046af844930da4f94d8b5a17c5aa50d57c993d09fdd678
2024-01-23T09:33:57Z [1:n8n5:n8n-pgsql] 2024-01-23 09:33:57.574 UTC [21] LOG:  shutting down
2024-01-23T09:33:57Z [1:n8n5:podman] e58d4c51d5f870fc621c7c97bc9236d08589d2efe16d827568810dcb05a66d91
2024-01-23T09:33:57Z [1:n8n5:podman] e58d4c51d5f870fc621c7c97bc9236d08589d2efe16d827568810dcb05a66d91
2024-01-23T09:33:57Z [1:n8n5:systemd] Starting Podman n8n.service...
2024-01-23T09:33:58Z [1:n8n5:n8n-pgsql] 2024-01-23 09:33:58.250 UTC [1] LOG:  listening on IPv6 address "::", port 5432
2024-01-23T09:33:58Z [1:n8n5:systemd] Started Podman n8n-redis.service.
2024-01-23T09:33:58Z [1:n8n5:n8n-redis] 1:M 23 Jan 2024 09:33:58.351 * monotonic clock: POSIX clock_gettime
2024-01-23T09:33:58Z [1:n8n5:n8n-redis] 1:M 23 Jan 2024 09:33:58.353 * DB loaded from append only file: 0.000 seconds
2024-01-23T09:33:58Z [1:n8n5:runagent]     os.execvp(args.COMMAND, [args.COMMAND] + args.ARGS)
2024-01-23T09:33:58Z [1:n8n5:runagent] PermissionError: [Errno 13] Permission denied
2024-01-23T09:33:59Z [1:n8n5:n8n-pgsql] 2024-01-23 09:33:59.205 UTC [1] LOG:  received fast shutdown request
2024-01-23T09:33:59Z [1:n8n5:n8n-pgsql] 2024-01-23 09:33:59.213 UTC [22] LOG:  checkpoint starting: shutdown immediate
2024-01-23T09:33:59Z [1:n8n5:n8n-pgsql] 2024-01-23 09:33:59.225 UTC [1] LOG:  database system is shut down
2024-01-23T09:33:59Z [1:n8n5:systemd] Stopping Podman n8n.service...
2024-01-23T09:33:59Z [1:n8n5:systemd] Stopped Podman n8n.service.
2024-01-23T09:33:59Z [1:n8n5:systemd] n8n-redis.service: Job n8n-redis.service/start failed with result 'dependency'.
2024-01-23T09:40:31Z [1:n8n5:agent@n8n5] task/module/n8n5/ba8a0008-e572-4093-b9e0-5eafa7276c92: update-module/05pullimages is starting
2024-01-23T09:40:31Z [1:n8n5:agent@n8n5] Signal "user defined signal 1" caught: shutdown started.
2024-01-23T09:40:31Z [1:n8n5:agent@n8n5] podman pull ghcr.io/compgeniuses/n8n:latest
2024-01-23T09:40:31Z [1:n8n5:agent@n8n5] Trying to pull ghcr.io/compgeniuses/n8n:latest...
2024-01-23T09:40:49Z [1:n8n5:agent@n8n5] Getting image source signatures
2024-01-23T09:40:49Z [1:n8n5:agent@n8n5] Copying blob sha256:3c07b77f507f319dd58edd6e9acda8a1521aa4945c0b58e55f15e5e9307461bf
2024-01-23T09:40:50Z [1:n8n5:agent@n8n5] Copying config sha256:35d9731d8010d6f3778aaa6b685d349f70f3b7c5dad22c652f090973a0aab883
2024-01-23T09:40:50Z [1:n8n5:agent@n8n5] Writing manifest to image destination
2024-01-23T09:40:50Z [1:n8n5:agent@n8n5] podman pull docker.io/library/redis:7.2.3-bookworm docker.io/library/postgres:15.5-bookworm docker.n8n.io/n8nio/n8n:1.25.1
2024-01-23T09:40:50Z [1:n8n5:agent@n8n5] Trying to pull docker.io/library/redis:7.2.3-bookworm...
2024-01-23T09:41:13Z [1:n8n5:agent@n8n5] Getting image source signatures
2024-01-23T09:41:13Z [1:n8n5:agent@n8n5] Copying blob sha256:797591c7970a3db095434a6fd0673ae80c40f814da1c1b39787faf63b8dee51d
2024-01-23T09:41:13Z [1:n8n5:agent@n8n5] Copying blob sha256:bf7f0c8796d3701fef70b4099c3302f3a9e017cc615adf5046f95460fd4b921b
2024-01-23T09:41:13Z [1:n8n5:agent@n8n5] Copying config sha256:e40e2763392d8dea3270841365bf740c7157fb6076a09b43e669aa4159fc5de3
2024-01-23T09:41:13Z [1:n8n5:agent@n8n5] Writing manifest to image destination
2024-01-23T09:41:13Z [1:n8n5:agent@n8n5] e40e2763392d8dea3270841365bf740c7157fb6076a09b43e669aa4159fc5de3
2024-01-23T09:41:37Z [1:n8n5:agent@n8n5] Copying blob sha256:281b584da88e3132853d377fb2fffb6669a3ec2ac5fcf2fe93a65b90fc64ff6f
2024-01-23T09:41:37Z [1:n8n5:agent@n8n5] Copying blob sha256:2f44b7a888fa005d07c031d3cfad2a1c0344207def2ab9dbb97712425ff812c1
2024-01-23T09:41:37Z [1:n8n5:agent@n8n5] Copying blob sha256:87c0e5609f25b43d9b963dc0bb7510cc4c61295dd2fbba6669498f219a38d639
2024-01-23T09:41:37Z [1:n8n5:agent@n8n5] Copying blob sha256:4c9c0f61a7f926a1ad41910ebf3a38ddb2aa372296761190f3eba1ffd2225a57
2024-01-23T09:41:37Z [1:n8n5:agent@n8n5] Copying blob sha256:bb08d32722fa2052441e7076059d4b4757fa2303dee3217d5f8b1403374502ae
2024-01-23T09:41:37Z [1:n8n5:agent@n8n5] Writing manifest to image destination
2024-01-23T09:41:54Z [1:n8n5:agent@n8n5] imageroot/actions/configure-module/validate-input.json
2024-01-23T09:41:54Z [1:n8n5:agent@n8n5] imageroot/actions/create-module/
2024-01-23T09:41:54Z [1:n8n5:agent@n8n5] imageroot/actions/get-configuration/validate-output.json
2024-01-23T09:41:54Z [1:n8n5:agent@n8n5] imageroot/bin/module-dump-state
2024-01-23T09:41:54Z [1:n8n5:agent@n8n5] imageroot/systemd/user/n8n-server.service
2024-01-23T09:41:54Z [1:n8n5:agent@n8n5] Update module/n8n5 environment PREV_POSTGRES_IMAGE=docker.io/library/postgres:15.5-bookworm
2024-01-23T09:42:27Z [1:n8n5:agent@n8n5] task/module/n8n5/85ab4129-8e8a-4d08-ba3c-bd9259b60dc4: get-status/20read is starting
2024-01-23T09:42:27Z [1:n8n5:agent@n8n5] task/module/n8n5/af2acba4-6dc7-4f4a-b244-87fed3672696: get-configuration/20read is starting
2024-01-23T09:42:28Z [1:n8n5:systemd] Configuration file /home/n8n5/.config/systemd/user/n8n-pgsql.service is marked executable. Please remove executable permission bits. Proceeding anyway.
2024-01-23T09:42:28Z [1:n8n5:systemd] Configuration file /home/n8n5/.config/systemd/user/n8n-redis.service is marked executable. Please remove executable permission bits. Proceeding anyway.
2024-01-23T09:42:28Z [1:n8n5:systemd] Configuration file /home/n8n5/.config/systemd/user/n8n-server.service is marked executable. Please remove executable permission bits. Proceeding anyway.
2024-01-23T09:42:28Z [1:n8n5:systemd] Configuration file /home/n8n5/.config/systemd/user/n8n.service is marked executable. Please remove executable permission bits. Proceeding anyway.
2024-01-23T09:42:33Z [1:n8n5:agent@n8n5] task/module/n8n5/079f099f-ac02-4875-b3ff-e475e04a0117: get-configuration/20read is starting
2024-01-23T09:42:33Z [1:n8n5:agent@n8n5] task/module/n8n5/079f099f-ac02-4875-b3ff-e475e04a0117: action "get-configuration" status is "completed" (0) at step validate-output.json
2024-01-23T09:42:34Z [1:n8n5:agent@n8n5] task/module/n8n5/85744d2d-2424-468b-a627-05019ecbc4fa: configure-module/20configure is starting
2024-01-23T09:42:35Z [1:n8n5:agent@n8n5] dump_env() is deprecated and implemented as a no-op
2024-01-23T09:42:35Z [1:n8n5:agent@n8n5] task/module/n8n5/85744d2d-2424-468b-a627-05019ecbc4fa: configure-module/30traefik is starting
2024-01-23T09:42:35Z [1:n8n5:agent@n8n5] dump_env() is deprecated and implemented as a no-op
2024-01-23T09:42:36Z [1:n8n5:systemd] Reloading.
2024-01-23T09:42:36Z [1:n8n5:systemd] Starting Podman n8n.service...
2024-01-23T09:42:36Z [1:n8n5:podman] 665ec06f203db9090ae9f965ddff8a976561c5ae81aab7b8589d125f64a83620
2024-01-23T09:42:36Z [1:n8n5:podman] 665ec06f203db9090ae9f965ddff8a976561c5ae81aab7b8589d125f64a83620
2024-01-23T09:42:36Z [1:n8n5:n8n-pgsql] 2024-01-23 09:42:36.710 UTC [1] LOG:  starting PostgreSQL 15.5 (Debian 15.5-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2024-01-23T09:42:36Z [1:n8n5:n8n-redis] 1:M 23 Jan 2024 09:42:36.825 * monotonic clock: POSIX clock_gettime
2024-01-23T09:42:36Z [1:n8n5:n8n-redis] 1:M 23 Jan 2024 09:42:36.826 * RDB is base AOF
2024-01-23T09:42:37Z [1:n8n5:runagent]   File "<frozen os>", line 607, in _execvpe
2024-01-23T09:42:37Z [1:n8n5:systemd] n8n-server.service: Scheduled restart job, restart counter is at 12.
2024-01-23T09:42:37Z [1:n8n5:n8n-redis] 1:M 23 Jan 2024 09:42:37.327 * User requested shutdown...
2024-01-23T09:42:37Z [1:n8n5:podman] 45d2d9f9bea5756d7b0989b4bdf4e382aa5b7349588a60d4c88a9d4fd305a360
2024-01-23T09:42:37Z [1:n8n5:systemd] Started libcrun container.
2024-01-23T09:42:37Z [1:n8n5:podman] 45d2d9f9bea5756d7b0989b4bdf4e382aa5b7349588a60d4c88a9d4fd305a360
2024-01-23T09:42:38Z [1:n8n5:systemd] Started libcrun container.
2024-01-23T09:42:38Z [1:n8n5:podman] 1af03b6209a2581768a56ce5930bd8fa768c1a50315461c236a0c318bb01e32e
2024-01-23T09:42:38Z [1:n8n5:podman] 75a7ebbe7edb4bd9ba6fd98637434bd95154d275b9cdf5c11bbb2a4ac02f65fb
2024-01-23T09:42:38Z [1:n8n5:systemd] Started Podman n8n-redis.service.
2024-01-23T09:42:38Z [1:n8n5:n8n-redis] 1:M 23 Jan 2024 09:42:38.283 * Reading RDB base file on AOF loading...
2024-01-23T09:42:38Z [1:n8n5:n8n-redis] 1:M 23 Jan 2024 09:42:38.283 * DB loaded from base file appendonly.aof.1.base.rdb: 0.001 seconds
2024-01-23T09:42:38Z [1:n8n5:runagent] Traceback (most recent call last):
2024-01-23T09:42:38Z [1:n8n5:podman] 75a7ebbe7edb4bd9ba6fd98637434bd95154d275b9cdf5c11bbb2a4ac02f65fb
2024-01-23T09:42:38Z [1:n8n5:podman] 75a7ebbe7edb4bd9ba6fd98637434bd95154d275b9cdf5c11bbb2a4ac02f65fb
2024-01-23T09:42:39Z [1:n8n5:n8n-pgsql] 2024-01-23 09:42:39.044 UTC [1] LOG:  database system is shut down
2024-01-23T09:42:39Z [1:n8n5:podman] 552c82521c5a56016e103ef5477b3d7f835ec5950b0741a7dac945eb25aac0f6
2024-01-23T09:42:39Z [1:n8n5:podman] 552c82521c5a56016e103ef5477b3d7f835ec5950b0741a7dac945eb25aac0f6
2024-01-23T09:42:39Z [1:n8n5:n8n-pgsql]
2024-01-23T09:42:39Z [1:n8n5:n8n-pgsql]
2024-01-23T09:42:40Z [1:n8n5:runagent] Traceback (most recent call last):
2024-01-23T09:42:40Z [1:n8n5:runagent]     os.execvp(args.COMMAND, [args.COMMAND] + args.ARGS)
2024-01-23T09:42:40Z [1:n8n5:systemd] n8n-server.service: Scheduled restart job, restart counter is at 14.
2024-01-23T09:42:40Z [1:n8n5:n8n-redis] 1:M 23 Jan 2024 09:42:40.299 * Saving the final RDB snapshot before exiting.
2024-01-23T09:42:40Z [1:n8n5:systemd] Starting Podman n8n.service...
2024-01-23T09:42:41Z [1:n8n5:podman] fcd953cab4b085fd9c7c3e0c73e281d6f1ce2b6ab1714d9bae3dcdf0cb7811bf
2024-01-23T09:42:41Z [1:n8n5:n8n-pgsql] 2024-01-23 09:42:41.117 UTC [24] LOG:  database system was shut down at 2024-01-23 09:42:40 UTC
2024-01-23T09:42:41Z [1:n8n5:n8n-redis] 1:C 23 Jan 2024 09:42:41.187 * Redis version=7.2.3, bits=64, commit=00000000, modified=0, pid=1, just started
2024-01-23T09:42:41Z [1:n8n5:n8n-redis] 1:M 23 Jan 2024 09:42:41.188 * DB loaded from base file appendonly.aof.1.base.rdb: 0.000 seconds
2024-01-23T09:42:41Z [1:n8n5:runagent] PermissionError: [Errno 13] Permission denied
2024-01-23T09:42:41Z [1:n8n5:n8n-redis] 1:signal-handler (1706002961) Received SIGTERM scheduling shutdown...
2024-01-23T09:42:41Z [1:n8n5:n8n-redis] 1:M 23 Jan 2024 09:42:41.891 * Saving the final RDB snapshot before exiting.
2024-01-23T09:42:42Z [1:n8n5:conmon] conmon fcd953cab4b085fd9c7c <nwarn>: Failed to open cgroups file: /sys/fs/cgroup/user.slice/user-1018.slice/user@1018.service/user.slice/user-libpod_pod_c0c5ee1e2fcc2d1e724572c07454a9aa084a4ce207327fdd9e20e9e2de606825.slice/libpod-fcd953cab4b085fd9c7c3e0c73e281d6f1ce2b6ab1714d9bae3dcdf0cb7811bf.scope/container/memory.events
2024-01-23T09:42:42Z [1:n8n5:systemd] Removed slice cgroup user-libpod_pod_c0c5ee1e2fcc2d1e724572c07454a9aa084a4ce207327fdd9e20e9e2de606825.slice.
2024-01-23T09:42:42Z [1:n8n5:n8n-redis] 1:M 23 Jan 2024 09:42:42.795 * Loading RDB produced by version 7.2.3
2024-01-23T09:42:42Z [1:n8n5:n8n-redis] 1:M 23 Jan 2024 09:42:42.796 * Opening AOF incr file appendonly.aof.1.incr.aof on server start
2024-01-23T09:42:43Z [1:n8n5:systemd] Stopping Podman n8n-redis.service...
2024-01-23T09:42:43Z [1:n8n5:n8n-redis] 1:M 23 Jan 2024 09:42:43.300 * User requested shutdown...
2024-01-23T09:42:43Z [1:n8n5:n8n-redis] 1:M 23 Jan 2024 09:42:43.300 * Calling fsync() on the AOF file.
2024-01-23T09:42:43Z [1:n8n5:n8n-pgsql] 2024-01-23 09:42:43.451 UTC [1] LOG:  received fast shutdown request
2024-01-23T09:42:43Z [1:n8n5:n8n-pgsql] 2024-01-23 09:42:43.459 UTC [22] LOG:  checkpoint starting: shutdown immediate
2024-01-23T09:42:43Z [1:n8n5:podman] 5822c3dfa5a8b78ed1bdb3f30983834a632dd9f24240ef8995fcc8a8708ccc40
2024-01-23T09:42:43Z [1:n8n5:podman] 5822c3dfa5a8b78ed1bdb3f30983834a632dd9f24240ef8995fcc8a8708ccc40

probably an action script not executable

You may want to check all the files containing a shebang like #!/bin/bash or #!/usr/bin/env python3

You can find these files in your git repository with $ git grep \#\!/

$ git grep  \#\!/
build-images.sh:#!/bin/bash
imageroot/actions/configure-module/20configure:#!/usr/bin/env python3
imageroot/actions/configure-module/30traefik:#!/usr/bin/env python3
imageroot/actions/configure-module/80start_services:#!/bin/bash
imageroot/actions/create-module/20configure:#!/usr/bin/env python3
imageroot/actions/destroy-module/20destroy:#!/usr/bin/env python3
imageroot/actions/get-configuration/20read:#!/usr/bin/env python3
imageroot/actions/restore-module/06copyenv:#!/usr/bin/env python3
imageroot/actions/restore-module/40restore-postgres:#!/bin/bash
imageroot/actions/restore-module/50traefik:#!/usr/bin/env python3
imageroot/actions/restore-module/70systemd:#!/bin/bash
imageroot/bin/discover-smarthost:#!/usr/bin/env python3
imageroot/bin/module-cleanup-state:#!/bin/bash
imageroot/bin/module-dump-state:#!/bin/bash
imageroot/events/smarthost-changed/10reload_services:#!/bin/bash
imageroot/update-module.d/80restart_service:#!/bin/bash
test-module.sh:#!/bin/bash
ui/container-entrypoint.sh:#!/bin/bash

for the above you can ignore test-module.sh and build-images.sh

And a closer look shows there are quite some files matching above list in the imageroot directory non executable:

$ ls -Rla imageroot/
imageroot/:
total 32
drwxr-xr-x 8 mark mark 4096 Jan 23 12:37 .
drwxr-xr-x 9 mark mark 4096 Jan 23 12:37 ..
drwxr-xr-x 8 mark mark 4096 Jan 23 12:37 actions
drwxr-xr-x 2 mark mark 4096 Jan 23 12:37 bin
drwxr-xr-x 2 mark mark 4096 Jan 23 12:37 etc
drwxr-xr-x 3 mark mark 4096 Jan 23 12:37 events
drwxr-xr-x 3 mark mark 4096 Jan 23 12:37 systemd
drwxr-xr-x 2 mark mark 4096 Jan 23 12:37 update-module.d

imageroot/actions:
total 32
drwxr-xr-x 8 mark mark 4096 Jan 23 12:37 .
drwxr-xr-x 8 mark mark 4096 Jan 23 12:37 ..
drwxr-xr-x 2 mark mark 4096 Jan 23 12:37 clone-module
drwxr-xr-x 2 mark mark 4096 Jan 23 12:37 configure-module
drwxr-xr-x 2 mark mark 4096 Jan 23 12:37 create-module
drwxr-xr-x 2 mark mark 4096 Jan 23 12:37 destroy-module
drwxr-xr-x 2 mark mark 4096 Jan 23 12:37 get-configuration
drwxr-xr-x 2 mark mark 4096 Jan 23 12:37 restore-module

imageroot/actions/clone-module:
total 12
drwxr-xr-x 2 mark mark 4096 Jan 23 12:37 .
drwxr-xr-x 8 mark mark 4096 Jan 23 12:37 ..
-rw-r--r-- 1 mark mark   27 Jan 23 12:37 50traefik

imageroot/actions/configure-module:
total 24
drwxr-xr-x 2 mark mark 4096 Jan 23 12:37 .
drwxr-xr-x 8 mark mark 4096 Jan 23 12:37 ..
-rwxr-xr-x 1 mark mark 1433 Jan 23 12:37 20configure
-rwxr-xr-x 1 mark mark 1243 Jan 23 12:37 30traefik
-rwxr-xr-x 1 mark mark  268 Jan 23 12:37 80start_services
-rw-r--r-- 1 mark mark 1040 Jan 23 12:37 validate-input.json

imageroot/actions/create-module:
total 12
drwxr-xr-x 2 mark mark 4096 Jan 23 12:37 .
drwxr-xr-x 8 mark mark 4096 Jan 23 12:37 ..
-rwxr-xr-x 1 mark mark  503 Jan 23 12:37 20configure

imageroot/actions/destroy-module:
total 12
drwxr-xr-x 2 mark mark 4096 Jan 23 12:37 .
drwxr-xr-x 8 mark mark 4096 Jan 23 12:37 ..
-rw-r--r-- 1 mark mark  743 Jan 23 12:37 20destroy

imageroot/actions/get-configuration:
total 16
drwxr-xr-x 2 mark mark 4096 Jan 23 12:37 .
drwxr-xr-x 8 mark mark 4096 Jan 23 12:37 ..
-rwxr-xr-x 1 mark mark  501 Jan 23 12:37 20read
-rw-r--r-- 1 mark mark 1040 Jan 23 12:37 validate-output.json

imageroot/actions/restore-module:
total 24
drwxr-xr-x 2 mark mark 4096 Jan 23 12:37 .
drwxr-xr-x 8 mark mark 4096 Jan 23 12:37 ..
-rw-r--r-- 1 mark mark 1019 Jan 23 12:37 06copyenv
-rw-r--r-- 1 mark mark  922 Jan 23 12:37 40restore-postgres
-rw-r--r-- 1 mark mark 1517 Jan 23 12:37 50traefik
-rw-r--r-- 1 mark mark  874 Jan 23 12:37 70systemd

imageroot/bin:
total 20
drwxr-xr-x 2 mark mark 4096 Jan 23 12:37 .
drwxr-xr-x 8 mark mark 4096 Jan 23 12:37 ..
-rw-r--r-- 1 mark mark 1345 Jan 23 12:37 discover-smarthost
-rw-r--r-- 1 mark mark  118 Jan 23 12:37 module-cleanup-state
-rw-r--r-- 1 mark mark  211 Jan 23 12:37 module-dump-state

imageroot/etc:
total 12
drwxr-xr-x 2 mark mark 4096 Jan 23 12:37 .
drwxr-xr-x 8 mark mark 4096 Jan 23 12:37 ..
-rw-r--r-- 1 mark mark   92 Jan 23 12:37 state-include.conf

imageroot/events:
total 12
drwxr-xr-x 3 mark mark 4096 Jan 23 12:37 .
drwxr-xr-x 8 mark mark 4096 Jan 23 12:37 ..
drwxr-xr-x 2 mark mark 4096 Jan 23 12:37 smarthost-changed

imageroot/events/smarthost-changed:
total 12
drwxr-xr-x 2 mark mark 4096 Jan 23 12:37 .
drwxr-xr-x 3 mark mark 4096 Jan 23 12:37 ..
-rw-r--r-- 1 mark mark  158 Jan 23 12:37 10reload_services

imageroot/systemd:
total 12
drwxr-xr-x 3 mark mark 4096 Jan 23 12:37 .
drwxr-xr-x 8 mark mark 4096 Jan 23 12:37 ..
drwxr-xr-x 2 mark mark 4096 Jan 23 12:37 user

imageroot/systemd/user:
total 24
drwxr-xr-x 2 mark mark 4096 Jan 23 12:37 .
drwxr-xr-x 3 mark mark 4096 Jan 23 12:37 ..
-rwxr-xr-x 1 mark mark  883 Jan 23 12:37 n8n-pgsql.service
-rwxr-xr-x 1 mark mark  788 Jan 23 12:37 n8n-redis.service
-rwxr-xr-x 1 mark mark 1559 Jan 23 12:37 n8n-server.service
-rwxr-xr-x 1 mark mark 1027 Jan 23 12:37 n8n.service

imageroot/update-module.d:
total 12
drwxr-xr-x 2 mark mark 4096 Jan 23 12:37 .
drwxr-xr-x 8 mark mark 4096 Jan 23 12:37 ..
-rwxr-xr-x 1 mark mark  150 Jan 23 12:37 80restart_service

NOTE: Not saying all the files shown above need to be execrable, those with a shebang probably need to be; As an example : systemd unit files do not need to be executable (they are)

shortlist:

$ find imageroot/ -type f ! -executable
imageroot/etc/state-include.conf
imageroot/actions/clone-module/50traefik
imageroot/actions/destroy-module/20destroy
imageroot/actions/restore-module/50traefik
imageroot/actions/restore-module/70systemd
imageroot/actions/restore-module/40restore-postgres
imageroot/actions/restore-module/06copyenv
imageroot/actions/get-configuration/validate-output.json
imageroot/actions/configure-module/validate-input.json
imageroot/bin/discover-smarthost
imageroot/bin/module-cleanup-state
imageroot/bin/module-dump-state
imageroot/events/smarthost-changed/10reload_services

AFAIK this needs to be executable as well:

$ls -la ui/container-entrypoint.sh
-rw-r--r-- 1 mark mark 306 Jan 23 12:37 ui/container-entrypoint.sh
5 Likes

I have resolved all o f the permissions issues on the sections that need resolved. if you have a moment, could you test from your end, and look into the module,

Maybe there is something i am missing, or jsut cant see it yet

$ git grep \#\!/
build-images.sh:#!/bin/bash
imageroot/actions/configure-module/20configure:#!/usr/bin/env python3
imageroot/actions/configure-module/30traefik:#!/usr/bin/env python3
imageroot/actions/configure-module/80start_services:#!/bin/bash
imageroot/actions/create-module/20configure:#!/usr/bin/env python3
imageroot/actions/destroy-module/20destroy:#!/usr/bin/env python3
imageroot/actions/get-configuration/20read:#!/usr/bin/env python3
imageroot/actions/restore-module/06copyenv:#!/usr/bin/env python3
imageroot/actions/restore-module/40restore-postgres:#!/bin/bash
imageroot/actions/restore-module/50traefik:#!/usr/bin/env python3
imageroot/actions/restore-module/70systemd:#!/bin/bash
imageroot/bin/discover-smarthost:#!/usr/bin/env python3
imageroot/bin/module-cleanup-state:#!/bin/bash
imageroot/bin/module-dump-state:#!/bin/bash
imageroot/events/smarthost-changed/10reload_services:#!/bin/bash
imageroot/update-module.d/80restart_service:#!/bin/bash
test-module.sh:#!/bin/bash
ui/container-entrypoint.sh:#!/bin/bash
$ find imageroot/ -type f ! -executable
imageroot/systemd/user/n8n-redis.service
imageroot/systemd/user/n8n-pgsql.service
imageroot/systemd/user/n8n.service
imageroot/systemd/user/n8n-server.service
imageroot/etc/state-include.conf
imageroot/actions/get-configuration/validate-output.json
imageroot/actions/configure-module/validate-input.json
imageroot/bin/discover-smarthost
imageroot/bin/module-cleanup-state
imageroot/bin/module-dump-state
imageroot/events/smarthost-changed/10reload_services

cross examine above lists leaves:

imageroot/bin/discover-smarthost
imageroot/bin/module-cleanup-state
imageroot/bin/module-dump-state
imageroot/events/smarthost-changed/10reload_services

who probably should be executable.

This is the last time I’m helping with this :
Stop developing for linux on a non POSIX file-system. It is not possible. , use wsl

3 Likes

thank you mark, have done as instructed.

We now have some success

checking the error logs, we find this

2024-01-30T07:19:09+03:00 [3:n8n2:n8n-redis] 1:M 30 Jan 2024 04:19:09.424 # Redis is now ready to exit, bye bye...
2024-01-30T07:19:09+03:00 [3:n8n2:conmon] conmon f31582795622104d93ce <nwarn>: Failed to open cgroups file: /sys/fs/cgroup/user.slice/user-1006.slice/user@1006.service/user.slice/user-libpod_pod_3d2604731dc80c84d6951fcdc7973e35009e66b83f6235469ef48386f1fa4643.slice/libpod-f31582795622104d93ce3aba94938c80cd7a6f0ce34ce46fec4a23aa3666c703.scope/container/memory.events
2024-01-30T07:19:09+03:00 [3:n8n2:podman] f31582795622104d93ce3aba94938c80cd7a6f0ce34ce46fec4a23aa3666c703
2024-01-30T07:19:09+03:00 [3:n8n2:podman] f31582795622104d93ce3aba94938c80cd7a6f0ce34ce46fec4a23aa3666c703
2024-01-30T07:19:09+03:00 [3:n8n2:systemd] Stopped Podman n8n-redis.service.
2024-01-30T07:19:09+03:00 [3:n8n2:systemd] Stopping Podman n8n-pgsql.service...
2024-01-30T07:19:09+03:00 [3:n8n2:n8n-pgsql] 2024-01-30 04:19:09.602 UTC [1] LOG:  received fast shutdown request
2024-01-30T07:19:09+03:00 [3:n8n2:n8n-pgsql] 2024-01-30 04:19:09.607 UTC [1] LOG:  aborting any active transactions
2024-01-30T07:19:09+03:00 [3:n8n2:n8n-pgsql] 2024-01-30 04:19:09.611 UTC [1] LOG:  background worker "logical replication launcher" (PID 26) exited with exit code 1
2024-01-30T07:19:09+03:00 [3:n8n2:n8n-pgsql] 2024-01-30 04:19:09.611 UTC [21] LOG:  shutting down
2024-01-30T07:19:09+03:00 [3:n8n2:n8n-pgsql] 2024-01-30 04:19:09.613 UTC [21] LOG:  checkpoint starting: shutdown immediate
2024-01-30T07:19:09+03:00 [3:n8n2:n8n-pgsql] 2024-01-30 04:19:09.622 UTC [21] LOG:  checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.001 s, sync=0.003 s, total=0.011 s; sync files=2, longest=0.002 s, average=0.002 s; distance=0 kB, estimate=0 kB
2024-01-30T07:19:09+03:00 [3:n8n2:n8n-pgsql] 2024-01-30 04:19:09.625 UTC [1] LOG:  database system is shut down
2024-01-30T07:19:09+03:00 [3:n8n2:podman] 7d16875a537776e15a1b713932539803cf84036ab0fd1c67275b44b4564ef3c8
2024-01-30T07:19:09+03:00 [3:n8n2:podman] 7d16875a537776e15a1b713932539803cf84036ab0fd1c67275b44b4564ef3c8
2024-01-30T07:19:09+03:00 [3:n8n2:systemd] Stopped Podman n8n-pgsql.service.
2024-01-30T07:19:09+03:00 [3:n8n2:systemd] Stopping Podman n8n.service...
2024-01-30T07:19:09+03:00 [3:n8n2:podman] 3d2604731dc80c84d6951fcdc7973e35009e66b83f6235469ef48386f1fa4643
2024-01-30T07:19:09+03:00 [3:n8n2:systemd] Removed slice cgroup user-libpod_pod_3d2604731dc80c84d6951fcdc7973e35009e66b83f6235469ef48386f1fa4643.slice.
2024-01-30T07:19:09+03:00 [3:n8n2:podman] 3d2604731dc80c84d6951fcdc7973e35009e66b83f6235469ef48386f1fa4643
2024-01-30T07:19:09+03:00 [3:n8n2:systemd] Stopped Podman n8n.service.
2024-01-30T07:19:09+03:00 [3:n8n2:systemd] n8n.service: Start request repeated too quickly.
2024-01-30T07:19:09+03:00 [3:n8n2:systemd] n8n.service: Failed with result 'start-limit-hit'.
2024-01-30T07:19:09+03:00 [3:n8n2:systemd] Failed to start Podman n8n.service.
2024-01-30T07:19:09+03:00 [3:n8n2:systemd] Dependency failed for Podman n8n-pgsql.service.
2024-01-30T07:19:09+03:00 [3:n8n2:systemd] n8n-pgsql.service: Job n8n-pgsql.service/start failed with result 'dependency'.
2024-01-30T07:19:09+03:00 [3:n8n2:systemd] Dependency failed for Podman n8n server.
2024-01-30T07:19:09+03:00 [3:n8n2:systemd] n8n-server.service: Job n8n-server.service/start failed with result 'dependency'.
2024-01-30T07:19:09+03:00 [3:n8n2:systemd] Dependency failed for Podman n8n-redis.service.
2024-01-30T07:19:09+03:00 [3:n8n2:systemd] n8n-redis.service: Job n8n-redis.service/start failed with result 'dependency'.

What does:
2024-01-30T07:19:09+03:00 [3:n8n2:systemd] n8n.service: Start request repeated too quickly.
2024-01-30T07:19:09+03:00 [3:n8n2:systemd] n8n.service: Failed with result ‘start-limit-hit’.

start limit hit mean?

Systemd has tried to start too many times your services and it stops to try due to error

Since each services is tied, one failure makes all the services fail

1 Like