discourse

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
discourse [04/06/2023 - 13:44] thommie4discourse [05/03/2024 - 10:52] (aktuell) – Externe Bearbeitung 127.0.0.1
Zeile 1: Zeile 1:
 ====== Inofficial User Guide ====== ====== Inofficial User Guide ======
- 
  
 von Ben Hest, [[https://forum.digikey.com/t/an-unofficial-discourse-user-reference-guide/|https://forum.digikey.com/t/an-unofficial-discourse-user-reference-guide/]] von Ben Hest, [[https://forum.digikey.com/t/an-unofficial-discourse-user-reference-guide/|https://forum.digikey.com/t/an-unofficial-discourse-user-reference-guide/]]
- 
-This is a “quick” how-to guide for using [[https://www.discourse.org/|Discourse 27 ]] forum/community software. It contains a majority of the common features avialble to users/content editors, but may not have complete coverage of the featureset. If anyone sees anything to add or correct, feel free to comment. If you’d like to learn more about the Discourse Editor’s syntax take a look at the [[http://commonmark.org/help/|commonmark 30 ]] (a flavor of markdown) docs for more info. 
- 
  
 ====== Operations ====== ====== Operations ======
Zeile 23: Zeile 19:
 </code> </code>
  
-===== Launcher =====+====== Launcher ======
  
 <code> <code>
Zeile 49: Zeile 45:
  
  
-Logs+====== Logs ====== 
  
 /var/discourse/shared/standalone/log/ /var/discourse/shared/standalone/log/
Zeile 56: Zeile 53:
  
 /var/discourse/discourse-doctor /var/discourse/discourse-doctor
 +
 <code> <code>
  
 Found containers/app.yml Found containers/app.yml
  
-===== YAML SETTINGS ===== +====== YAML SETTINGS ======
  
 DISCOURSE_HOSTNAME=forum.netzwissen.de DISCOURSE_HOSTNAME=forum.netzwissen.de
Zeile 71: Zeile 68:
 LETSENCRYPT_ACCOUNT_EMAIL=REDACTED LETSENCRYPT_ACCOUNT_EMAIL=REDACTED
  
-===== DOCKER INFO =====+====== DOCKER INFO ======
  
 DOCKER VERSION: Docker version 19.03.8, build afacb8b7f0 DOCKER VERSION: Docker version 19.03.8, build afacb8b7f0
Zeile 82: Zeile 79:
  
 Discourse container app is running Discourse container app is running
 +</code>
  
-===== Upgrade ===== +====== Upgrade ======
  
 <code> <code>
Zeile 90: Zeile 87:
 </code> </code>
  
-===== Plugins ===== +====== Plugins ======
  
           - git clone https://github.com/discourse/docker_manager.git           - git clone https://github.com/discourse/docker_manager.git
Zeile 97: Zeile 93:
 See https://github.com/discourse/discourse/blob/master/lib/plugin/metadata.rb for the official list. See https://github.com/discourse/discourse/blob/master/lib/plugin/metadata.rb for the official list.
  
-======================================== +Plugin Installation
-Discourse version at forum.netzwissen.de: Discourse 2.5.0.beta4 +
-Discourse version at localhost: NOT FOUND +
-==================== DNS PROBLEM ==================== +
-This server reports NOT FOUND, but forum.netzwissen.de reports Discourse 2.5.0.beta4 . +
-This suggests that you have a DNS problem or that an intermediate proxy is to blame. +
-If you are using Cloudflare, or a CDN, it may be improperly configured. +
- +
-==================== MEMORY INFORMATION ==================== +
-OS: Linux +
-RAM (MB): 4038 +
- +
-              total        used        free      shared  buff/cache   available +
-Mem:           3944        2781         152         106        1010         786 +
-Swap:          2047         533        1514 +
- +
-==================== DISK SPACE CHECK ==================== +
----------- OS Disk Space ---------- +
-Filesystem      Size  Used Avail Use% Mounted on +
-/dev/sda2        32G   23G  7,3G  76% / +
- +
-==================== DISK INFORMATION ==================== +
-Disk /dev/loop0: 93,9 MiB, 98484224 bytes, 192352 sectors +
-Units: sectors of 1 * 512 = 512 bytes +
-Sector size (logical/physical): 512 bytes / 512 bytes +
-I/O size (minimum/optimal): 512 bytes / 512 bytes +
- +
-Disk /dev/loop1: 93,8 MiB, 98336768 bytes, 192064 sectors +
-Units: sectors of 1 * 512 = 512 bytes +
-Sector size (logical/physical): 512 bytes / 512 bytes +
-I/O size (minimum/optimal): 512 bytes / 512 bytes +
- +
-Disk /dev/sda: 32 GiB, 34359738368 bytes, 67108864 sectors +
-Units: sectors of 1 * 512 = 512 bytes +
-Sector size (logical/physical): 512 bytes / 512 bytes +
-I/O size (minimum/optimal): 512 bytes / 512 bytes +
-Disklabel type: gpt +
-Disk identifier: 9D35B183-C931-43A4-88DD-659ED1FAA7EE +
- +
-Device     Start      End  Sectors Size Type +
-/dev/sda1   2048     4095     2048   1M BIOS boot +
-/dev/sda2   4096 67106815 67102720  32G Linux filesystem +
- +
-Disk /dev/sdb: 64 GiB, 68719476736 bytes, 134217728 sectors +
-Units: sectors of 1 * 512 = 512 bytes +
-Sector size (logical/physical): 512 bytes / 512 bytes +
-I/O size (minimum/optimal): 512 bytes / 512 bytes +
-Disklabel type: gpt +
-Disk identifier: A21695AA-E44F-4FA6-9DA0-FAAD967CC8F7 +
- +
-Device     Start       End   Sectors Size Type +
-/dev/sdb1   2048 134215679 134213632  64G Linux filesystem +
- +
-==================== END DISK INFORMATION ==================== +
- +
-==================== MAIL TEST ==================== +
-For a robust test, get an address from http://www.mail-tester.com/ +
-Sending mail to REDACTED  . . +
-Testing sending to admin@netzwissen.de using mail.netzwissen.de:587. +
-SMTP server connection successful. +
-Sending to admin@netzwissen.de. . . +
-Mail accepted by SMTP server. +
- +
-If you do not receive the message, check your SPAM folder +
-or test again using a service like http://www.mail-tester.com/+
- +
-If the message is not delivered it is not a problem with Discourse. +
- +
-Check the SMTP server logs to see why it failed to deliver the message. +
- +
-==================== DONE! ==================== +
-The output of this program may be available at http://forum.netzwissen.de/ZDAyMGU5MzhkZjcxYjM5.txt +
-You should inspect that file carefully before sharing the URL. +
- +
-</code> +
- +
- +
-====== Plugin Installation ======+
  
 https://meta.discourse.org/t/install-plugins-in-discourse/19157 https://meta.discourse.org/t/install-plugins-in-discourse/19157
  
 ====== Maintenance ====== ====== Maintenance ======
 +
  
 - One CPU and 1GB of memory, with swap, is the minimum for a basic Discourse community. As your community grows you may need more memory or CPU resources. - One CPU and 1GB of memory, with swap, is the minimum for a basic Discourse community. As your community grows you may need more memory or CPU resources.
Zeile 227: Zeile 147:
 ====== Special settings ====== ====== Special settings ======
  
-===== Send personal message or email to all users on a Discourse site =====+===== Send personal message to all users on a Discourse site =====
  
 https://meta.discourse.org/t/send-a-personal-message-or-email-to-all-users-on-a-discourse-site/229341 https://meta.discourse.org/t/send-a-personal-message-or-email-to-all-users-on-a-discourse-site/229341
 +
 +====== Backup & Restore ======
 + 
 +===== Backup =====
 +
 +<code>
 +root@docker2:/var/discourse# ./launcher enter web_only
 +
 +discourse backup
 +<code>
 +
 +</code>
 +
 +Beim Backup übers UI wird ein Link an die Admin Adresse geschickt. Der Link enthält einen passenden token, der zeitlich begrenzt und nur im gleichen Auth Kontext funktioniert.
 +
 +
 +===== Restore =====
 +
 +Die Restore Datei muss nach ///var/discourse/shared/web-only/backups/default//
 +
 +Um "aus Versehen" überschreiben zu vermeinden, muss enable_restore explizit aktiviert sein.
 +
 +<code>
 +root@docker2:/var/discourse# ./launcher enter web_only
 +
 +discourse enable_restore
 +
 +discourse restore netzwissen-forum-2023-10-07-125819-v20230913194832.tar.gz
 +
 +</code>
 +
 +
  • discourse.1685886266.txt.gz
  • Zuletzt geändert: 05/03/2024 - 10:52
  • (Externe Bearbeitung)