Compare commits

..

3 Commits

3 changed files with 187 additions and 4 deletions

65
README.accounts.22.04 Normal file
View File

@@ -0,0 +1,65 @@
# =================
# Creating Accounts
# =================
# see: https://docs.bigbluebutton.org/greenlight/v3/install/#creating-an-admin-account
# -----
# Creating an Administrator Account
# -----
# You can do that by running the following command:
#
# docker exec -it greenlight-v3 bundle exec rake admin:create['name','email','password']
#
# Create admin user - Login: ckubu@oopen.de - Full Name: Admin O.OPEN
#
docker exec -it greenlight-v3 bundle exec rake admin:create['Admin O.OPEN','ckubu@oopen.de','EadGl15E.%']
# You can also run it without any arguments to create the default admin account,
# which you can either change its password and use, or use it to promote your own
# account becoming an Administrator and then delete it.
#docker exec -it greenlight-v3 bundle exec rake admin:create
# To create an Administrator account with the default values, in the
# Greenlight directory, run the following command:
#
docker exec greenlight-v2 bundle exec rake admin:create
# ---
# Upgrading an existing account to an Admin Account
# ---
# You can do that by running the following command:
#
# docker exec -it greenlight-v3 bundle exec rake user:set_admin_role['email']
# -----
# Creating User Accounts
# -----
# Greenlight v3 hat keine CLI zur Benutzererstellung (wie Greenlight v2), daher geht es ausschließlich über die API.
Name Login Passwort
===============================================
inge inge.reitberger@oopen.de pacotaibo2
Maex mx@so36.net e6i/U-2NRpLa
ilk ilk@oopen.de E4_Z4-XzmLpd
opp1 opp1@opferperspektive.de 5.STRz/zK5/q
opp2 opp2@opferperspektive.de 22MtX/vHT.pR
soli-mm soli-mm@oopen.de fr31h31t-fu3r-M&M
andi ritz-m@so36.net Yi2/iQ-_P.jw

View File

@@ -62,6 +62,33 @@ wget -qO- https://raw.githubusercontent.com/bigbluebutton/bbb-install/v3.0.x-rel
| bash -s -- -w -v jammy-300 -s ${FQDN_HOSTNAME} -e ${ADMIN_EMAIL} -g
# !! Note !!
#
# FIX installation error
#
# ...
# bbb-install: greenlight-v3 was successfully configured
# bbb-install: pulling latest greenlight-v3 services images...
# ERROR: client version 1.25 is too old. Minimum supported API version is 1.44, please upgrade your client
# to a newer version
# bbb-install: starting greenlight-v3...
# ERROR: client version 1.25 is too old. Minimum supported API version is 1.44, please upgrade your client
# to a newer version
# bbb-install: greenlight-v3 is now installed and accessible on: https://bbb.oopen.de/
# ...
#
# # Standardpfad für Greenlight v3 (vom bbb-install-Script) ist:
# cd /root/greenlight-v3
#
# docker compose pull
# docker compose up -d
cd /root/greenlight-v3
docker compose pull
docker compose up -d
# !! Note !!
#
# If the FQHN of the BigBlueButton service is part of the '/etc/hosts' file,
@@ -99,10 +126,9 @@ fi
# --
# Installation finished
# --
# Installation finished
# =====================================================================================
# ===
@@ -133,4 +159,45 @@ else
fi
# =====================================================================================
# ===
# Open Registration abschalten (empfohlener Weg)
# ===
# 1. Melde dich in Greenlight als Administrator an.
# ==================================================
#
# Oben rechts auf dein Profil / Namen klicken → Administrator Panel (oder „Administration“).
#
# Dort zu Site Settings / Seiten-Einstellungen gehen.
#
# Bei Registration Method einen restriktiven Modus wählen, z. B.:
#
# Join by Invitation
# -> Es gibt keine offene Anmeldung mehr.
# Nur Nutzer, die von einem Admin per Einladung (Mail-Link) eingeladen wurden, können sich registrieren.
# bigbluemeeting.com
#
# Alternativ: Approve / Decline
# -> Jeder kann sich registrieren, aber ohne Admin-Freigabe können sie sich nicht einloggen.
#
#
# Bemerkung:
# =========
# Wenn du effektiv gar keine neuen Nutzer willst, stellst du auf Join by Invitation und verschickst
# einfach keine Einladungen. Dann gibt es faktisch keine Registrierung mehr.
# 2. Sign up“-Button ist noch da?
# ===============================
#
# Der Button bleibt im UI, aber:
#
# Bei Join by Invitation funktioniert der normale Self-Sign-up ohne Invite nicht mehr - Nutzer brauchen
# einen gültigen Einladungs-Token.
#
# Wenn dich der Button optisch stört, kannst du über die GL-Customization (Texte/Frontend anpassen) den
# Text ändern oder entfernen. Das läuft über Dateien wie en.json / *.yml etc. und wird in der GL-Doku
# unter Customize Greenlight beschrieben.

View File

@@ -687,6 +687,57 @@ EOF
echo_ok
fi
echononl "Add nodejs major version 22 to APT sources.."
tee /etc/apt/sources.list.d/nodesource.sources <<EOF > "$log_file" 2>&1
Types: deb
URIs: https://deb.nodesource.com/node_22.x
Suites: nodistro
Components: main
Signed-By: /etc/apt/keyrings/nodesource.gpg
EOF
if [[ $? -ne 0 ]]; then
echo_failed
error "$(cat "$log_file")"
echononl "continue anyway [yes/no]: "
read OK
OK="$(echo "$OK" | tr '[:upper:]' '[:lower:]')"
while [[ "$OK" != "yes" ]] && [[ "$OK" != "no" ]] ; do
echononl "Wrong entry! - repeat [yes/no]: "
read OK
done
[[ $OK = "yes" ]] || fatal "Interrupted by user."
else
echo_ok
fi
_failed=false
echononl "Take care 'nodejs' is installed from 'deb.nodesource.com'.."
echo "Package: nodejs" | tee /etc/apt/preferences.d/nodejs > "$log_file" 2>&1
[[ $? -ne 0 ]] && _failed=true
echo "Pin: origin deb.nodesource.com" | tee -a /etc/apt/preferences.d/nodejs >> "$log_file" 2>&1
[[ $? -ne 0 ]] && _failed=true
echo "Pin-Priority: 600" | tee -a /etc/apt/preferences.d/nodejs >> "$log_file" 2>&1
[[ $? -ne 0 ]] && _failed=true
if ${_failed} ; then
echo_failed
error "$(cat "$log_file")"
echononl "continue anyway [yes/no]: "
read OK
OK="$(echo "$OK" | tr '[:upper:]' '[:lower:]')"
while [[ "$OK" != "yes" ]] && [[ "$OK" != "no" ]] ; do
echononl "Wrong entry! - repeat [yes/no]: "
read OK
done
[[ $OK = "yes" ]] || fatal "Interrupted by user."
else
echo_ok
fi
fi