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

Unraid cannot init #115

Open
Hampo opened this issue Feb 16, 2025 · 3 comments
Open

Unraid cannot init #115

Hampo opened this issue Feb 16, 2025 · 3 comments

Comments

@Hampo
Copy link

Hampo commented Feb 16, 2025

Followed the instructions in the Unraid community apps to run the following commands:

docker exec -it protonmail-bridge /bin/bash
chmod +x entrypoint.sh
./entrypoint.sh init

Received the error:

root@fe95c1bfa89d:/protonmail# chmod +x ./entrypoint.sh 
root@fe95c1bfa89d:/protonmail# ./entrypoint.sh init
+ [[ init == init ]]
+ gpg --generate-key --batch /protonmail/gpgparams
gpg: Generating a basic OpenPGP key
gpg: revocation certificate stored as '/root/.gnupg/openpgp-revocs.d/B1EA39DCE18CCD4AE92FF5FC0D96D02522FC35E8.rev'
gpg: done
+ pass init pass-key
Password store initialized for pass-key
gpg: checking the trustdb
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   4  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 4u
docker-credential-helpers/cHJvdG9ubWFpbC9icmlkZ2UtdjMvdXNlcnMvYnJpZGdlLXZhdWx0LWtleQ==/bridge-vault-key: reencrypting to 
+ protonmail-bridge --cli
WARN[Feb 16 21:57:17.466] Failed to create lock file; another instance is running
@simonfelding
Copy link
Collaborator

can you run ps aux and report the output? you probably have a protonmail-bridge process running and need to use kill to end it. I'll get it fixed soon

@Hampo
Copy link
Author

Hampo commented Feb 17, 2025

Sorry for the delay - after some further research I found that there's 2 processes that are running: bridge and protonmail-bridge. If you kill both, you can run the init command and go from there.

@Hampo
Copy link
Author

Hampo commented Feb 17, 2025

Oh, and the output you wanted, ran on a fresh image:

USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root           1  0.1  0.0   4068  2944 ?        Ss   21:04   0:00 bash /protonmail/entrypoint.sh
root           7  0.0  0.0  11064  3840 ?        S    21:04   0:00 socat TCP-LISTEN:25,fork TCP:127.0.0.1:1025
root           8  0.0  0.0  11064  3712 ?        S    21:04   0:00 socat TCP-LISTEN:143,fork TCP:127.0.0.1:1143
root          11  0.0  0.0   2588  1280 ?        S    21:04   0:00 cat faketty
root          12  0.0  0.0 1577132 10624 ?       Sl   21:04   0:00 protonmail-bridge --cli
root          18  0.5  0.0 2212452 33280 ?       Sl   21:04   0:00 /usr/lib/protonmail/bridge/bridge --cli --session-id 20250217_210438657 --launc
root          55  0.0  0.0  72544  3084 ?        Ss   21:04   0:00 gpg-agent --homedir /root/.gnupg --use-standard-socket --daemon
root          87  0.0  0.0   4332  3584 pts/0    Ss   21:04   0:00 bash
root          93  0.0  0.0   6352  3712 pts/0    R+   21:04   0:00 ps aux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants