Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration loss on container restart #2063

Open
Nooton92 opened this issue Nov 25, 2024 · 4 comments
Open

Configuration loss on container restart #2063

Nooton92 opened this issue Nov 25, 2024 · 4 comments
Assignees
Labels
Need Info Need additional Information or will close.

Comments

@Nooton92
Copy link

NOTE: IF YOU DO NOT ATTACH YOUR LOG FILES, THEN THERE IS A HIGHER PROBABILITY THE ISSUE WON'T BE RESOLVED. (Steps at end)

Please answer the following:

FPP Version and Hardware:
8.x-master-729-ga6cdccee
Running in UnRaid on a T330 poweredge

Describe the bug and Steps to reproduce:
On container restart all configuration is lost. Opening the webUI brings me to the first time set up requiring password setting, location, etc. and all controllers, playlists etc. need to be set up again.

Expected behavior:
Once config is set it should not be wiped on a container restart.
FPP_Logs_20241125.0046.zip

@ghormann
Copy link
Member

What persistent volumes are you mounting? If you don't have a volumne for /home/fpp/media this would explain the problem.

@ghormann ghormann added the Need Info Need additional Information or will close. label Nov 25, 2024
@Nooton92
Copy link
Author

Screenshot_20241124-182850
I have /home/FPP mounted so all subfolders should be covered already correct?

@ghormann
Copy link
Member

Thanks. I'll try and reproduce later this week.

@ghormann ghormann removed the Need Info Need additional Information or will close. label Nov 25, 2024
@ghormann ghormann self-assigned this Nov 25, 2024
@ghormann
Copy link
Member

I'm struggling to reproduce this with newer (8,.3+) builds. I even tried starting with an 8.3 and then upgrading to latest and it remembered my configuration. here is the docker-compose file I'm using:

# Setup:
#
# mkdir /docker/fpp-docker
# cd /docker/fpp-docker
# wget -O ./docker-compose.yml https://raw.githubusercontent.com/FalconChristmas/fpp/master/Docker/docker-compose.yml
# mkdir media
# chmod 770 media
# chown 500:500 media

# To start the container and keep it running:
#
# cd /docker/fpp-docker
# docker-compose up -d

# To stop the running container:
#
# cd /docker/fpp-docker
# docker-compose down

services:
  fpp-docker:
    container_name: fpp-docker
    image: falconchristmas/fpp:latest
    restart: always

    # FPP will report this hostname via MultiSync
    hostname: fpp-docker

    volumes:
      - ./media:/home/fpp/media

    environment:
      # To allow the instance to report its external IP, you can optionally
      # define a FPP_DOCKER_IP environment variable with the external IP
      #      - FPP_DOCKER_IP=192.168.1.10
      - TZ=America/Los_Angeles

    # By Default, we don't run privileged containers.  If you need to
    # access the sound card, this may be required.

    # privileged: true

    ports:
        - 80:80

@ghormann ghormann added the Need Info Need additional Information or will close. label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Need Info Need additional Information or will close.
Projects
None yet
Development

No branches or pull requests

2 participants