Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LBRY will not start because of permission error #119933

Open
yisraeldov opened this issue Apr 20, 2021 · 10 comments
Open

LBRY will not start because of permission error #119933

yisraeldov opened this issue Apr 20, 2021 · 10 comments
Labels
0.kind: bug Something is broken 9.needs: upstream fix This PR needs upstream to change something

Comments

@yisraeldov
Copy link
Contributor

Describe the bug
LBRY will not start because there is a permissions error

To Reproduce
Steps to reproduce the behavior:

  1. start lbry
  2. will not start
  3. chmod a+wrx /home/yisraeldov/.local/share/lbry/lbryum/lbc_mainnet/headers
  4. Now you can start

Expected behavior
LBRY should start without this

Notify maintainers
@enderger

Metadata

- system: `"x86_64-linux"`
 - host os: `Linux 5.10.24, NixOS, 20.09.3866.9a1672105db (Nightingale)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.10`
 - channels(root): `"home-manager-20.09, nixos-20.09.3866.9a1672105db, nixos-unstable-21.05pre283367.0a5f5bab0e0"`
 - channels(yisraeldov): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

@yisraeldov yisraeldov added the 0.kind: bug Something is broken label Apr 20, 2021
@enderger
Copy link
Member

I cannot reproduce this on either of my systems.

@yisraeldov
Copy link
Contributor Author

yisraeldov commented Apr 20, 2021 via email

@enderger
Copy link
Member

enderger commented Apr 20, 2021

Hmm, moving that file seems to actually cause that behavior. Unfortunately, since I am just wrapping the AppImage I don't know exactly if I can fix that. It seems like a state file used by Lbry's cryptocurrency, which cannot reside in the immutable Nix store. If anyone else has any ideas on how to fix this, I'd be more than happy to hear them, as I'm still pretty new to Nixpkgs.

Also, sorry for the delayed response, I was still waking up and don't usually get onto my machines until I've been up for a hour or 2. I was working off of the fact that it worked in every instance when getting it into Nixpkgs.

@karolchmist
Copy link
Member

I can reproduce the problem, and @yisraeldov's command fixes it:

chmod a+wrx ~/.local/share/lbry/lbryum/lbc_mainnet/headers

Not sure how to fix the installation since it's a file in user folder...

@enderger
Copy link
Member

enderger commented Jul 2, 2021

From what I can tell, this file is made at first run. The install script does not even have access to user directories, so a fix may not be possible on our end.

@Artturin
Copy link
Member

Artturin commented Dec 5, 2021

Report the issue upstream

@Artturin Artturin added the 9.needs: upstream fix This PR needs upstream to change something label Dec 5, 2021
@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 19, 2022
@billksun
Copy link
Contributor

Just encountered this issue. Still relevant.

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Feb 14, 2024
@yisraeldov
Copy link
Contributor Author

@billksun Not sure, it never starts for me. But I sadly think the project is dead.

@raspher
Copy link
Member

raspher commented Feb 18, 2024

@enderger @yisraeldov please look at lbryio/lbry-desktop#7766 it's that one i've got a month or two ago. It won't start cos of died servers. I've fixed wallet servers locally and it worked.

Development slowed down 2y ago, now last commit is 10 moths old. This may be patched, but sadly /decentralized, user-controlled content marketplace/ is not as decentralized as one may think.

@nktrjsk
Copy link

nktrjsk commented Aug 21, 2024

Fix also worked for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken 9.needs: upstream fix This PR needs upstream to change something
Projects
None yet
Development

No branches or pull requests

7 participants