Jump to content

Unable to delete photo library


yu666
Go to solution Solved by yu666,

Recommended Posts

yu666

 

emby automatically creates countless photo media libraries,cannot be deleted

Screenshot_2024-03-27-04-30-38-593_com.mb.android.jpg

Edited by yu666
中文
Link to comment
Share on other sites

HI, are you able to remove the libraries in Emby library setup?

Link to comment
Share on other sites

yu666
Posted (edited)
41分钟前,卢克说:

您好,您可以删除 Emby 库设置中的库吗?

cannot be deleted

Edited by yu666
Link to comment
Share on other sites

Happy2Play

I will guess this is the rogue CameraUpload issue creating multiple libraries.

Not much in the log for Delete as the Post was sent but will guess there is an ID issue as each library will have its own id.

Search "upload" (5 hits in 1 file of 1 searched)
  C:\Users\Media\Downloads\embyserver (4).txt (5 hits)
	Line 179: 2024-03-27 04:16:10.832 Info LibraryMonitor: Skipping realtime monitor for /var/packages/EmbyServer/var/data/camerauploads because the path is currently not available
	Line 185: 2024-03-27 04:16:10.833 Info LibraryMonitor: Skipping realtime monitor for /var/packages/EmbyServer/var/data/camerauploads because the path is currently not available
	Line 186: 2024-03-27 04:16:10.833 Info LibraryMonitor: Skipping realtime monitor for /var/packages/EmbyServer/var/data/camerauploads because the path is currently not available
	Line 294: 2024-03-27 04:20:35.356 Info Server: http/1.1 POST http://host3:8096/emby/Library/VirtualFolders/Paths/Delete?refreshLibrary=true&path=/var/packages/EmbyServer/var/data/camerauploads&name=相机上传44&Id=27393&X-Emby-Client=Emby for Android&X-Emby-Device-Name=M2012K10C&X-Emby-Device-Id=3544e73872fb07e2&X-Emby-Client-Version=3.3.78&X-Emby-Token=x_secret2_x&X-Emby-Language=zh-cn. UserAgent: Mozilla/5.0 (Linux; Android 13; M2012K10C Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/122.0.6261.119 Mobile Safari/537.36
	Line 299: 2024-03-27 04:22:23.016 Info Server: http/1.1 POST http://host3:8096/emby/Library/VirtualFolders/Paths/Delete?refreshLibrary=true&path=/var/packages/EmbyServer/var/data/camerauploads&name=相机上传44&Id=27393&X-Emby-Client=Emby for Android&X-Emby-Device-Name=M2012K10C&X-Emby-Device-Id=3544e73872fb07e2&X-Emby-Client-Version=3.3.78&X-Emby-Token=x_secret2_x&X-Emby-Language=zh-cn. UserAgent: Mozilla/5.0 (Linux; Android 13; M2012K10C Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/122.0.6261.119 Mobile Safari/537.36

But this has been an issues for multiple server versions for CameraUpload going crazy and creating possible hundreds plus libraries.  Not sure if each release is a slightly different issue or not but know this has been an issue since at least 4.6.

 

Will try and do some testing again to see if test system will create multiple libraries again.  But may require cleanup directly in the database.  Or devs find a good way to resolve this.

Link to comment
Share on other sites

yu666
24 minutes ago, Happy2Play said:

我猜这是创建多个库的流氓 CameraUpload 问题。

由于帖子已发送,删除日志中没有太多内容,但会猜测存在 ID 问题,因为每个图书馆都有自己的 ID。

但这对于多个服务器版本来说是一个问题,因为 CameraUpload 会变得疯狂并创建可能的数百多个库。不确定每个版本是否存在稍微不同的问题,但知道至少从 4.6 开始这就是一个问题。

 

将尝试再次进行一些测试,看看测试系统是否会再次创建多个库。但可能需要直接在数据库中进行清理。或者开发者找到一个好方法来解决这个问题。

How can I remove these libraries

Link to comment
Share on other sites

Happy2Play
19 minutes ago, yu666 said:

How can I remove these libraries

If Remove in Library setup is not working per library it will require going into the database manually.  But can be a pain following the linked data in each table.

But posted recently again here.

 

Link to comment
Share on other sites

yu666
19 minutes ago, Happy2Play said:

如果“在库中删除”设置不适用于每个库,则需要手动进入数据库。但跟踪每个表中的链接数据可能会很痛苦。

但最近又在这里发布了。

 

cameraupload.jsonIs it okay to delete this file? where is this file

Link to comment
Share on other sites

Happy2Play
Just now, yu666 said:

cameraupload.jsonIs it okay to delete this file? where is this file

It is in the devices folder per the device id.  If deleted just forces images to be redownload from device.

Link to comment
Share on other sites

yu666
3 minutes ago, Happy2Play said:

它位于每个设备 ID 的 devices 文件夹中。如果删除,只会强制从设备重新下载图像。

Does that mean this problem cannot be solved?

Link to comment
Share on other sites

Happy2Play

Dev will have to comment as this has been a long standing issue.  But if Remove from Library UI is not working there is no easy answer unless the devs can provide a workaround to removing them as libraries are all database only now.

Most likely will probably require user to manually remove directly in the database as I don't believe the API would work if the UI is not working.

Link to comment
Share on other sites

yu666
17 minutes ago, Happy2Play said:

开发人员将不得不发表评论,因为这是一个长期存在的问题。但是,如果从库 UI 中删除不起作用,则没有简单的答案,除非开发人员可以提供解决方法来删除它们,因为库现在都是数据库。

最有可能的是,可能需要用户直接在数据库中手动删除,因为不相信如果 UI 不工作,API 也不会工作。

require user to manually remove directly in the database as 怎么删除

Link to comment
Share on other sites

Hi, apologies for the disruption. You may want to consider starting with a fresh server database. We are looking into the root cause of this issue. Thanks.

Link to comment
Share on other sites

Happy2Play
5 minutes ago, Luke said:

Hi, apologies for the disruption. You may want to consider starting with a fresh server database. We are looking into the root cause of this issue. Thanks.

The problem there is you literally have to start from scratch as all libraries are database only now.  Plus also creates a user database disconnect and you have to play with Parental controls to get users to see new libraries.

Unless there is a special method to starting a new database?

Link to comment
Share on other sites

On 4/2/2024 at 5:48 PM, Happy2Play said:

The problem there is you literally have to start from scratch as all libraries are database only now.  Plus also creates a user database disconnect and you have to play with Parental controls to get users to see new libraries.

Unless there is a special method to starting a new database?

When you start a new database, you're also going to have to setup libraries again. In turn that also means you'll have to reconfigure parental controls for every single user.

it should be viewed as something to try to avoid, but when it does become necessary, you may as well consider it a fresh start.

Link to comment
Share on other sites

  • Solution
yu666
5小时前,卢克说道:

当您启动新数据库时,您还必须再次设置库。反过来,这也意味着您为每个用户重新配置家长控制。

它应该被视为试图避免的事情,但当它确实变得必要时,你的认知将其视为一个新的开始。

I uninstalled emby, deleted all data, and reinstalled emby

Link to comment
Share on other sites

OK thanks for following up. We are looking into the root issue. 

Link to comment
Share on other sites

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...