How do I perform a clean installation of LBRY while preserving important data?
Under certain circumstances, particularly if you've tested earlier beta versions, it may be recommended that you perform a clean installation of LBRY. This generally involves uninstalling the current LBRY application, removing various directories/files and then reinstalling the latest version of LBRY. Different operating systems use different folder locations, and this post on directories will help if you cannot locate the right files or folders.
After uninstalling LBRY, the working directories are left intact so that the application can be easily reinstalled without losing your application data and wallet file. Application data is in the lbrynet folder (LBRY folder for Mac), and it includes various database and configuration files. Wallet and blockchain data is in the lbryum folder. Typically, you will want to save your wallet and a handful of configuration/database files when performing a clean installation in order to keep your important data intact.
Note: after a clean install, you may be prompted again for your email. This is normal. As always, you can email [email protected] or reach out to us on Discord chat if you encounter any trouble.
Windows
- Reboot your PC (this is to ensure that no LBRY processes are running.)
- Uninstall the LBRY application by accessing "Add or Remove Programs" via the Control Panel.
- Type
%appdata%
into an Explorer window to find the working directories. - Delete the entire LBRY folder.
- If you are performing a clean installation, delete the "lbryum" and "lbrynet" folders also (!!THIS WILL DELETE YOUR WALLET FILE AND DATA!!) then skip to step 8.
- Navigate to the "lbryum" folder and delete the
blockchain_headers
file. - Navigate to the "lbrynet" folder and delete all items while leaving the following:
blobfiles folder
- stores encrypted downloaded files which are used for hosting.blobs.db
- reference data for the blob files which are used for hosting purposes.lbryfile_info.db
- Downloads and Publishes data.blockchainname.db
- Supports downloads data.
- Install the latest version of LBRY from: GitHub App Page. If prompted to allow through Windows Firewall, click Allow
- LBRY should start immediately after the installation. If you retained your data, your balance and content should be reflected.
MacOS
- Reboot your PC (this is to ensure that no LBRY processes are running).
- Uninstall the LBRY application by dragging the LBRY app from the Applications folder to the "Trashcan" icon (located at the end of the Dock), then click Finder > Empty Trash.
- Open Finder, click "Go" in the top menu, choose "Go To Folder", Type "~/Library/Application Support/LBRY" and then click go.
- If performing a clean installation, delete the entire contents of this folder (!!THIS WILL DELETE YOUR LBRY DATA!!) and proceed to step 6.
- Otherwise, delete everything except for:
blobfiles folder
- stores encrypted downloaded files which are used for hosting.blobs.db
- reference data for the blob files which are used for hosting purposes.lbryfile_info.db
- Downloads and Publishes data.blockchainname.db
- Supports downloads data.
- In Finder - click "Go" in the top menu, choose "Go To Folder", type. ~/.lbryum and then click go.
- If performing a clean install, delete the entire contents of this folder (!!THIS WILL DELETE YOUR WALLET FILE!!) and proceed to the next step, otherwise delete just the
blockchain_headers
file. - Install the latest version of LBRY from: GitHub App Page
- Launch LBRY by starting it from the Applications folder. You can add it to your dock for easier access. If you kept your data and wallet file, your balance and content should be reflected.
Ubuntu / Linux
(Exact steps may vary per distro)
- Reboot your PC (this is to ensure that no LBRY processes are running).
- Uninstall the LBRY application by going to terminal and typing: sudo apt-get remove lbry. Y to confirm (Ubuntu specific command).
- Open the File browser and navigate to the Home directory. Press Ctrl-H to view hidden files and folders.
- If performing a clean installation, delete the .lbryum and .lbrynet folders (!!THIS WILL DELETE YOUR WALLET AND DATA!!) and skip to step 8
- Navigate to the .lbryum folder and delete the
blockchain_headers
file. - Navigate to the .lbrynet folder and delete all items while leaving the following:
blobfiles folder
- stores encrypted downloaded files which are used for hosting.blobs.db
- reference data for the blob files which are used for hosting purposes.lbryfile_info.db
- Downloads and Publishes data.blockchainname.db
- Supports downloads data.
- Install the latest version of LBRY from: GitHub App Page
- Click the Search button on the toolbar, type LBRY and then hit enter to launch LBRY. You can pin it to your taskbar for easier access. If you kept your data, your balance and content should be reflected.
See a mistake? Edit this page on GitHub.