monlor / docker-xiaoya

💡使用 Docker Compose 以更优雅的方式来部署小雅服务,支持一键部署 Alist + Emby + Jellyfin,全平台支持,Linux/Windows/Mac/群晖,X86/Arm架构
Other
788 stars 116 forks source link

[BUG]: alist+emby emby无法启动 2345端口 nginx502 #158

Closed exewen closed 1 day ago

exewen commented 2 days ago

提交检查

描述 bug

mby-1 | Info SqliteItemRepository: Init Complete emby-1 | Info Server: http/1.0 Response 503 to ‌‍‍10.0.2.143‌. Time: 0ms. GET http://‌‍‍10.0.2.3‌/favicon.ico emby-1 | Error Main: Error in appHost.Init emby-1 | Error Report emby-1 | Version: 4.8.7.0 emby-1 | Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3 emby-1 | Operating system: Linux version 6.1.92-ophub (root@fv-az2026-603) (aarch64-none-linux-gnu-gcc (Arm GNU Toolchain 13.2.rel1 (Build arm-13.7)) 13.2.1 20231009, GNU ld (Ar emby-1 | Framework: .NET 6.0.25 emby-1 | OS/Process: arm64/arm64 emby-1 | Runtime: system/System.Private.CoreLib.dll emby-1 | Processor count: 4 emby-1 | Data path: /config emby-1 | Application path: /system emby-1 | SQLitePCL.pretty.SQLiteException: Busy: database is locked emby-1 | SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown. emby-1 | at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc) emby-1 | at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3_stmt stmt, Int32 rc) emby-1 | at SQLitePCL.pretty.StatementImpl.MoveNext() emby-1 | at Emby.Sqlite.SqliteExtensions.ExecuteQuery(IStatement This)+MoveNext() emby-1 | at Emby.Server.Implementations.Data.SqliteItemRepository.GetNamedValueTypeId(IDatabaseConnection db, String name) emby-1 | at Emby.Server.Implementations.Data.SqliteItemRepository.GetNamedValue(String name) emby-1 | at Emby.Server.Implementations.Configuration.ServerConfigurationManager.LoadNamedConfiguration(String key) emby-1 | at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func2 valueFactory) emby-1 | at Emby.Server.Implementations.AppBase.BaseConfigurationManager.GetConfiguration(String key) emby-1 | at MediaBrowser.Common.Configuration.ConfigurationManagerExtensions.GetConfiguration[T](IConfigurationManager manager, String key) emby-1 | at Emby.Server.Implementations.Configuration.ServerConfigurationManager.UpdateTranscodingTempPath() emby-1 | at Emby.Server.Implementations.ApplicationHost.FindParts() emby-1 | at Emby.Server.Implementations.ApplicationHost.Init() emby-1 | at EmbyServer.HostedService.StartAsync(CancellationToken cancellationToken) emby-1 | Source: SQLitePCL.pretty emby-1 | TargetSite: Void CheckOk(SQLitePCLEx.sqlite3, Int32) emby-1 | emby-1 | Info Main: Shutdown complete emby-1 | Info Main: Application path: /system/EmbyServer.dll emby-1 | Info App: Setting default culture to zh-CN emby-1 | Info Main: Emby emby-1 | Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3 emby-1 | Operating system: Linux version 6.1.92-ophub (root@fv-az2026-603) (aarch64-none-linux-gnu-gcc (Arm GNU Toolchain 13.2.rel1 (Build arm-13.7)) 13.2.1 20231009, GNU ld (Ar emby-1 | Framework: .NET 6.0.25 emby-1 | OS/Process: arm64/arm64 emby-1 | Runtime: system/System.Private.CoreLib.dll emby-1 | Processor count: 4 emby-1 | Data path: /config emby-1 | Application path: /system emby-1 | Info Main: Logs path: /config/logs emby-1 | Info Main: Cache path: /config/cache emby-1 | Info Main: Internal metadata path: /config/metadata

重现步骤

No response

预期行为

No response

截图

No response

日志

No response

设备 (请填写以下信息)

Linux

其他信息

No response

exewen commented 2 days ago
image
monlor commented 2 days ago

报错已经很明显了,database is locked

exewen commented 2 days ago

对的,这个要怎么解决呢

monlor commented 2 days ago

你一份emby数据同时被2个进程访问了

exewen commented 2 days ago

好的,我检查下

exewen commented 1 day ago

权限问题