How to safely and efficiently upgrade to v4.x Stable?
Posted 11 January 2019 - 04:36 PM
All 5 of the Emby servers I will be upgrading are relatively small and don't have any libraries other than TV and Movies.
I personally run Emby server Beta and have been through all of the 80+ versions of the v3.6, now v4.0, iterations, so things have changed gradually over all of the versions.
Upgrading a Stable server from v3.5.3 to v4.x will be a big hit for everyone concerned.
So, what is the best way to do this?
My idea is to disable chapter extraction during library scan, shutdown Emby, delete the library.db file, install the Stable version v4.x, run a library scan (minus the chapter extraction) and that should be it.
Once done, I will re-enable chapter extraction for future library scans.
This will rebuild the database from scratch and will not have the duplicated tables like an upgrade will end up with.
Personally, I'm happy with that approach, but I wondered if anyone else had any other thoughts or suggestions.
This might just be a "voice your concern" thread, but may be useful for others.
- Spaceboy and Maximus Naxsus like this
Posted 11 January 2019 - 05:25 PM
I just want to add my experience, as I didn't hop into the beta until .82 or so from stable.
Honestly it went as smooth as can be, startup hung for a little while, but I was patient and it went fine.
Following that I triggered an additional library scan, updated people, guide, etc... just in case to clear or refresh things. Other than that, it was nothing to worry about or have to manually delete the library.db and have it rescan.
Posted 11 January 2019 - 06:03 PM
If you do a clean install (or delete your library.db file) you cant rollback - the db is very different and would not work with 3.5.3 - so keep a copy if you think you might want to - but i doubt you will need it.
Luke should be doing a full comprehensive set of notes for this new version as so much has changed (for the better) but there are something that are quite different and users need to understand how that affects them etc
- CBers likes this
Posted 11 January 2019 - 07:18 PM
Just as a matter of interest, in the unlikely event I do a clean install, and I backup library.db, should I also keep library.db-wal and library.db-shm that are also in the same folder ? I presume they're useful for something...
Those only appear when the database is open. You only need the .db file.
- arrbee99 likes this
Posted 12 January 2019 - 09:26 AM
If you are going to delete the library.db file I'd suggest setting up trakt for EACH USER and export their watched status.
Then later after the library rebuild to import the watched status for each user back in.
If you only care about watched status for one user, this can be saved to NFO files but only starts working from the point you turned on the option.
Posted 12 January 2019 - 09:48 AM
I have only one doubt with upgrade to 4.0 stable. I have movies in "mix mode", what i mean that i have like 1000 movies in one folder and lets say 100 of movies in same folder but in sub folders. Why? well multi version movies are in sub folders each with 720p and 1080p versions. 3.5.0 had issues with this mixed mode so we will see if it will repeat. Didnt have time to test it on temp server yet...
Posted 12 January 2019 - 10:53 AM
While that format is supported it's not a great way to layout your file system.
Any reason you can't have each movies in it's own folder? There are utils that can do this easily and very quickly for you.
Fair question Time basically, all movies in one folder are just copied and it gets scanned ok, while for 2 version movies there is a need to rename every file to be scanned successfully, (add "-" and 720p or 1080p after the "-". If i put all movies in sub folder every single one i think they would not be scanned properly. (talking about 3.5.3 here, not beta....)
Posted 12 January 2019 - 11:44 AM
If you do put every movie in it's own folder it will work fine in any version of Emby. If you look up in the Emby WIKI you would see this format listed.
Check out FileBot. It can rename your media as well as create the folders automatically for you. You just need to setup the parameters correctly. It's very versatile.
It's gone "pay" format recently but if you google for version 4.7.9 you can still use it without payment. However once you fall in love with it, get the registered version.
Posted 12 January 2019 - 12:36 PM
There is a easier and faster route as i see it, no renaming needed. To already working identifier "-" for multi-version movies add another one "." All files named with dots will work out
of the box in folder. On 3.5.3 placing it in folder 2 files lets say Moviename.2018.1080p.mkv and Moviename.2018.720p.mkv, emby only indexes and shows 720p version, in Emby Theatre that is..
Posted Yesterday, 04:55 AM
Library scans are taking a bit longer than usual, but I guess that's to be expected first time around.
- Sammy and Maximus Naxsus like this
1 user(s) are reading this topic
1 members, 0 guests, 0 anonymous users