I use those commands frequently. They work as written and don’t often return a message.
If they do return a message, sometimes it’s harmless but looks like an error.
Harmless output example
With PMS quit, I’ll delete an entry twice. The first time it succeeds.
The second time there was nothing to delete. So it returns noise.
nibbles$ defaults read com.plexapp.plexmediaserver logDebug
1
nibbles$ defaults delete com.plexapp.plexmediaserver logDebug
nibbles$ defaults delete com.plexapp.plexmediaserver logDebug
2022-11-07 13:13:30.081 defaults[22948:1596540]
Domain (com.plexapp.plexmediaserver) not found.
Defaults have not been changed.
nibbles$
nibbles$ defaults write com.plexapp.plexmediaserver logDebug -bool TRUE
nibbles$ defaults read com.plexapp.plexmediaserver logDebug
1
nibbles$
I will clarify the steps in my previous post. Thanks for mentioning this.
It’s Plex that says don’t modify your plist with PMS running. It won’t work the way you want.
If you absolutely must modify an advanced hidden setting while the server is running, then you can curl that with your token.