You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First install of locast2plex, excited to get it running. I am a subscriber to locast.
I'm using a windows hypervisor partition running Centos 7. My config.ini & docker-compose.yaml files are in /docker/containers/locast2plex
[root@locast locast2plex]# pwd
/docker/containers/locast2plex
[root@locast locast2plex]# ls -la
drwxr-xr-x. 2 root root 51 Mar 31 19:18 .
drwxr-xr-x. 3 root root 25 Mar 31 19:18 ..
-rwxrwxrwx. 1 root root 108 Mar 31 19:18 config.ini
-rwxrwxrwx. 1 root root 273 Mar 31 19:19 docker-compose.yaml
The config.ini files is:
[root@locast locast2plex]# cat config.ini
[main]
plex_accessible_ip = 192.168.1.74
When I run "docker run -v /docker/containers/locast2plex/config.ini:/app/config/config.ini -p 6077:6077 tgorg/locast2plex"
docker output is:
Unable to find image 'tgorg/locast2plex:latest' locally
Trying to pull repository docker.io/tgorg/locast2plex ...
latest: Pulling from docker.io/tgorg/locast2plex
801bfaa63ef2: Pull complete
7678dd7631a2: Pull complete
4c6139ab40d8: Pull complete
ff5ef8cd8062: Pull complete
d5ff8c0d12de: Pull complete
5d38bd1f162b: Pull complete
09e8a4a65eea: Pull complete
21dc4dbf2550: Pull complete
1869d70bd571: Pull complete
296fe1dcd846: Pull complete
8d5960757d26: Pull complete
Digest: sha256:0c94721c55af421ee694b618cb06ad7bfdb11be6b665643de1ad0edcdaf80959
Status: Downloaded newer image for docker.io/tgorg/locast2plex:latest
Initiating Locast2Plex v0.6.5
Opening and Verifying Configuration File.
/app/config/config.ini
/app/config.ini
Config file missing, Exiting...
When I run a "docker-compose up" the output is:
[root@locast locast2plex]# docker-compose up
Creating locast2plex ... done
Attaching to locast2plex
locast2plex | Initiating Locast2Plex v0.6.5
locast2plex | Opening and Verifying Configuration File.
locast2plex | /app/config/config.ini
locast2plex | /app/config.ini
locast2plex | Config file missing, Exiting...
[root@locast locast2plex]#
I'm kind of beating my head against a wall trying to understand why the config.ini file is missing. I saw an earlier post about leaving off the file name "docker run -v /docker/containers/locast2plex/:/app/config/ -p 6077:6077 tgorg/locast2plex" but I still get the same issue.
Any help is appreciated!
The text was updated successfully, but these errors were encountered:
I changed the Dockerfile by deleting its RUN touch and providing
# .. set up a flag (using an empty file) that we are in a docker container
# .. and create a dummy config.ini file
RUN touch /app/is_container \
&& \
touch /app/config.ini \
&& \
cd /app \
&& \
ls -alR
(the last four lines are not needed but are only a confirmation that it worked. If you drop the last four lines, be sure to drop the continuation)
You can always check a docker image by overriding the entrypoint when you start the container (to just start the shell ( /bin/sh or /bin/ash, depends) on the docker RUN (you may also need -it). [you can also python3 /app/main.py with that shell and then kill it with cntl-c and it will come right back to the shell]
I also had problems with timezone, but that is another issue.
First install of locast2plex, excited to get it running. I am a subscriber to locast.
I'm using a windows hypervisor partition running Centos 7. My config.ini & docker-compose.yaml files are in /docker/containers/locast2plex
[root@locast locast2plex]# pwd
/docker/containers/locast2plex
[root@locast locast2plex]# ls -la
drwxr-xr-x. 2 root root 51 Mar 31 19:18 .
drwxr-xr-x. 3 root root 25 Mar 31 19:18 ..
-rwxrwxrwx. 1 root root 108 Mar 31 19:18 config.ini
-rwxrwxrwx. 1 root root 273 Mar 31 19:19 docker-compose.yaml
The config.ini files is:
[root@locast locast2plex]# cat config.ini
[main]
plex_accessible_ip = 192.168.1.74
locast_username=[email protected]
locast_password=my_password_all_numbers
When I run "docker run -v /docker/containers/locast2plex/config.ini:/app/config/config.ini -p 6077:6077 tgorg/locast2plex"
docker output is:
Unable to find image 'tgorg/locast2plex:latest' locally
Trying to pull repository docker.io/tgorg/locast2plex ...
latest: Pulling from docker.io/tgorg/locast2plex
801bfaa63ef2: Pull complete
7678dd7631a2: Pull complete
4c6139ab40d8: Pull complete
ff5ef8cd8062: Pull complete
d5ff8c0d12de: Pull complete
5d38bd1f162b: Pull complete
09e8a4a65eea: Pull complete
21dc4dbf2550: Pull complete
1869d70bd571: Pull complete
296fe1dcd846: Pull complete
8d5960757d26: Pull complete
Digest: sha256:0c94721c55af421ee694b618cb06ad7bfdb11be6b665643de1ad0edcdaf80959
Status: Downloaded newer image for docker.io/tgorg/locast2plex:latest
Initiating Locast2Plex v0.6.5
Opening and Verifying Configuration File.
/app/config/config.ini
/app/config.ini
Config file missing, Exiting...
When I run a "docker-compose up" the output is:
[root@locast locast2plex]# docker-compose up
Creating locast2plex ... done
Attaching to locast2plex
locast2plex | Initiating Locast2Plex v0.6.5
locast2plex | Opening and Verifying Configuration File.
locast2plex | /app/config/config.ini
locast2plex | /app/config.ini
locast2plex | Config file missing, Exiting...
[root@locast locast2plex]#
I'm kind of beating my head against a wall trying to understand why the config.ini file is missing. I saw an earlier post about leaving off the file name "docker run -v /docker/containers/locast2plex/:/app/config/ -p 6077:6077 tgorg/locast2plex" but I still get the same issue.
Any help is appreciated!
The text was updated successfully, but these errors were encountered: