-
Notifications
You must be signed in to change notification settings - Fork 24
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
Issues with Permissions and DB Corruption #3
Comments
The permissions on the db is changed? The db needs to always have plex:plex permissions. Why not run the script with the plex user? |
@ddurdle if you run the script with the plex user, won't you still have issues starting and stopping services? Also, would you run your ssh commands with the plex user too? |
@dpeet What are the permissions on the db file and containing folder? |
@dpeet Could you test the I added a |
sure!
and here is my remote one
|
for the plex user branch
which asked for remote authentication
as well as local authentication
Then I got this
and then it starting things back up, asking for the same authentication |
After the remote mount, can you show me the output of the below command when run from the machine you are running plex-db-sync from?
I think I need to pull the user from both DBs rather than one. You're I think you are getting authentication requests because you are not running plex-db-sync as root, and you are using |
but we're saying that doesn't matter if I'm using userlocal and userremote. From what I'm seeing (more on the linux n00b side) is that I need to add to the sudoers file with I'm on ubuntu 18.04.02 btw |
@Fmstrat any ideas on how to move forward? |
Hey @Fmstrat! First thanks for this awesome script.
I've got a few issues. I first tried using docker, but the script would fail, and I didn't know how to debug it. I started to follow your manual instructions instead
I have several times ended up with a corrupted database after running the script. Plex won't load and I have to delete and revert to a previous copy. it might have to do with wonky permissions.. I initially started with docker and then moved to bare metal for plex
Permissions are changed from plex:plex to my user. Should I be part of the plex group?
I am challenged with a password when the script executes
service plexmediaserver start
. I assume I should be avoiding that somehowThanks in advance for your help!
The text was updated successfully, but these errors were encountered: