45 lines
1.5 KiB
Plaintext
45 lines
1.5 KiB
Plaintext
If /mnt/stpool1/Users/<user>/truestuff folder is not present
|
|
-----------------------------------------------------------
|
|
cd ~ or cd /mnt/stpool1/Users/<user>/
|
|
git clone https://code.lksz.me/szmedia/truestuff.git
|
|
|
|
Database access
|
|
---------------
|
|
# passwords can be obtained by:
|
|
# Option 1:
|
|
# go to Truenas -> Apps -> <select app> -> Edit
|
|
# scroll to Postgresql; the password should be visible in the Password field
|
|
# Option 2:
|
|
# open truenas shell / ssh as root
|
|
cd /mnt/stpool1/Users/<user>/truestuff
|
|
./tcdbinfo.sh
|
|
# log in to pgAdmin
|
|
# from here onwards, it assumed that authentik is the server to be connected to:
|
|
|
|
Register server
|
|
===============
|
|
# If server is already registered, right click on authentik server and select Properties, otherwise:
|
|
# Right click on Servers and select Register -> Server...
|
|
|
|
# Enter the following in the dialog box that opened:
|
|
General
|
|
-------
|
|
Name: authentik
|
|
Server group: Servers
|
|
Background: <checked>
|
|
Foreground: <checked>
|
|
Connect now? <select> (won't be displayed if editing properties)
|
|
Connection
|
|
----------
|
|
Host name/address: authentik-cnpg-main-rw.ix-authentik.svc.cluster.local
|
|
Port: 5432
|
|
Maintenance database: postgres
|
|
Username: authentik
|
|
Kerberos authentication?: <not selected>
|
|
Password: <authentik user password as obtained above> (this field will show only if Connect now? is selected on General tab)
|
|
Role: <leave blank>
|
|
# Click Save
|
|
# Right click on authentik server and select Connect Server
|
|
# Enter authentik user password if Connect now? wasn't selected earlier
|
|
|