Comments (11)
Are you asking because there is some error or problem with your installation? Can you describe what exactly is going wrong?
from lemmybb.
Hello,
which installation mode are you talking about?
You only need to adjust the nginx configuration if you deviate from the default configuration. Otherwise you can follow the installation instructions.
When I tried with LemmyBB I found that calls via the local address are more stable. In addition, a call via the domain does not work if the server is behind a NAT.
from lemmybb.
from lemmybb.
from lemmybb.
You also need to replace $lemmyui_domain
with your actual domain for lemmyui (different from lemmybb domain, but can be a subdomain). Or you can remove that whole section to run without lemmyui, but note that lemmybb doesnt have any mod tools yet.
from lemmybb.
ok here are some specific parts of the instructions I think is missing.
Copy the nginx config into the sites-enabled folder and edit it
cp docker/nginx.conf /etc/nginx/sites-enabled/lemmybb.conf
is missing the nano command to edit the lemmybb.conf
insert the following content and adapt 'LEMMYBB_BACKEND' and 'LEMMYBB_LISTEN_ADDRESS' to your installation`
what does adapting them to my installation mean? do i need to change the words `LEMMYBB_BACKEND`
so instead of listing the ip and port number I'm supposed to put my domain name and port number? is this only if i changed something in the previous .conf file?
I'm unsure how I screwed up the installation, I'm probably gonna wipe the server and install lemmy and then lemmybb again from scratch. but heres the error i get now if i try to run the ansible
FAILED! => {"changed": true, "cmd": "nginx -s reload", "delta": "0:00:00.012663", "end": "2022-11-30 21:27:38.489940", "msg": "non-zero return code", "rc": 1, "start": "2022-11-30 21:27:38.477277", "stderr": "nginx: [emerg] unknown directive \"sdlimit_req_zone\" in /etc/nginx/sites-enabled/lemmybb.conf.save:1", "stderr_lines": ["nginx: [emerg] unknown directive \"sdlimit_req_zone\" in /etc/nginx/sites-enabled/lemmybb.conf.save:1"], "stdout": "", "stdout_lines": []}
from lemmybb.
is missing the nano command to edit the lemmybb.conf
what if the user does not use Nano or it is not preinstalled on the device?
So it's just clear the file must be edited, use the tool you prefer to use, for many that is vim rather than nano
it says where the error is in the nginx config:
\"sdlimit_req_zone\" in /etc/nginx/sites-enabled/lemmybb.conf.save:1"]
so in the file lemmybb.conf.save in line 1
there you have specified a variable that is not defined anywhere sdlimit_req_zone
don't know where you got this, in the standard configuration you don't find this
https://github.com/LemmyNet/lemmyBB/blob/main/docker/nginx.conf
from lemmybb.
every step in the instructions is perfect and can be copy pasted one by one but then it breaks down in the last 3 steps.
Copy the nginx config into the sites-enabled folder and edit it
cp docker/nginx.conf /etc/nginx/sites-enabled/lemmybb.conf
there are no instructions on what to "edit" and no command to "edit" it. you use nano in the next command and its usually used so please include the nano command after it like
cp docker/nginx.conf /etc/nginx/sites-enabled/lemmybb.conf
nano /etc/nginx/sites-enabled/lemmybb.conf
and please add a code block with the .conf we can copy paste
the next step says adapt LEMMYBB_BACKEND' and 'LEMMYBB_LISTEN_ADDRESS to your installation
I dont understand what "adapt 'LEMMYBB_BACKEND" means to my installation means. do i change those words to be my domain name? my sub domain name? can LEMMYBB_BACKEND and LEMMYBB_LISTEN_ADDRESS be replaced with something like "yoursubdomain.com"
from lemmybb.
The two points you mentioned are not so easy to generalize, it's very system specific.
When creating the tutorial i assumed that the admin has basic knowledge of nginx and systemd.
and please add a code block with the .conf we can copy paste
This would not be a smart solution, if the configuration changes, you must always remember to also change the readme.
the next step says
adapt LEMMYBB_BACKEND' and 'LEMMYBB_LISTEN_ADDRESS to your installation
I dont understand what "adapt 'LEMMYBB_BACKEND" means to my installation means.
Also here I thought that an admin knows how to deal with variables.
I will think about how far you can adapt the instructions.
from lemmybb.
@Tealk I used the ansible instructions to setup lemmy so im not sure what to "adapt" those sections to
from lemmybb.
Fixed in #75.
from lemmybb.
Related Issues (20)
- remove dead instances from list of known instances HOT 6
- [Question]: Is this project alive still? The domain fedibb.ml is down, and it doesn't seem that there's any way to communicate about troubleshooting. HOT 2
- [Question]: Can those errors be fixed in the README file? HOT 1
- [Question]: Can you please update the docker-compose.yml with the latest working version of each ? HOT 2
- What version of Cargo is needed? HOT 1
- Failed to start lemmy_bb HOT 9
- [Question]: Is the SSL Cert for the BB Subdomain made automatically? HOT 9
- [Bug]: timeout in backend when trying to update user profile HOT 2
- [Question]: Report software name as lemmybb for statistics? HOT 2
- [Bug]: Clicking any individual post link in a topic results in a 404
- [Bug]: Subject title link within topic leads to 404 HOT 1
- [Bug]: Reply to comment leads to 500: Internal Server Error
- [Bug]: Selecting higher sites than 1 on community-list gives every time back site 1
- [Bug]: No 500 catcher registered. Using Rocket default. HOT 4
- [Feature]: XenLemmy HOT 1
- [Bug]: 404 error when using pagination HOT 2
- [Bug]: Invalid URL Created When Changing Pages On Topic List HOT 2
- [Feature]: Separate mentions at the beginning of a post HOT 5
- [Bug]: update for lemmy 0.18.x and above HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lemmybb.