Jump to content

Cannot Connect to localhost


Dx11
Go to solution Solved by Dx11,

Recommended Posts

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.

1663753483_ScreenShot2021-06-18at6_07_10PM.thumb.png.045f3de572fb55fca2475b7f5d38cefe.png

Link to comment
Share on other sites

roaku

Are you able to connect at 127.0.0.1:8096 ?

Link to comment
Share on other sites

roaku

Are you sure that the Emby server is running?

Link to comment
Share on other sites

roaku

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.

Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

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 (?)

1568757412_ScreenShot2021-06-18at7_45_15PM.thumb.png.1800ca8a0941ca6f8d654c9e4a569886.png

Edited by Dx11
Link to comment
Share on other sites

Happy2Play

It there a active embyserver.txt or just embyserver-xxxxxxxxxxxxxxxxx.txt log?

 

Link to comment
Share on other sites

Just now, Happy2Play said:

It there a active embyserver.txt or just embyserver-xxxxxxxxxxxxxxxxx.txt log?

I'm sorry, where would I find that?

Link to comment
Share on other sites

Happy2Play
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

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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.

Screen Shot 2021-06-22 at 10.43.26 PM.png

Link to comment
Share on other sites

Happy2Play

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.

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