Jump to content

DSM7 and Invalid PATH for library


Recommended Posts

Posted
hello
After an update of DSM 7, I can no longer access my libraries. The Patch is incorrect
Could you help me? Thank you in advance
NAS 920 - Emby 4.7.0.3 Beta
 
Posted

thats ok nom

I must just with profil internal account Emby

  • Like 1
Carlo
Posted

Hi, Are you good now?

Carlo
Posted

Perfect, thanks for the update.

Posted

Having the same issue.  What was the fix here?  Do we need to create another user named Emby for some reason?  I see the installation already created a user named "emby_PKG_"...  is that not the default user that should have permissions to my media?  please help, thx!

Carlo
Posted
9 minutes ago, cram4r said:

Having the same issue.  What was the fix here?  Do we need to create another user named Emby for some reason?  I see the installation already created a user named "emby_PKG_"...  is that not the default user that should have permissions to my media?  please help, thx!

Check out this post with instructions and a video you can download and watch a complete upgrade (except for the 2 SSH commands).

 

Posted

Thank you for the quick response; the instructions are still unclear:  do I install the Emby server BETA or regular?  Which is the one compatible w/ DSM7?  Thx

Posted (edited)

Also I'm unable to create a new emby user or group after following those instructions.  "That user name already exists or is reserved for system use only".  Yet I've validated the user is not listed in my list of users and had deleted them per the instructions.

Edited by cram4r
Josefa69
Posted

this is my solution...

 

excuses me, i m rfench

Image 01-07-2021 à 20.49.jpg

Posted

Unable to create emby user, and it's no longer in existence.  Thoughts?

 

image.png.e83928a03c26e05a189b867c99a7db41.png

Josefa69
Posted
the EMBY user existed,
in file sharing permissions but in internal system users
Carlo
Posted
6 minutes ago, Josefa69 said:
the EMBY user existed,
in file sharing permissions but in internal system users

Correct and this is documented in the notes I posted.

  •  

Attached is a quick video I made of upgrading DSM 6 to DSM 7 with Emby Updates.

I had instructions off to the left but the screen capture program only recorded the browser.  So you won't see me downloading or PUTTY/SSH commands but everything done in browser is recorded.

I converted this to MKV/H.265 to make it small enough to upload.
Let me know if this helps or if you think I missed any crucial steps.

DMS7 Upgrade for Emby.mkv21.57 MB · 15 downloads

Instructions used were:

Download and have ready DSM 7 package for update.
https://www.synology.com/en-us/DSM70 (I will be downloading both a virtualDSM 7 & for 920+)

Download and have ready Emby Server 4.6.3 for both DSM 6 & DSM 7
https://emby.media/download.html

- update Emby Server to 4.6.3 (or latest release)
- restart Emby Server and verify your on 4.6.3
- uninstall Emby

- update DSM to v7

- install Emby 4.6.3 (or same version that was running above (dsm7 version)
- stop Emby
- remove emby_pkg user and video group
- enable admin account if needed
- give read/write permissions to your login ID and add Emby

- enable ssh in Synology settings (Terminal & SNMP menu)

Not shown in video:
- connect with Putty to Synology, login with admin user and get root rights with: sudo -i

- copy files from old Emby share to new data location: 
cp -r /volume1/Emby/* /volume1/@appdata/EmbyServer

- adjust owner from copied files: 
chown -R emby:emby /volume1/@appdata/EmbyServer
- close putty

Shown again in video:
- From Control Panel go to Shared Folder and edit each share that is used by Emby Server.  Click the share, then EDIT, go to permission tab, select internal system user from drop down,
grant emby user read/write access.

- add emby user and emby group to your shared media folder in Synology 
- start Emby

Posted

Thank you all!  I'm back up and running!!  I was just thinking I had to add the emby user & group to local users again.  After adding just the internal emby user it worked.  Thanks again!

  • Like 1
Carlo
Posted

Perfect, glad you got it working!

  • 1 month later...
Omahabrownie
Posted

Hi, I am hopping someone can help me. I followed the directions above and updated to dsm 7 but when I go to copy the files over it tells me no such file or folder

Thanks Dave

putty.JPG

Posted

You have spacing issues in that command.

Copy and paste it from the op post.

Omahabrownie
Posted

Thanks that worked but now when I run emby it just goes to the emby logon not my set users.

Posted

If you login and go to the Users and Library menus does that have your old info?
If not the commands done via putty were not done correctly.

Did you have Emby Server shutdown while doing the Putty/SSH commands?

Omahabrownie
Posted

No it does not have my old info and emby was shut down while I was using putty.

Omahabrownie
Posted

Thought I would let you know that it doesn't have my libraries or users but it does have my premium code.

Posted

I'd go back to the putty/SSH steps and start from there again with Emby shut down making sure you are root user (putty/SSH will show root).

Before restarting Emby go to the data folder of the new install and delete any *.db-shm or *.db-wal files.

Omahabrownie
Posted

I'm not sure how but I have got my library's back but not the users. I will just set them up again I guess.

Posted

Did you do the migration again?

If so did you check for the shm and wal files in the data folder?

Omahabrownie
Posted

Yes I did migrate again and I checked the files in the data folder

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...