Need to re-add server after very reboot of Raspberry Pi (Docker)

Server Version#: 1.25.3.5409

I have not seen a similar issue after searching the forum.

I installed Plex in my Raspberry Pi 4 using the docker image from linuxserver. Everything runs fine, except that every time I restart the container, I need to add the server again.

It shows my previously added server as unavailable (The server “Pi” is unreachable. Make sure it’s running, double check your network, and try again.), but it shows that “raspberrypi” is nearby, allowing me to add it. Problem is, I need to start from scratch every time.

Below are my docker-compose settings:

  plex:
    image: lscr.io/linuxserver/plex
    container_name: plex
    restart: unless-stopped
    network_mode: host
    environment:
      - PUID=1000
      - PGID=1000
      - VERSION=docker
    volumes:
      - /PATH_TO_EXTERNAL_HDD:/config
      - /PATH_TO_EXTERNAL_HDD:/transcode
      - /PATH_TO_EXTERNAL_HDD:/all_media 

Replying to my own question in case this is helpful to anyone else. The issue was caused because the external HDD had not been properly mounted, so every time the Pi rebooted, the path was being modified. Now that the HDD is properly mounted, all is well.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.