From 1400fec6d5e8c80cd96d68b3f44dffdea2bd848b Mon Sep 17 00:00:00 2001 From: "Martin B." <55140357+martinbndr@users.noreply.github.com> Date: Fri, 5 Dec 2025 15:33:01 +0100 Subject: [PATCH 1/2] Udpate Logviewer Tutorial This updates the logviewer tutorial according to the python requirement change made by @lorenzo132 This should be merged when his changes are live. It also adds a disclaimer to warn users from selfhosting the logviewer on their local network as it can get dangerous and some improvements. --- installation/local-hosting-vps/logviewer.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/installation/local-hosting-vps/logviewer.md b/installation/local-hosting-vps/logviewer.md index 292d6af..b58c718 100644 --- a/installation/local-hosting-vps/logviewer.md +++ b/installation/local-hosting-vps/logviewer.md @@ -6,7 +6,17 @@ description: Hosting the logviewer on the cloud or on your own computer. ## Prerequisites -This logviewer hosting tutorial is written assuming you have already set up your bot and are running Ubuntu 20.04-22.04. +This logviewer hosting tutorial is written assuming you have already set up your bot on one of the supported operating systems. + +{% hint style="warning" %} +The logviewer can be set up using your local pc or homeserver. However it is higly recommended to run the logviewer on a vps or different cloud based service to avoid security issues. To let staff members access the logviewer (which is a popular usecase) you need to expose ports to the public internet which can be risky for your router and it´s local network. +There are also several other issues that can occur. +Please only set up your logviewer on your local network **if you can take full responsibility and 100% know what you are doing**. +{% endhint %} + +## Dependencies +- Python 3.11 +- Tools: `git`, `wget`, `nano` ## Downloading the files @@ -24,7 +34,7 @@ Once done, you can use `cd logviewer` to enter the directory. First, install pipenv by running the following command: -* Pipenv must be installed. Since this is also used for the bot, you can skip this step if you have already installed it. +* Pipenv must be installed. Since this is also used for the bot, you can skip this step if you have already installed it. You may neeed to use a different command to access your python installation depending on your operating system and python configuration. ```bash python -m pip install pipenv From 4d7274f7c7cb2d8e19e42016b7560021e2824097 Mon Sep 17 00:00:00 2001 From: "Martin B." <55140357+martinbndr@users.noreply.github.com> Date: Fri, 5 Dec 2025 15:35:24 +0100 Subject: [PATCH 2/2] Small formatting change --- installation/local-hosting-vps/logviewer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installation/local-hosting-vps/logviewer.md b/installation/local-hosting-vps/logviewer.md index b58c718..1305c07 100644 --- a/installation/local-hosting-vps/logviewer.md +++ b/installation/local-hosting-vps/logviewer.md @@ -11,7 +11,7 @@ This logviewer hosting tutorial is written assuming you have already set up your {% hint style="warning" %} The logviewer can be set up using your local pc or homeserver. However it is higly recommended to run the logviewer on a vps or different cloud based service to avoid security issues. To let staff members access the logviewer (which is a popular usecase) you need to expose ports to the public internet which can be risky for your router and it´s local network. There are also several other issues that can occur. -Please only set up your logviewer on your local network **if you can take full responsibility and 100% know what you are doing**. +Please only set up your logviewer on your local network **if you can take full responsibility and 100% know what you are doing.** {% endhint %} ## Dependencies