Your changes could not be saved

Server Version#: 1.32.3.7089

For some unusual reason, currently, whenever I try to make a change within the server, I get:

“Your changes could not be saved.”

image

I can’t see any issues with permissions.

Currently running in Docker, on an Ubuntu 22.04 host.

 ########
 ##Plex##
 ########

 #Plex - Media Centre
  plex:
    image: plexinc/pms-docker:plexpass
    # image: plexinc/pms-docker:public #change to this if beta is ■■■■■■ - https://hub.docker.com/r/plexinc/pms-docker/tags/
    # image: linuxserver/plex
    container_name: Plex
    hostname: LexPlex
    environment:
      - TZ=$TZ
      - PLEX_UID=$PUID
      - PLEX_GID=$PGID
      # - PUID=$PUID # LSIO
      # - PGID=$PGID # LSIO
      - VERSION=plexpass
      # - VERSION=latest # LSIO
      - ADVERTISE_IP=http://$SERVER_IP:$PLEX_PORT,https://plex.$DOMAINNAME
      # - ALLOWED_NETWORKS=$NETWORK_NETMASK,$DOCKER_NETMASK
      #- PLEX_CLAIM=$PLEX_CLAIM #https://plex.tv/claim
      - NVIDIA_VISIBLE_DEVICES=0
      - NVIDIA_DRIVER_CAPABILITIES=compute,video,utility
    runtime: nvidia
    devices:
      - /dev/dri:/dev/dri
    logging:
      driver: "local"
      options:
        max-size: 10m
        max-file: "3"
    # deploy:
    #   resources:
    #     reservations:
    #       devices:
    #         - driver: nvidia
    #           capabilities: [compute,video,utility]
    #           device_ids: ["0"]
    security_opt:
      # - no-new-privileges:true
      - seccomp:unconfined #optional
    volumes:
      - $PLEXDIR:/config
      - $RAMDRIVETDARR:/transcode
      - $MEDIADIR:/Media
      - $PLEXBACKUPDIR:/PMSBackup
      - $PREROLLDIR:/PreRoll
    labels:
      # - backup
      - autoheal=true
      - "traefik.enable=true"
      ## HTTP Routers
      - "traefik.http.routers.plexms-rtr.entrypoints=https"
      - "traefik.http.routers.plexms-rtr.rule=Host(`plex.$DOMAINNAME`)"
         ## Middlewares
      - "traefik.http.routers.plexms-rtr.middlewares=chain-no-auth@file"
      ## HTTP Services
      - "traefik.http.routers.plexms-rtr.service=plexms-svc"
      - "traefik.http.services.plexms-svc.loadbalancer.server.port=$PLEX_PORT"
      ## Flame Dashboard
      - flame.type=application # "app" works too
      - flame.name=Plex
      - flame.category=Media
      - flame.icon=https://raw.githubusercontent.com/modem7/MiscAssets/master/Icons/HeimdallIcons/plex.png
    networks:
      pihole:
        ipv4_address: '172.22.0.113'
    ports:
      - "$PLEX_PORT:$PLEX_PORT/tcp"
      - "3005:3005/tcp"
      - "8324:8324/tcp"
      - "32469:32469/tcp"
      - "1900:1900/udp"
      - "32410:32410/udp"
      - "32412:32412/udp"
      - "32413:32413/udp"
      - "32414:32414/udp"
    restart: always

I’ve tried both public, plexpass, and LSIO versions, just in case, but no go.
I’ve attempted repairing the DB, but no errors show up.
Tried disabling seccomp, no go.

❯ ls -la
total 565540
drwxr-xr-x 2 alex docker      4096 Jun  3 02:28 .
drwxr-xr-x 7 alex docker      4096 May 27  2020 ..
-rwxr-xr-x 1 alex docker     77824 May 27  2020 com.plexapp.dlna.db
-rwxr-xr-x 1 alex docker     32768 May 27  2020 com.plexapp.dlna.db-shm
-rwxr-xr-x 1 alex docker   2010592 May 27  2020 com.plexapp.dlna.db-wal
-rwxr-xr-x 1 alex docker 414978048 Jun  3 01:00 com.plexapp.plugins.library.blobs.db
-rwxr-xr-x 1 alex docker     32768 Jun  3 02:28 com.plexapp.plugins.library.blobs.db-shm
-rwxr-xr-x 1 alex docker         0 Jun  3 02:28 com.plexapp.plugins.library.blobs.db-wal
-rwxr-xr-x 1 alex docker 160833536 Jun  3 02:28 com.plexapp.plugins.library.db
-rwxr-xr-x 1 alex docker     32768 Jun  3 02:35 com.plexapp.plugins.library.db-shm
-rwxr-xr-x 1 alex docker   1087712 Jun  3 02:34 com.plexapp.plugins.library.db-wal

Not quite sure where the issue may lie.

Unfortunately, I can’t upload debug logs, because I can’t change the setting to enable it.
Plex Media Server Logs_2023-06-03_02-38-50.zip (727.4 KB)


Seems others are experiencing the same issue:

https://forums.plex.tv/t/your-changes-could-not-be-saved-for-all-preferences/828793
https://forums.plex.tv/t/your-changes-could-not-be-saved/826556
https://forums.plex.tv/t/bug-your-changes-could-not-be-saved/834843
https://forums.plex.tv/t/your-changes-could-not-be-saved/831396/20
https://forums.plex.tv/t/pms-your-changes-could-not-be-saved/832110/9

You can stop PMS.
Edit “Preferences.xml”.

On the last line, before the closing />, add LogDebug="1"

It will look like this:

SomePref="Value"  LogDebug="1" />

Now start PMS and you’ll have DEBUG logging,
(DEBUG logging is on by default so at some point you turned it off)

1 Like

Ah sweet - that did it, thanks!

Plex Media Server Logs_2023-06-03_03-31-03.zip (2.1 MB)

Aye, I try to reduce logging as I’m on an SSD - so the fewer writes, the better if they’re not needed for day to day operations.

It looks like you’re using proxy and a FQDN where PMS does not have the FQDN cert added

Is this what you have?

I’m currently using traefik reverse proxy which handles/terminates the https/ssl side of things, and routes it to plex http.

It’s been working well for a number of years now with this setup.

I’ve disabled remote access as well, as traefik routes traffic to the internal network.

Although locally (which is how I interact with plex 99% of the time), I’m not accessing via the RP.

Just in case it’s useful, here’s the latest logs:

Plex Media Server Logs_2023-06-05_22-59-51.zip (4.7 MB)

And more error messages:

image

Potential cause found:

I currently have my PiHole routing http://192.168.50.254 to http://hda.home.

Initial investigation seems to show that if I go to http://hda.home:32400 the error occurs, and if I go back to http://192.168.50.254:32400 the error doesn’t seem to occur (will continue to monitor in case the error comes back).

Is this expected? And if so, why?

If not, is this something that could be added to the bug board for further investigation?

This seems to be a recent issue as the change was made a couple of months back with no ill effects.

weblog with changes made from both IP and local DNS record:
local_weblog.txt (102.4 KB)
dns_weblog.txt (415.0 KB)

Looks like the issue was actually Unbound and DNS rebinding protection.

https://support.plex.tv/articles/206225077-how-to-use-secure-server-connections/

I had overlooked the fact that I recently switched from DNSCrypt to Unbound, and didn’t link this issue and the change together.

By following the advice on the dietpi link, my primaryServerUrl went from my RP’s domain to "primaryServerUrl": "https://192-168-50-254.<random>.plex.direct:32400/" and all is now working.

Will mark this as closed for now, with the cause being DNS rebinding protection.

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