Dx11 1 Posted June 19, 2021 Posted June 19, 2021 Hi. I just restored my Mac from a Time Machine backup 10.14.6. The backup was from a date everything including Emby was working perfectly. I've never had an issue with Emby before. It's been awesome. Now, I cannot seem to connect to "localhost". I've tried downloading and installing the current Emby Server app on top of the existing version. Did not work. Deleted the Emby Server app and restarted the computer. Then downloaded the Emby Server again and installed. Still getting the error in the photo. I tried with Chrome as well. No luck.
Dx11 1 Posted June 19, 2021 Author Posted June 19, 2021 According to Activity Monitor it is. The icon is also in my menu bar.
roaku 825 Posted June 19, 2021 Posted June 19, 2021 Next thing I would try in that situation is to open up a terminal and curl -v http://localhost:8096 to see if it's just Safari giving me a hard time.
Dx11 1 Posted June 19, 2021 Author Posted June 19, 2021 4 minutes ago, roaku said: curl -v http://localhost:8096 Is this quote exactly what I'd type in Terminal? Not too familiar with it.
roaku 825 Posted June 19, 2021 Posted June 19, 2021 Yes, that's the command. Here's some context if you're curious: https://www.booleanworld.com/curl-command-tutorial-examples/
roaku 825 Posted June 19, 2021 Posted June 19, 2021 Hmm, I'd start looking into firewall settings next. https://support.apple.com/guide/mac-help/change-firewall-preferences-on-mac-mh11783/mac Hopefully, an actual Mac user will chime in with some advice soon.
Dx11 1 Posted June 19, 2021 Author Posted June 19, 2021 I have Firewall turned off But I'll certainly look at the link just in case there's something there. I really appreciate you taking the time to help me! Have a good weekend. 1
roaku 825 Posted June 19, 2021 Posted June 19, 2021 (edited) Another thing you could try in terminal is listing the active ports on your system to make sure 8096 is open: sudo lsof -P -i TCP -s TCP:LISTEN https://www.micahsmith.com/blog/2019/09/find-ports-in-use-on-macos/ Edited June 19, 2021 by roaku
Dx11 1 Posted June 19, 2021 Author Posted June 19, 2021 (edited) Well, I did find this. But no 8096 anywhere in the list of results. Edit: My iPad is named "tray" and has Emby on it. Must have something to do with that (?) Edited June 19, 2021 by Dx11
roaku 825 Posted June 19, 2021 Posted June 19, 2021 What happens when you visit http://localhost:8024 in Safari?
roaku 825 Posted June 19, 2021 Posted June 19, 2021 Well, that at least means there's a server there responding to your requests. What about: http://localhost:8024/web/index.html
Happy2Play 9229 Posted June 19, 2021 Posted June 19, 2021 It there a active embyserver.txt or just embyserver-xxxxxxxxxxxxxxxxx.txt log?
Dx11 1 Posted June 19, 2021 Author Posted June 19, 2021 Just now, Happy2Play said: It there a active embyserver.txt or just embyserver-xxxxxxxxxxxxxxxxx.txt log? I'm sorry, where would I find that?
Happy2Play 9229 Posted June 19, 2021 Posted June 19, 2021 3 minutes ago, Dx11 said: I'm sorry, where would I find that? Not proficient on this platform but looking at other logs it look something like this. Data path: /Users/{name}/.config/emby-server/logs
Dx11 1 Posted June 19, 2021 Author Posted June 19, 2021 Thank you. I've tied typing that path anywhere I can, including the Console app which contains a lot of logs and system reports, etc. I can't seem to dig anything up.
Luke 39006 Posted June 21, 2021 Posted June 21, 2021 Hi @Dx11 what is in this folder? /Users/{name}/.config/emby-server/logs This is where Emby Server log files go. You may not be able to locate that folder in the finder UI, but you can find it by typing the path into Finder.
Dx11 1 Posted June 23, 2021 Author Posted June 23, 2021 Hi Luke There are several of these text files. The one below is the latest. -------------------------------------------------------------------------- 2021-06-18 19:44:18.640 Info Main: Application path: /Applications/EmbyServer.app/Contents/MacOS/EmbyServer.dll 2021-06-18 19:44:19.528 Info Main: Emby Command line: /Applications/EmbyServer.app/Contents/MacOS/EmbyServer.dll Operating system: Darwin 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64 Framework: .NET Core 3.1.8 OS/Process: x64/x64 Runtime: Applications/EmbyServer.app/Contents/MacOS/System.Private.CoreLib.dll Processor count: 8 Data path: /Users/ /.config/emby-server Application path: /Applications/EmbyServer.app/Contents/MacOS 2021-06-18 19:44:19.532 Info Main: Tray icon path: /Applications/EmbyServer.app/Contents/MacOS/embytray 2021-06-18 19:44:19.763 Info App: Application version: 4.6.3.0 2021-06-18 19:44:19.778 Info App: Loading assemblies 2021-06-18 19:44:19.981 Info App: File /Users/ /.config/emby-server/plugins/OpenSubtitles.dll has version 1.0.28.0 2021-06-18 19:44:19.991 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/OpenSubtitles.dll has version 1.0.28.0 2021-06-18 19:44:19.993 Info App: File /Users/ /.config/emby-server/plugins/NfoMetadata.dll has version 1.0.56.0 2021-06-18 19:44:19.994 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/NfoMetadata.dll has version 1.0.56.0 2021-06-18 19:44:19.995 Info App: File /Users/ /.config/emby-server/plugins/MovieDb.dll has version 1.4.6.0 2021-06-18 19:44:19.996 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/MovieDb.dll has version 1.4.6.0 2021-06-18 19:44:19.997 Info App: File /Users/ /.config/emby-server/plugins/Emby.Webhooks.dll has version 1.0.15.0 2021-06-18 19:44:19.997 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/Emby.Webhooks.dll has version 1.0.15.0 2021-06-18 19:44:19.998 Info App: File /Users/ /.config/emby-server/plugins/Emby.PortMapper.dll has version 1.0.6.0 2021-06-18 19:44:19.999 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/Emby.PortMapper.dll has version 1.0.6.0 2021-06-18 19:44:20.011 Info App: File /Users/ /.config/emby-server/plugins/BlurayMounter.dll has version 1.0.0.0 2021-06-18 19:44:20.014 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/BlurayMounter.dll has version 1.0.0.0 2021-06-18 19:44:20.016 Info App: File /Users/ /.config/emby-server/plugins/Tvdb.dll has version 1.0.41.0 2021-06-18 19:44:20.018 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/Tvdb.dll has version 1.0.41.0 2021-06-18 19:44:20.021 Info App: File /Users/ /.config/emby-server/plugins/StudioImages.dll has version 1.0.3.0 2021-06-18 19:44:20.022 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/StudioImages.dll has version 1.0.3.0 2021-06-18 19:44:20.042 Info App: File /Users/ /.config/emby-server/plugins/Emby.Dlna.dll has version 1.0.66.0 2021-06-18 19:44:20.047 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/Emby.Dlna.dll has version 1.0.66.0 2021-06-18 19:44:20.048 Info App: File /Users/r /.config/emby-server/plugins/Fanart.dll has version 1.0.13.0 2021-06-18 19:44:20.050 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/Fanart.dll has version 1.0.13.0 2021-06-18 19:44:20.051 Info App: File /Users/ /.config/emby-server/plugins/MusicBrainz.dll has version 1.0.17.0 2021-06-18 19:44:20.052 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/MusicBrainz.dll has version 1.0.17.0 2021-06-18 19:44:20.053 Info App: File /Users/ /.config/emby-server/plugins/OMDb.dll has version 1.0.14.0 2021-06-18 19:44:20.055 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/OMDb.dll has version 1.0.14.0 2021-06-18 19:44:20.056 Info App: File /Users/ /.config/emby-server/plugins/DvdMounter.dll has version 1.0.0.0 2021-06-18 19:44:20.056 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/DvdMounter.dll has version 1.0.0.0 2021-06-18 19:44:20.057 Info App: File /Users/ /.config/emby-server/plugins/AudioDb.dll has version 1.0.14.0 2021-06-18 19:44:20.091 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/AudioDb.dll has version 1.0.14.0 2021-06-18 19:44:20.092 Info App: File /Users/ /.config/emby-server/plugins/Emby.Server.CinemaMode.dll has version 1.0.38.0 2021-06-18 19:44:20.093 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/Emby.Server.CinemaMode.dll has version 1.0.38.0 2021-06-18 19:44:20.187 Info App: Loading OpenSubtitles, Version=1.0.28.0, Culture=neutral, PublicKeyToken=null from /Users/ /.config/emby-server/plugins/OpenSubtitles.dll 2021-06-18 19:44:20.187 Info App: Loading NfoMetadata, Version=1.0.56.0, Culture=neutral, PublicKeyToken=null from /Users/ /.config/emby-server/plugins/NfoMetadata.dll 2021-06-18 19:44:20.187 Info App: Loading MovieDb, Version=1.4.6.0, Culture=neutral, PublicKeyToken=null from /Users/ /.config/emby-server/plugins/MovieDb.dll 2021-06-18 19:44:20.187 Info App: Loading Emby.Webhooks, Version=1.0.15.0, Culture=neutral, PublicKeyToken=null from /Users/ /.config/emby-server/plugins/Emby.Webhooks.dll 2021-06-18 19:44:20.187 Info App: Loading Emby.PortMapper, Version=1.0.6.0, Culture=neutral, PublicKeyToken=null from /Users/ /.config/emby-server/plugins/Emby.PortMapper.dll 2021-06-18 19:44:20.187 Info App: Loading BlurayMounter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from /Users/ /.config/emby-server/plugins/BlurayMounter.dll 2021-06-18 19:44:20.187 Info App: Loading Tvdb, Version=1.0.41.0, Culture=neutral, PublicKeyToken=null from /Users/ /.config/emby-server/plugins/Tvdb.dll 2021-06-18 19:44:20.187 Info App: Loading StudioImages, Version=1.0.3.0, Culture=neutral, PublicKeyToken=null from /Users/ /.config/emby-server/plugins/StudioImages.dll 2021-06-18 19:44:20.187 Info App: Loading Emby.Dlna, Version=1.0.66.0, Culture=neutral, PublicKeyToken=null from /Users/ /.config/emby-server/plugins/Emby.Dlna.dll 2021-06-18 19:44:20.187 Info App: Loading Fanart, Version=1.0.13.0, Culture=neutral, PublicKeyToken=null from /Users/ /.config/emby-server/plugins/Fanart.dll 2021-06-18 19:44:20.187 Info App: Loading MusicBrainz, Version=1.0.17.0, Culture=neutral, PublicKeyToken=null from /Users/ /.config/emby-server/plugins/MusicBrainz.dll 2021-06-18 19:44:20.187 Info App: Loading OMDb, Version=1.0.14.0, Culture=neutral, PublicKeyToken=null from /Users/ /.config/emby-server/plugins/OMDb.dll 2021-06-18 19:44:20.187 Info App: Loading DvdMounter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from /Users/ /.config/emby-server/plugins/DvdMounter.dll 2021-06-18 19:44:20.187 Info App: Loading AudioDb, Version=1.0.14.0, Culture=neutral, PublicKeyToken=null from /Users/ /.config/emby-server/plugins/AudioDb.dll 2021-06-18 19:44:20.187 Info App: Loading Emby.Server.CinemaMode, Version=1.0.38.0, Culture=neutral, PublicKeyToken=null from /Users/ /.config/emby-server/plugins/Emby.Server.CinemaMode.dll 2021-06-18 19:44:20.187 Info App: Loading Emby.Api, Version=4.6.3.0, Culture=neutral, PublicKeyToken=null 2021-06-18 19:44:20.187 Info App: Loading Emby.Web, Version=4.6.3.0, Culture=neutral, PublicKeyToken=null 2021-06-18 19:44:20.187 Info App: Loading MediaBrowser.Model, Version=4.6.3.0, Culture=neutral, PublicKeyToken=null 2021-06-18 19:44:20.187 Info App: Loading MediaBrowser.Common, Version=4.6.3.0, Culture=neutral, PublicKeyToken=null 2021-06-18 19:44:20.187 Info App: Loading MediaBrowser.Controller, Version=4.6.3.0, Culture=neutral, PublicKeyToken=null 2021-06-18 19:44:20.187 Info App: Loading Emby.Providers, Version=4.6.3.0, Culture=neutral, PublicKeyToken=null 2021-06-18 19:44:20.187 Info App: Loading Emby.Photos, Version=4.6.3.0, Culture=neutral, PublicKeyToken=null 2021-06-18 19:44:20.187 Info App: Loading Emby.Server.Implementations, Version=4.6.3.0, Culture=neutral, PublicKeyToken=null 2021-06-18 19:44:20.187 Info App: Loading Emby.LiveTV, Version=4.6.3.0, Culture=neutral, PublicKeyToken=null 2021-06-18 19:44:20.187 Info App: Loading Emby.ActivityLog, Version=4.6.3.0, Culture=neutral, PublicKeyToken=null 2021-06-18 19:44:20.187 Info App: Loading Emby.Server.MediaEncoding, Version=4.6.3.0, Culture=neutral, PublicKeyToken=null 2021-06-18 19:44:20.187 Info App: Loading Emby.LocalMetadata, Version=4.6.3.0, Culture=neutral, PublicKeyToken=null 2021-06-18 19:44:20.187 Info App: Loading Emby.Notifications, Version=4.6.3.0, Culture=neutral, PublicKeyToken=null 2021-06-18 19:44:20.187 Info App: Loading Emby.Codecs.Dxva, Version=4.6.3.0, Culture=neutral, PublicKeyToken=null 2021-06-18 19:44:20.187 Info App: Loading Emby.Codecs, Version=4.6.3.0, Culture=neutral, PublicKeyToken=null 2021-06-18 19:44:20.187 Info App: Loading Emby.Server.Connect, Version=4.6.3.0, Culture=neutral, PublicKeyToken=null 2021-06-18 19:44:20.187 Info App: Loading Emby.Server.Sync, Version=4.6.3.0, Culture=neutral, PublicKeyToken=null 2021-06-18 19:44:20.187 Info App: Loading EmbyServer, Version=4.6.3.0, Culture=neutral, PublicKeyToken=null 2021-06-18 19:44:20.561 Info SqliteUserRepository: Sqlite version: 3.35.5 2021-06-18 19:44:20.562 Info SqliteUserRepository: Sqlite compiler options: COMPILER=clang-11.1.0,ENABLE_COLUMN_METADATA,ENABLE_DBSTAT_VTAB,ENABLE_FTS3_PARENTHESIS,ENABLE_FTS3_TOKENIZER,ENABLE_FTS4,ENABLE_FTS5,ENABLE_GEOPOLY,ENABLE_JSON1,ENABLE_MATH_FUNCTIONS,ENABLE_PREUPDATE_HOOK,ENABLE_RTREE,ENABLE_SESSION,ENABLE_UNLOCK_NOTIFY,ENABLE_UPDATE_DELETE_LIMIT,LIKE_DOESNT_MATCH_BLOBS,MAX_SCHEMA_RETRY=25,MAX_VARIABLE_NUMBER=250000,OMIT_LOOKASIDE,SECURE_DELETE,THREADSAFE=1 2021-06-18 19:44:21.437 Info SqliteUserRepository: Default journal_mode for /Users/ /.config/emby-server/data/users.db is wal 2021-06-18 19:44:22.153 Info AuthenticationRepository: Default journal_mode for /Users/ /.config/emby-server/data/authentication.db is wal 2021-06-18 19:44:22.388 Info ActivityRepository: Default journal_mode for /Users/ /.config/emby-server/data/activitylog.db is wal 2021-06-18 19:44:22.396 Info SqliteDisplayPreferencesRepository: Default journal_mode for /Users/ /.config/emby-server/data/displaypreferences.db is wal 2021-06-18 19:44:22.427 Info App: Adding HttpListener prefix http://+:8096/ 2021-06-18 19:44:23.302 Error Main: Error in appHost.Init *** Error Report *** Version: 4.6.3.0 Command line: /Applications/EmbyServer.app/Contents/MacOS/EmbyServer.dll Operating system: Darwin 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64 Framework: .NET Core 3.1.8 OS/Process: x64/x64 Runtime: Applications/EmbyServer.app/Contents/MacOS/System.Private.CoreLib.dll Processor count: 8 Data path: /Users/ /.config/emby-server Application path: /Applications/EmbyServer.app/Contents/MacOS SQLitePCL.pretty.SQLiteException: Corrupt: database disk image is malformed - PRAGMA journal_mode SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown. at SQLitePCL.pretty.SQLiteDatabaseConnection.PrepareStatement(String sql, String& tail) at SQLitePCL.pretty.DatabaseConnection.PrepareStatement(IDatabaseConnection This, String sql) at Emby.Sqlite.BaseSqliteRepository.CreateConnection(Boolean isReadOnly) at Emby.Server.Implementations.Data.SqliteItemRepository.Initialize(SqliteUserDataRepository userDataRepo, IUserManager userManager) at Emby.Server.Implementations.ApplicationHost.InitDatabases() at Emby.Server.Implementations.ApplicationHost.Init() at EmbyServer.HostedService.StartAsync(CancellationToken cancellationToken) Source: SQLitePCL.pretty TargetSite: SQLitePCL.pretty.IStatement PrepareStatement(System.String, System.String ByRef)
Dx11 1 Posted June 23, 2021 Author Posted June 23, 2021 Also strange, If I Restart Emby Server from the dropdown in the Mac Menu Bar, the icon stays there. Normally, the icon disappears and reappears as it restarts. If I choose Exit from the dropdown, the icon does disappear form the Menu Bar.
Happy2Play 9229 Posted June 23, 2021 Posted June 23, 2021 Unfortunately this error suggest you have a corrupt database. SQLitePCL.pretty.SQLiteException: Corrupt: database disk image is malformed - PRAGMA journal_mode First I would shutdown Emby and ensure the shm and wal files don't exist, if they do delete them and restart Emby to see if you still get the error in your log. If they do not then you can try to recover the database per the KB. Corrupt Database : Emby If database can not be recovered you will have to create a new one (last section of the KB). But note all userdata is stored in that database also, if you use the server configuration backup plugin it will be easy to restore that information.
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