![]() |
#241 |
Addict
![]() Posts: 274
Karma: 96
Join Date: Nov 2017
Location: Germany
Device: Tolino Vision6
|
@mariosipad
ha, no docker found - guess the reason is that this (pigallery) should run on my second PI |
![]() |
![]() |
![]() |
#242 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
@huber70
![]() On the same pi as calibre-web? |
![]() |
![]() |
Advert | |
|
![]() |
#243 |
Addict
![]() Posts: 274
Karma: 96
Join Date: Nov 2017
Location: Germany
Device: Tolino Vision6
|
@mariosipad
no, the other Steps I started with sudo apt update sudo apt upgrade curl -sSL https://get.docker.com | sh Last edited by huber70; 07-03-2023 at 12:07 PM. |
![]() |
![]() |
![]() |
#244 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
@huber70
And ended with a working photo gallery? |
![]() |
![]() |
![]() |
#245 |
Addict
![]() Posts: 274
Karma: 96
Join Date: Nov 2017
Location: Germany
Device: Tolino Vision6
|
@mariosipad
oh no, I followed (tried to follow) the steps as described on https://www.makeuseof.com/how-to-ins...-raspberry-pi/ but - nothing, guess I didn't understood the input to the .yml file: wrote: version: '3' services: pigallery2: image: bpatrik/pigallery2:latest container_name: pigallery2 environment: - NODE_ENV=production volumes: - "./pigallery2/config:/app/data/config" # CHANGE ME - "db-data:/app/data/db" - "./pigallery2/images:/app/data/images:ro" # CHANGE ME, ':ro' mean read-only - "./pigallery2/tmp:/app/data/tmp" # CHANGE ME ports: - 80:80 restart: always volumes: db-data: Don't know what to keep and what to change |
![]() |
![]() |
Advert | |
|
![]() |
#246 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
@huber70
therefore use: Code:
docker run -d \ --name=pigallery2 \ -p 8282:80 \ -e NODE_ENV=production \ -v /home/pi/Docker/pigallery2/config:/app/data/config \ -v /home/pi/Docker/pigallery2/db:/app/data/db \ -v /home/pi/Docker/pigallery2/images:/app/data/images \ -v /home/pi/Docker/pigallery2/tmp:/app/data/tmp \ --restart=unless-stopped \ bpatrik/pigallery2:latest |
![]() |
![]() |
![]() |
#247 |
Addict
![]() Posts: 274
Karma: 96
Join Date: Nov 2017
Location: Germany
Device: Tolino Vision6
|
results in the following:
> --name=pigallery2 \ > -p 8282:80 \ > -e NODE_ENV=production \ > -v /home/pi/Docker/pigallery2/config:/app/data/config \ > -v /home/pi/Docker/pigallery2/db:/app/data/db \ > -v /home/pi/Docker/pigallery2/images:/app/data/images \ > -v /home/pi/Docker/pigallery2/tmp:/app/data/tmp \ > --restart=unless-stopped \ > bpatrik/pigallery2:latest docker: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create?name=pigallery2": dial unix /var/run/docker.sock: connect: permission denied. See 'docker run --help'. |
![]() |
![]() |
![]() |
#248 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
@huber70
sudo usermod -aG docker pi then logout of the pi and login again |
![]() |
![]() |
![]() |
#249 |
Addict
![]() Posts: 274
Karma: 96
Join Date: Nov 2017
Location: Germany
Device: Tolino Vision6
|
@mariosipad
ok, did it and run the script again with the following: docker run -d \ > --name=pigallery2 \ > -p 8282:80 \ > -e NODE_ENV=production \ > -v /home/pi/Docker/pigallery2/config:/app/data/config \ > -v /home/pi/Docker/pigallery2/db:/app/data/db \ > -v /home/pi/Docker/pigallery2/images:/app/data/images \ > -v /home/pi/Docker/pigallery2/tmp:/app/data/tmp \ > --restart=unless-stopped \ > bpatrik/pigallery2:latest Unable to find image 'bpatrik/pigallery2:latest' locally latest: Pulling from bpatrik/pigallery2 330ad28688ae: Pull complete 55fd9a82ebad: Pull complete baa5a071f818: Pull complete 91c48c827d3f: Pull complete 74f56d374b73: Pull complete 6e22f38353da: Pull complete 4885a33ad691: Pull complete 539bcb559b72: Pull complete 83b059a6bb9d: Pull complete Digest: sha256:d554a370b7189421b33ccf9faa66fbfb61f9050ca0f 04ef259830e2e00d5aaba Status: Downloaded newer image for bpatrik/pigallery2:latest 2aa1aaff8d012fe2b910b9bcd6077770e9079ac04e13984e79 4d059354a8c4ee äh - and now? |
![]() |
![]() |
![]() |
#250 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
@huber70
In a browser: http://<IPofPi>:8282 Login is admin admin |
![]() |
![]() |
![]() |
#251 |
Addict
![]() Posts: 274
Karma: 96
Join Date: Nov 2017
Location: Germany
Device: Tolino Vision6
|
@mariosipad
sorry, no connection |
![]() |
![]() |
![]() |
#252 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
@huber70
What is the output of: docker images and docker ps -a and docker ps ? Last edited by mariosipad; 07-04-2023 at 04:30 AM. |
![]() |
![]() |
![]() |
#253 |
Addict
![]() Posts: 274
Karma: 96
Join Date: Nov 2017
Location: Germany
Device: Tolino Vision6
|
@mariosipad
here we go: pi@raspberrypi:~ $ docker images REPOSITORY TAG IMAGE ID CREATED SIZE hello-world latest 38d49488e3b0 2 months ago 4.85kB bpatrik/pigallery2 latest 55f2c95b5de3 5 months ago 573MB pi@raspberrypi:~ $ docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 2d6a83b6ae47 hello-world "/hello" 8 hours ago Exited (0) 8 hours ago nifty_bhaskara 2aa1aaff8d01 bpatrik/pigallery2:latest "node ./src/backend/…" 11 hours ago Restarting (132) 2 seconds ago pigallery2 0c24806e9f28 hello-world "/hello" 15 hours ago Exited (0) 15 hours ago pi@raspberrypi:~ $ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 2aa1aaff8d01 bpatrik/pigallery2:latest "node ./src/backend/…" 11 hours ago Restarting (132) 41 seconds ago pigallery2 |
![]() |
![]() |
![]() |
#254 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
|
![]() |
![]() |
![]() |
#255 |
Addict
![]() Posts: 274
Karma: 96
Join Date: Nov 2017
Location: Germany
Device: Tolino Vision6
|
@mariosipad
that's what I already did - no effect |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
COPS : Calibre OPDS PHP Server | vlad59 | Related Tools | 1923 | 04-22-2025 05:33 PM |
OPDS in php or populate metadata.db from filesystem | skelos | Related Tools | 0 | 09-06-2019 11:03 AM |
php??? | crutledge | ePub | 13 | 01-24-2014 06:27 PM |
Which PHP version do you have? | erayd | Workshop | 2 | 10-04-2010 08:02 PM |