Replies: 5 comments 2 replies
-
The no default cli found is not an issue.
Maybe try disabling restart: always in the docker container and see if it
prints anything else as for the log looks good
…-- Sorry for being brief, sent from my phone.
On Fri, 10 Mar 2023, 11:41 ajm83, ***@***.***> wrote:
Hello
I'm attempting to run the "pigallery2-only" version on my N40L running
Ubuntu 22.04 (I don't need NGINX reverse proxying it)
When I try to start the container, i get the following loop:
***@***.***:~/pigallery# docker-compose up
Creating network "pigallery_default" with the default driver
Creating pigallery2 ... done
Attaching to pigallery2
pigallery2 | [Typeconfig] Loading config. Path: /app/data/config/config.json
pigallery2 | [Typeconfig] Loading defaults from file: undefined
pigallery2 | [Typeconfig] Loading defaults, def prefix: default
pigallery2 | [Typeconfig] no default cli found among these: {
pigallery2 | "expose": {
pigallery2 | "gc": true
pigallery2 | },
pigallery2 | "config": {
pigallery2 | "path": "/app/data/config/config.json"
pigallery2 | }
pigallery2 | }
pigallery2 | [Typeconfig] from env: {
pigallery2 | "Database": {
pigallery2 | "dbFolder": "/app/data/db"
pigallery2 | },
pigallery2 | "Media": {
pigallery2 | "folder": "/app/data/images",
pigallery2 | "tempFolder": "/app/data/tmp"
pigallery2 | }
pigallery2 | }
pigallery2 | [Typeconfig] Processing cli and ENV inputs: {
pigallery2 | "expose": {
pigallery2 | "gc": true
pigallery2 | },
pigallery2 | "config": {
pigallery2 | "path": "/app/data/config/config.json"
pigallery2 | }
pigallery2 | }
pigallery2 | [Typeconfig] Processing cli and ENV inputs: {
pigallery2 | "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
pigallery2 | "HOSTNAME": "713911eebd7b",
pigallery2 | "NODE_ENV": "debug",
pigallery2 | "NODE_VERSION": "18.13.0",
pigallery2 | "YARN_VERSION": "1.22.19",
pigallery2 | "PI_DOCKER": true,
pigallery2 | "HOME": "/root"
pigallery2 | }
pigallery2 | NODE_ENV environmental variable is set to debug, forcing all logs to print
pigallery2 | 3/10/2023, 10:28:26 AM[INFO_][server] Running in DEBUG mode, set env variable NODE_ENV=production to disable
pigallery2 | 3/10/2023, 10:28:26 AM[INFO_][server] running diagnostics...
pigallery2 | [Typeconfig] Loading config. Path: /app/data/config/config.json
pigallery2 | [Typeconfig] Loading defaults from file: undefined
pigallery2 | [Typeconfig] Loading defaults, def prefix: default
pigallery2 | [Typeconfig] no default cli found among these: {
pigallery2 | "expose": {
pigallery2 | "gc": true
pigallery2 | },
pigallery2 | "config": {
pigallery2 | "path": "/app/data/config/config.json"
pigallery2 | }
pigallery2 | }
pigallery2 | [Typeconfig] from env: {
pigallery2 | "Database": {
pigallery2 | "dbFolder": "/app/data/db"
pigallery2 | },
pigallery2 | "Media": {
pigallery2 | "folder": "/app/data/images",
pigallery2 | "tempFolder": "/app/data/tmp"
pigallery2 | }
pigallery2 | }
pigallery2 | [Typeconfig] Processing cli and ENV inputs: {
pigallery2 | "expose": {
pigallery2 | "gc": true
pigallery2 | },
pigallery2 | "config": {
pigallery2 | "path": "/app/data/config/config.json"
pigallery2 | }
pigallery2 | }
pigallery2 | [Typeconfig] Processing cli and ENV inputs: {
pigallery2 | "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
pigallery2 | "HOSTNAME": "713911eebd7b",
pigallery2 | "NODE_ENV": "debug",
pigallery2 | "NODE_VERSION": "18.13.0",
pigallery2 | "YARN_VERSION": "1.22.19",
pigallery2 | "PI_DOCKER": true,
pigallery2 | "HOME": "/root"
pigallery2 | }
pigallery2 | NODE_ENV environmental variable is set to debug, forcing all logs to print
pigallery2 | 3/10/2023, 10:28:30 AM[INFO_][server] Running in DEBUG mode, set env variable NODE_ENV=production to disable
pigallery2 | 3/10/2023, 10:28:30 AM[INFO_][server] running diagnostics...
pigallery2 exited with code 132
pigallery2 | [Typeconfig] Loading config. Path: /app/data/config/config.json
pigallery2 | [Typeconfig] Loading defaults from file: undefined
pigallery2 | [Typeconfig] Loading defaults, def prefix: default
pigallery2 | [Typeconfig] no default cli found among these: {
pigallery2 | "expose": {
pigallery2 | "gc": true
pigallery2 | },
pigallery2 | "config": {
pigallery2 | "path": "/app/data/config/config.json"
pigallery2 | }
pigallery2 | }
pigallery2 | [Typeconfig] from env: {
pigallery2 | "Database": {
pigallery2 | "dbFolder": "/app/data/db"
pigallery2 | },
pigallery2 | "Media": {
pigallery2 | "folder": "/app/data/images",
pigallery2 | "tempFolder": "/app/data/tmp"
pigallery2 | }
pigallery2 | }
pigallery2 | [Typeconfig] Processing cli and ENV inputs: {
pigallery2 | "expose": {
pigallery2 | "gc": true
pigallery2 | },
pigallery2 | "config": {
pigallery2 | "path": "/app/data/config/config.json"
pigallery2 | }
pigallery2 | }
pigallery2 | [Typeconfig] Processing cli and ENV inputs: {
pigallery2 | "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
pigallery2 | "HOSTNAME": "713911eebd7b",
pigallery2 | "NODE_ENV": "debug",
pigallery2 | "NODE_VERSION": "18.13.0",
pigallery2 | "YARN_VERSION": "1.22.19",
pigallery2 | "PI_DOCKER": true,
pigallery2 | "HOME": "/root"
pigallery2 | }
pigallery2 | NODE_ENV environmental variable is set to debug, forcing all logs to print
Is the problem the "no default cli found among these" line? If so what
does that mean...?
My docker-compose.yml is as follows:
***@***.***:~/pigallery# cat docker-compose.yml
version: '3'
services:
pigallery2:
image: bpatrik/pigallery2:latest
container_name: pigallery2
environment:
- NODE_ENV=debug # set to 'debug' for full debug logging
volumes:
- "./pigallery2/config:/app/data/config" # CHANGE ME
- "db-data:/app/data/db"
- "/mnt/pool/Photos:/app/data/images:ro" # CHANGE ME, ':ro' means read-only
- "/tmp/pigallery2:/app/data/tmp" # CHANGE ME
ports:
- "8081:80"
restart: always
volumes:
db-data:
—
Reply to this email directly, view it on GitHub
<#632>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABZKA5WZOW435LV73V5TDUDW3MAOPANCNFSM6AAAAAAVWJORVE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Huh, I just run into the same issue, looks like it is exiting with SIGILL
I am trying to run this thing on a pretty old CPU an I am also handicapping myself by trying to run the image through podman. |
Beta Was this translation helpful? Give feedback.
-
Very interesting point @ijanos , we have the same CPU but yours has a faster clock speed. Do you know which binary is core dumping? For reference the CPU flags are as follows: |
Beta Was this translation helpful? Give feedback.
-
Seeing how far it gets (running the diagnostics), where it touches DB, ffmpeg, sharp, file system. You can try disabling video support to see if the issue is with ffmpeg. (if with something other things, I'm not sure if I can help). Also here is a similar issue: #412 (comment) |
Beta Was this translation helpful? Give feedback.
-
Oh another old hardware issue.
|
Beta Was this translation helpful? Give feedback.
-
Hello
I'm attempting to run the "pigallery2-only" version on my N40L (x64 HP mini NAS box) running Ubuntu 22.04 (I don't need NGINX reverse proxying it)
When I try to start the container, i get the following loop:
Is the problem the "no default cli found among these" line? If so what does that mean...?
My docker-compose.yml is as follows:
Beta Was this translation helpful? Give feedback.
All reactions