Flest 6 Posted March 30 Share Posted March 30 at first there were 3 of them, now there are 28))) and the server creates a high CPU load 20-30% (Ryzen 5800X), all time... Link to comment Share on other sites More sharing options...
Flest 6 Posted March 31 Author Share Posted March 31 (edited) any ideas? need to remove these useless libraries ( maybe using manual editing of config files? Edited March 31 by Flest Link to comment Share on other sites More sharing options...
Happy2Play 8294 Posted March 31 Share Posted March 31 There as several topic on camera upload causing issues and creating multiple libraries. I have yet to run into not being able to remove each one by one from the UI though. Only other way if you can't remove them in the UI would be manually digging around in the database and and removing them for all there linked tables. But the devs are looking into this. Link to comment Share on other sites More sharing options...
Flest 6 Posted March 31 Author Share Posted March 31 (edited) 24 minutes ago, Happy2Play said: Only other way if you can't remove them in the UI would be manually digging around in the database and and removing them for all there linked tables. I tried, the server starts doing something, the processor load increases, and... nothing happens))) Tell me how to delete them using tables? I deleted the download folder, the server created 3 new libraries with a new path C:\Users\Flest\AppData\Roaming\Emby-Serv... and I can delete these new libraries, but the library with the old path "P:\Photos Uploads" is not deleted Untitled_ Mar 31 2024 8_21 PM.webm Edited March 31 by Flest Link to comment Share on other sites More sharing options...
Happy2Play 8294 Posted March 31 Share Posted March 31 It doesn't help if you still have camera upload enabled though as the issue still happens when new items are added. Testing with only one present did not add additional libraries in my test. It is a issue starting with none. But you have to find the ids in the Mediaitems table or the parentid from the url for each library, then remove that id from ancestorids, itemextradata, itemlinks2, useritemshares, then finally mediaitems table. Ensure you have a backup of your library.db though. The ones with the custom path I am not sure as it sound like a old and new config exist. As for files well they have become obsolete as almost all configs have migrated to database only. Link to comment Share on other sites More sharing options...
Flest 6 Posted March 31 Author Share Posted March 31 (edited) 56 minutes ago, Happy2Play said: maybe there are faq or something else? ) Edited March 31 by Flest Link to comment Share on other sites More sharing options...
Happy2Play 8294 Posted March 31 Share Posted March 31 Just now, Flest said: maybe there are faq or something else? ) That means there is a table with the id still in it so the row can not be deleted Link to comment Share on other sites More sharing options...
Flest 6 Posted March 31 Author Share Posted March 31 11 minutes ago, Happy2Play said: That means there is a table with the id still in it so the row can not be deleted and how to solve this problem? ) I deleted this from all the tables except "mediaitems" Link to comment Share on other sites More sharing options...
Happy2Play 8294 Posted March 31 Share Posted March 31 This is only an example Now back to the first image for the library as you have linked items to that location. So there is no easy answer here ass all your uploaded images will be linked also preventing the removal of the library. But yes it can be done. Link to comment Share on other sites More sharing options...
Flest 6 Posted April 1 Author Share Posted April 1 10 hours ago, Happy2Play said: This is only an example Now back to the first image for the library as you have linked items to that location. So there is no easy answer here ass all your uploaded images will be linked also preventing the removal of the library. But yes it can be done. no images, all libraries are empty ok let's try - librory parentId=435922 finded all records "MediaItems" like 439270, 439271, 439272, 439273... delete all from "AncestorIds2" delete all from "ItemExtradata" delete all from "ItemLinks2" delete all from "UserItemShares" back to "MediaItems" and try delete librory, and... i cant ))) save the database and start the server. the libraries are still there, but the folders are gone) Link to comment Share on other sites More sharing options...
Happy2Play 8294 Posted April 1 Share Posted April 1 Well since they changed to Mixed Content you should be able to delete/remove them in the UI. But you are not getting all the linking. Link to comment Share on other sites More sharing options...
Flest 6 Posted April 1 Author Share Posted April 1 5 minutes ago, Happy2Play said: Well since they changed to Mixed Content you should be able to delete/remove them in the UI. I can't remove them from the UI :( "But you are not getting all the linking." what could I have missed and where? Link to comment Share on other sites More sharing options...
Happy2Play 8294 Posted April 1 Share Posted April 1 (edited) Your images are mixing 43522 and 43523 so it is impossible to say. In the Name column of MediaItems table are you filter cameraupload and then camera upload to see id? Have you filtered the MediaItems Path column for cameraupload to see id? Edited April 1 by Happy2Play Link to comment Share on other sites More sharing options...
Flest 6 Posted April 1 Author Share Posted April 1 6 minutes ago, Happy2Play said: Your images are mixing 43522 and 43523 so it is impossible to say. In the Name column of MediaItems table are you filter cameraupload and then camera upload to see id? Have you filtered the MediaItems Path column for cameraupload to see id? numbers are different because these are the numbers of all the libraries that I found) I deleted records of all these numbers Spoiler 435922 435923 435926 439142 439269 439270 439271 439272 439273 439274 439275 439276 439277 439278 439279 439280 439281 439282 439283 439284 439285 439312 439313 439314 439315 439360 439361 439362 Link to comment Share on other sites More sharing options...
Flest 6 Posted April 2 Author Share Posted April 2 13 hours ago, Happy2Play said: Your images are mixing 43522 and 43523 so it is impossible to say. In the Name column of MediaItems table are you filter cameraupload and then camera upload to see id? Have you filtered the MediaItems Path column for cameraupload to see id? new try )) rename all 28 librires - find all 28 IDs delete all from "AncestorIds2" delete all from "ItemExtradata" delete all from "ItemLinks2" delete all from "UserItemShares" back to "MediaItems" and still cant delete thems librories still in UI Link to comment Share on other sites More sharing options...
Luke 37092 Posted April 2 Share Posted April 2 Hi, apologies from the disruption. You may want to consider starting with a fresh database. We are looking into the root cause of this issue. Thanks. Link to comment Share on other sites More sharing options...
Flest 6 Posted April 2 Author Share Posted April 2 10 minutes ago, Luke said: Hi, apologies from the disruption. You may want to consider starting with a fresh database. We are looking into the root cause of this issue. Thanks. hi) Reinstall and configure everything again? ((((( Is there any way to save server statistics? "Playback Reporting" and "Statistics" plugins Or is it better not to do this and do a clean installation? What about the camera upload? Until you find the cause of the problem, is it better not to use it? Link to comment Share on other sites More sharing options...
Luke 37092 Posted April 2 Share Posted April 2 9 minutes ago, Flest said: hi) Reinstall and configure everything again? ((((( Is there any way to save server statistics? "Playback Reporting" and "Statistics" plugins Or is it better not to do this and do a clean installation? What about the camera upload? Until you find the cause of the problem, is it better not to use it? The other option is to remove all of the libraries that have been deleted, but that would have to be done one at a time. I believe if you uncheck the option in server camera upload settings to create a subfolder for each device, then it might not happen again after that. Link to comment Share on other sites More sharing options...
Flest 6 Posted April 2 Author Share Posted April 2 2 minutes ago, Luke said: The other option is to remove all of the libraries that have been deleted, but that would have to be done one at a time. how can i do this? from ui? 3 minutes ago, Luke said: I believe if you uncheck the option in server camera upload settings to create a subfolder for each device, then it might not happen again after that. if I understood you correctly. then I didn’t use this option, and I only have 1 device - my phone) Link to comment Share on other sites More sharing options...
Luke 37092 Posted April 3 Share Posted April 3 21 hours ago, Flest said: how can i do this? from ui? Yes, using the normal remove library from Emby library setup. Link to comment Share on other sites More sharing options...
Flest 6 Posted April 3 Author Share Posted April 3 1 hour ago, Luke said: Yes, using the normal remove library from Emby library setup. doesnt work ( if I try to delete then CPU load becomes 20% and nothing happens after rebooting the server, the CPU load becomes normal - 0-0.5% Untitled_ Apr 3 2024 8_44 AM.webm Link to comment Share on other sites More sharing options...
Luke 37092 Posted April 3 Share Posted April 3 1 minute ago, Flest said: doesnt work ( if I try to delete then CPU load becomes 20% and nothing happens after rebooting the server, the CPU load becomes normal - 0-0.5% Untitled_ Apr 3 2024 8_44 AM.webm I think you just need to give it time to finish deleting entries from the server database. Link to comment Share on other sites More sharing options...
Flest 6 Posted April 3 Author Share Posted April 3 2 minutes ago, Luke said: Я думаю, вам просто нужно дать ему время закончить удаление записей из базы данных сервера. ok Luke I'll give it until evening I'll write what happened) 1 Link to comment Share on other sites More sharing options...
Flest 6 Posted April 3 Author Share Posted April 3 6 hours ago, Luke said: I think you just need to give it time to finish deleting entries from the server database. after 6 hours the library wasnt deleted Link to comment Share on other sites More sharing options...
Luke 37092 Posted April 3 Share Posted April 3 OK that's not normal, but I would give it more time. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now