RetroShare / RetroShare

RetroShare is a Free and Open Source cross-platform, Friend-2-Friend and secure decentralised communication platform.
https://retroshare.cc/
Other
1.76k stars 282 forks source link

Debian 12 headless install with OBS, can't make it work #2881

Open RagnarLodbrok79 opened 2 months ago

RagnarLodbrok79 commented 2 months ago

I have install Retroshare from this link: https://retroshare.cc/downloads.html and followed the Debian instructions. I have installed: retroshare-common retroshare-service

I enter this retroshare-service -W

And get this:

I 1727112176.417
+================================================================+
|     o---o                                             o        |
|      \ /           - Retroshare Service -            / \       |
|       o                                             o---o      |
+================================================================+

I 1727112176.417 libretroshare version: 0.6.7---OBS

RetroShare:: Successfully installed the SIGPIPE Block
Cannot hash executable! Plugins will not be loaded correctly.
I 1727112176.418 static bool RsAccountsDetail::defaultBaseDirectory() /home/dietpi/.retroshare
I 1727112176.418 PGPHandler: Initing pgp keyrings
I 1727112176.418   pubring file: /home/dietpi/.retroshare/pgp/retroshare_public_keyring.gpg not found. Creating an empty one
I 1727112176.418   Pubring read successfully
I 1727112176.418   Secring file: /home/dietpi/.retroshare/pgp/retroshare_public_keyring.gpg not found. Creating an empty one
I 1727112176.418   Secring read successfully
E 1727112176.418 PGPHandler: Successfully read 0 trust packets.
I 1727112176.418 RsAccounts: parsing existing accounts.
E 1727112176.418   getAvailableAccounts() Skipping Invalid sized dir: pgp

I 1727112176.418 Configuring web services
I 1727112176.419   Using supplied listening port 9092
I 1727112176.419   Using supplied binding address 127.0.0.1
I 1727112176.419   Starting JSON API.
I 1727112176.419   Done.
I 1727112176.420 virtual void JsonApiServer::run() JSON API server listening on http://127.0.0.1:9092

E 1727112186.429 OpenPGPSDKHandler::syncDatabase(): can't stat file /home/dietpi/.retroshare/pgp/retroshare_public_keyring.gpg. Can't sync public keyring.
E 1727112196.441 OpenPGPSDKHandler::syncDatabase(): can't stat file /home/dietpi/.retroshare/pgp/retroshare_public_keyring.gpg. Can't sync public keyring.
E 1727112206.453 OpenPGPSDKHandler::syncDatabase(): can't stat file /home/dietpi/.retroshare/pgp/retroshare_public_keyring.gpg. Can't sync public keyring.

Is there any obvious error?

If i run this: retroshare-service -h It doesn't show -W as an option, that's a little bit odd?

I can't access web page with ssh tunnel as described.

csoler commented 2 months ago

retroshare-service is the headless version. Assuming that this is what you want to run, there's no way to create a new profile with this headless executable yet. You have to create one using the GUI version, then possibly copy the profile directory the machine where you want to run retroshare-service. It seems you havn't done that yet, which explains that retroshare-service finds no profile to start with.

-W asks for a passwd to be used when login in the webUI.

RagnarLodbrok79 commented 2 months ago

Thanks, will try to make a profile on a another machine