Lbry-desktop: shutdown on startup, with message "The daemon has unexpectedly shutdown. Goodbye."

Created on 26 Jun 2017  路  24Comments  路  Source: lbryio/lbry-desktop

The Issue

Steps to reproduce

1.Open LBRY app on mac os 10.12.5
2.LBRY app shuts down on its own, with error message "The daemon has unexpectedly shutdown. Goodbye."
3.

Expected behaviour

Tell us what should happen
I think the App should open, and allow me access to its goodness.

Actual behaviour

Tell us what happens instead
The app shuts down, and denies me all the goodness.

System Configuration

I cant access that. App closes on startup.

Anything Else

Screenshots

Most helpful comment

Yep, that did it. Thanks guys!

All 24 comments

@TrompoMax thanks for reporting this! However, we cannot debug without more details.

Can you send your lbrynet.log file to [email protected] and reference this ticket (lbry-app #291)?

Where would I find lbrynet.log?

Oops, meant to include this link: https://lbry.io/faq/lbry-directories.

I do not have a LBRY folder in my applications support folder sub directory of Library. This may be part of the problem.

I ran the software from Terminal, and this is the readout. Does this help at all?

max-cranleys-macbook:~ workingaccount$ /Applications/LBRY.app/Contents/MacOS/LBRY ; exit;
Checking for lbrynet daemon
lbrynet daemon needs to be launched
Launching daemon: /Applications/LBRY.app/Contents/Resources/app/dist/lbrynet-daemon
2017-06-26 12:55:43,901 INFO lbrynet.lbrynet_daemon.DaemonControl:92: Starting lbrynet-daemon from command line
2017-06-26 12:55:44,220 INFO lbrynet.lbrynet_daemon.DaemonServer:64: Using non-authenticated API
2017-06-26 12:55:44,222 INFO lbrynet.lbrynet_daemon.Daemon:254: Starting lbrynet-daemon
2017-06-26 12:55:44,309 INFO lbrynet.lbrynet_daemon.ExchangeRateManager:174: Starting exchange rate manager
2017-06-26 12:55:44,480 INFO lbrynet.lbrynet_daemon.Daemon:281: Platform: {"lbrynet_version": "0.13.1rc1", "platform": "Darwin-16.6.0-x86_64-i386-64bit", "os_system": "Darwin", "python_version": "2.7.13", "os_release": "16.6.0", "lbryum_version": "2.8.2", "ip": "2601:644:0:9285:1d0:6c38:e129:1d32", "lbryschema_version": "0.0.7", "processor": "i386", "build": "rc"}
2017-06-26 12:55:44,485 INFO lbrynet.lbrynet_daemon.Daemon:488: Loading databases
2017-06-26 12:55:44,489 INFO lbrynet.lbrynet_daemon.Daemon:516: Upgrading your databases
2017-06-26 12:55:44,489 INFO lbrynet.db_migrator.migrate1to2:9: Doing the migration
2017-06-26 12:55:44,492 ERROR lbrynet.lbrynet_daemon.DaemonControl:128: Failed to startup
Traceback (most recent call last):
File "site-packages/lbrynet/lbrynet_daemon/DaemonControl.py", line 125, in start_server_and_listen
File "site-packages/twisted/internet/defer.py", line 1297, in _inlineCallbacks
File "site-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
File "site-packages/lbrynet/lbrynet_daemon/DaemonServer.py", line 49, in start
File "site-packages/twisted/internet/defer.py", line 1297, in _inlineCallbacks
File "site-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
File "site-packages/lbrynet/lbrynet_daemon/Daemon.py", line 262, in setup
File "site-packages/twisted/python/threadpool.py", line 246, in inContext
File "site-packages/twisted/python/threadpool.py", line 262, in
File "site-packages/twisted/python/context.py", line 118, in callWithContext
File "site-packages/twisted/python/context.py", line 81, in callWithContext
File "site-packages/lbrynet/db_migrator/dbmigrator.py", line 9, in migrate_db
File "site-packages/lbrynet/db_migrator/migrate1to2.py", line 10, in do_migration
File "site-packages/lbrynet/db_migrator/migrate1to2.py", line 37, in migrate_blockchainname_db
OperationalError: no such table: claim_ids
2017-06-26 12:55:44,492 INFO lbrynet.lbrynet_daemon.Daemon:412: Closing lbrynet session
2017-06-26 12:55:44,493 INFO lbrynet.lbrynet_daemon.Daemon:413: Status at time of shutdown: loading_db
2017-06-26 12:55:44,494 INFO lbrynet.lbrynet_daemon.Daemon:412: Closing lbrynet session
2017-06-26 12:55:44,495 INFO lbrynet.lbrynet_daemon.Daemon:413: Status at time of shutdown: loading_db
The daemon has exited.
Did not request daemon stop, so quitting in 5 seconds.
Quitting.
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

Thanks, the issue is clear from that log so no need to email.

My pleasure. Thank you!

@TrompoMax, another user had a similar issue on MAC and this was suggested:
Fix: to manually bypass this, delete blockchainname.db and db_revision in the lbrynet data folder.

Looks like you had an older installation, so this directory may be different. Can you search your pc for those files? Maybe then you will find the directory.

We will be working on a guide on how to do a fresh install while preserving most of your data (wallet especially!)

I did have an older version of the app installed, yes. Please do let me know when that guide is complete. I can't find those files, unfortunately.

@TrompoMax I can confirm that what @tzarebczan works as I was having the issue, too. Click _Go_ in Finder at the top of the screen, use this location exactly: ~/Library/Application Support/LBRY, and voila! You should be able to see those two files mentioned and delete them. Make sure to empty the trash, too. All you do then is reopen LBRY.app and you should be good. :)

Yep, that did it. Thanks guys!

Great! We will still work on a guide on how to clean install and then possibly copy over pertinent files.

@iretrala thanks for the tip, that was going to be part of the documentation (or how to show hidden files). If you are on Slack, PM me and I'll throw you a couple LBC (my handle is jiggytom).

Ya, thanks again. Just for clarity, there are at least 2 Library folders in MacOS. One for each user, and one for the system. All of my apps, including LBRY are in my main system applications directory, so I assumed the library folder you were asking me to look into was in that one. The files I was looking for were actually in my user Library folder.

I'm going to close this, since this isn't an issue with the app itself (it's the daemon), the daemon devs know, and a help article is in the pipeline. Thanks all!

For anyone experiencing this issue on linux: the files where located in ~/.lbrynet and removing them fixed the issue.

I have tried everything without succes please Help !
Do I lost my wallet now?

Have you looked at https://lbry.io/faq/startup-troubleshooting ?

What os? Please provide logs.

Already tried everything No results ? IOS Mac pro

I replied to you on slack, give a reboot, Uninstall, reinstall a try. Then follow my other instructions about the log file.

I have Deleted all files from previous instalation do not find backup files ...

If I install on a Windows pc and sign in with my email and give the details from the transfer Bitrex to wallet with address Is it possible to get the coins back?

I have new install now on a Windows pc !
How to get my coins in the wallet ?

@SANOEK60 I'll work with you on Slack. Check your messages.

I have the same problem too! "The daemon has unexpectedly shutdown. Goodbye."
Windows 7
LBRY_0.16.1 or LBRY_0.15.0 the same

UPD
Problem solved!
Unistall and delete all files and folders LBRY, and reinstall new release!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tzarebczan picture tzarebczan  路  17Comments

tzarebczan picture tzarebczan  路  16Comments

toktoakhil picture toktoakhil  路  22Comments

kauffj picture kauffj  路  12Comments

zedeus picture zedeus  路  29Comments