Documentation issues
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 2/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 72/100
- Type d'issue
- Documentation
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- kubernetes, rails, ruby
- Domaine
- devops, documentation, infrastructure
Piste de recherche
Commencez par la documentation des variables d’environnement pour le self-hosting et par l’ancre manquante pour passer une instance existante en production, référencée depuis les logs de 1.15.0. Vérifiez la section 2FA et l’exemple de probe Kubernetes, puis documentez les variables de production requises ainsi que SMTP_AUTHENTICATION=none ; le travail est terminé lorsque le lien fonctionne et que les étapes de production listées correspondent à la configuration signalée.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
BEFORE OPENING AN ISSUE, MAKE SURE YOU READ THIS: https://github.com/Freika/dawarich/issues/1382
OS & Hardware
running in 3 node k3s kubernetes cluster
Version
1.15.0
Describe the bug
I wanted to changed my self hosted instance as recommend from RAILS_ENV=development to production
the link in the logs was
https://dawarich.app/docs/self-hosting/environment-variables/#switching-an-existing-instance-to-production
but this chapter switching-an-existing-instance-to-production does not exist.
To get it working i had to add:
SECRET_KEY_BASE
=> i used openssl rand -hex 32
this variable is not listed in:
https://dawarich.app/docs/self-hosting/environment-variables/
OTP_ENCRYPTION_PRIMARY_KEY, OTP_ENCRYPTION_DETERMINISTIC_KEY, OTP_ENCRYPTION_DETERMINISTIC_SALT
i followed this https://dawarich.app/docs/self-hosting/environment-variables/#two-factor-authentication-2fa. but here is not mentioned that is mandatory for production settings.
aswell i had to adapt my probes. to include the http header:
startupProbe:
httpGet:
path: /
port: 3000
httpHeaders:
- name: Host
value: "dawarich.mydomain.com"
an other one which i noticed which is not update in documentation is:
SMTP_AUTHENTICATION = none
this is not mentioned in the documentation, but i think it was introduced in one of the last releases
To Reproduce
upgrade to 1.15.0 and follow the link in the logs:
https://dawarich.app/docs/self-hosting/environment-variables/#switching-an-existing-instance-to-production
Expected behavior
- the link should point to the related chapter and should explain all needed changes.
- describe SECRET_KEY_BASE in https://dawarich.app/docs/self-hosting/environment-variables/
- document SMTP_AUTHENTICATION = none
Screenshots
Logs
Additional context
Add any other context about the problem here.
- Langage dominant
- Ruby
- Étoiles
- 10.4k
- Forks
- 376
- Merge moyen
- 1 j 16 h
- PR mergées (30 j)
- 161
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de Freika/dawarich
-
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
-
Polish Translation for Dawarich Ouverte
Difficulté 2/5 Une demi-journée Accessibilité débutants 74/100
-
Difficulté 2/5 Une demi-journée Accessibilité débutants 68/100
-
Difficulté 3/5 1-2 jours Accessibilité débutants 52/100
Toutes les issues de Freika/dawarich
Issues similaires
-
user-reported
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
Kong/developer.konghq.com#7316 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
TheOdinProject/curriculum#31408 ·
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
notch8/utk_knapsack#148 ·
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 78/100
Homebrew/homebrew-cask#288729 · 1 commentaire ·
-
feature
Difficulté 2/5 1-3 heures Accessibilité débutants 64/100
betagouv/acces-cible#722 ·