Passbolt cant change initial user

CH4Pz

Explorer
Joined
Aug 24, 2017
Messages
59
Just in the process of setting up a scale nas, and currently playing around trialing apps, before all the parts arrive, and i really like the idea of a self hosted password manager, and the only one i can see at the moment is Passbolt.There seems to be little to no guides on youtube, these forums or even passbolt forums, specifically, installing it on scale, they typically reference other OS'.

Theres a small box on the right of the app's page, at the bottom, that says to open shell and add a line of code with your name & email, so you can log into the UI, /usr/share/php/passbolt/bin/cake passbolt register_user -r admin \ -u user@example.com -f first_name -l last_name, but half of it may be cut off by the UI so not sure if correct!!

passbolt.jpg


but i tried it in the shell of both containers (theres root & nonroot containers from what i can gather), and it just returns thats it not valid command. Personally think adding these credentials to the Apps set up page would be MUCH more user friendly!!

When opening shell, it first has a splash screen i was unfamiliar with, rather than going straight into the shell, i may be setting that wrong, not too experienced with command line, honestly.

passbolt pod.jpg


When i do open the shell, it says i dont have sudo priv, but im logged into Scale UI as root?!

error root.jpg


has anyone got this working before, any help would be much appreciated!!
 
Last edited:

CH4Pz

Explorer
Joined
Aug 24, 2017
Messages
59
Maybe Vaultwarden/Bitwarden would be better, seems to at least have more info, nothing directed at Truenas specifically, but see how we get on !!
 

evertonviana

Cadet
Joined
Jan 9, 2024
Messages
6
Hello!

Yesterday I had a hard time getting PassBolt to work in the same phase as you, but I managed to get it working. These are small instructions that aren't included in the "how to", but which make all the difference. I'll try to be brief and clear:

1) When you access the Shell, under PODS you will have two options, the pre-selected one that has "mariadb" in the name and another option. Choose the option without "mariadb".

2) When you access the shell, go back to the root of the folders, type: cd .. <enter> cd .. <enter> cd .. <enter> cd .. <enter> cd .. <enter>
type the command "ls" to see the folders, you will have to view this:
Captura de tela 2024-01-09 101333.png


3) The command of the instruction is incorrect, I was only able to make it work like this below, you must enter the command with your data (E-mail, Your name and last name in the correct fields):
Code:
/usr/share/php/passbolt/bin/cake passbolt register_user -r admin -u user@example.com -f first_name -l last_name
 

CH4Pz

Explorer
Joined
Aug 24, 2017
Messages
59
Hello!

Yesterday I had a hard time getting PassBolt to work in the same phase as you, but I managed to get it working. These are small instructions that aren't included in the "how to", but which make all the difference. I'll try to be brief and clear:

1) When you access the Shell, under PODS you will have two options, the pre-selected one that has "mariadb" in the name and another option. Choose the option without "mariadb".

2) When you access the shell, go back to the root of the folders, type: cd .. <enter> cd .. <enter> cd .. <enter> cd .. <enter> cd .. <enter>
type the command "ls" to see the folders, you will have to view this:
View attachment 74383

3) The command of the instruction is incorrect, I was only able to make it work like this below, you must enter the command with your data (E-mail, Your name and last name in the correct fields):
Code:
/usr/share/php/passbolt/bin/cake passbolt register_user -r admin -u user@example.com -f first_name -l last_name
Great instructions, appriciate the help, although i did TRY go the vaultwarden/bitwarden route (and got caught up on reverse proxys, so ended up just using bitwarden like any other pwm haha, at least its encrypted before hitting their servers!). I hope this helps someone else out there though
 

richmp95

Cadet
Joined
Jan 28, 2024
Messages
7
Hello!

Yesterday I had a hard time getting PassBolt to work in the same phase as you, but I managed to get it working. These are small instructions that aren't included in the "how to", but which make all the difference. I'll try to be brief and clear:

1) When you access the Shell, under PODS you will have two options, the pre-selected one that has "mariadb" in the name and another option. Choose the option without "mariadb".

2) When you access the shell, go back to the root of the folders, type: cd .. <enter> cd .. <enter> cd .. <enter> cd .. <enter> cd .. <enter>
type the command "ls" to see the folders, you will have to view this:
View attachment 74383

3) The command of the instruction is incorrect, I was only able to make it work like this below, you must enter the command with your data (E-mail, Your name and last name in the correct fields):
Code:
/usr/share/php/passbolt/bin/cake passbolt register_user -r admin -u user@example.com -f first_name -l last_name
is there anyway you could possibly tell me how you got it up and running? i am stuck on deploying
 

richmp95

Cadet
Joined
Jan 28, 2024
Messages
7
Hello,

What stage are you at? Where did you stop, can you post the screens here?
going to need to give me a few days possibly. i am taking a break from everything. plus i might need to pull all my plex data off so i can uninstall plex so i can install traefik. not to mention even thou i registered a domain through cloudflare i can not get https to work on the truenas server. so i might be doing a clean install. have no idea what i am doing wrong when it comes to the ssl certs. another thing driving me nuts.
 

evertonviana

Cadet
Joined
Jan 9, 2024
Messages
6
Yes, in your case there are many apps that depend on each other. I'd recommend you do it gradually (install, configure and test) and move on to the next one.

In my case, the digital certificate was generated by my firewall and released via reverse proxy by HaProxy, to Truenas (PassBolt).

Let me know if I can help in the future!
 

richmp95

Cadet
Joined
Jan 28, 2024
Messages
7
Yes, in your case there are many apps that depend on each other. I'd recommend you do it gradually (install, configure and test) and move on to the next one.

In my case, the digital certificate was generated by my firewall and released via reverse proxy by HaProxy, to Truenas (PassBolt).

Let me know if I can help in the future!
ok i think i am one step closer. seems to be an issue with the ssl certificiate. even when using cloudflare acme dns-authenticators and creating a request and cert just for my domain specificly for passbolt. it keeps throwing a privacy error. now mind you i have not wiped clean with a fresh install. really wish someone would do a indepth video on how to install passbolt with a valid ssl cert.
 

evertonviana

Cadet
Joined
Jan 9, 2024
Messages
6
ok i think i am one step closer. seems to be an issue with the ssl certificiate. even when using cloudflare acme dns-authenticators and creating a request and cert just for my domain specificly for passbolt. it keeps throwing a privacy error. now mind you i have not wiped clean with a fresh install. really wish someone would do a indepth video on how to install passbolt with a valid ssl cert.
Hello!

I'm having a bit of trouble understanding exactly where your problem is.

You say you're having problems with the digital certificate, but how did you relate this problem to PassBolt, how did you come to this conclusion?

As a test, I would recommend that you change this link to any web service to see if the privacy error is still occurring. If the error persists, the problem lies in the issuing of the certificate or even in the mechanism you are using to pass the certificate to the web service.

The process of attaching the certificate to the passbolt is simple, so I don't see much of a problem, especially if you're using the Truenas APP.
 

richmp95

Cadet
Joined
Jan 28, 2024
Messages
7
when i go to the link for passbolt this is what it says. no matter the browser i am using.
 

Attachments

  • 70b02f4b618852d0acb185b189b489f0.png
    70b02f4b618852d0acb185b189b489f0.png
    34.2 KB · Views: 234

evertonviana

Cadet
Joined
Jan 9, 2024
Messages
6
quando vou para o link do passbolt é isso que diz. não importa o navegador que estou usando.

This error is about the certificate and not the passbolt.
Can you open the properties of the digital certificate via the browser? what information appears?
 

richmp95

Cadet
Joined
Jan 28, 2024
Messages
7
all it keeps saying no matter the browser that it is self signed even thou i have it pointing to the cloudflare cert within the options on the app on truenas. can not actually see any info of the cert itself that it is trying to use. nevermind, i ended up finding it. here is the info.
 

Attachments

  • 8791daf9a2b63c3c93849c7915963495.png
    8791daf9a2b63c3c93849c7915963495.png
    33.6 KB · Views: 248

richmp95

Cadet
Joined
Jan 28, 2024
Messages
7
i did send you my email. now here is the update. on a separate machine i installed ubuntu 22.04.3 LTS. this is the desktop version. through docker-compose. i worked one by one until i finally got it up and running with the domain. i have no issue in leaving it on this machine however, i would like to get it on my truenas as well as to get the dang mobile app to work.
 

richmp95

Cadet
Joined
Jan 28, 2024
Messages
7
This error is about the certificate and not the passbolt.
Can you open the properties of the digital certificate via the browser? what information appears?
do you happen to have traefik working on your system? if so how the hell do you get traefik middleware to work
 
Top