/halp/ - LynxChan technical assistance

General support

Mode: Thread

Max message length: 4096


Max file size: 1.00 MB

Max files: 3


(used to delete files and postings)


Remember to follow the rules

(33.87 KB 1280x720 Drink it you.jpg)
Anonymous 05/05/2019 (Sun) 22:08:52 No. 658 [Reply]
Can users set their own custom CSS like on 8chan?
2 posts omitted.
Click on settings.
Why doesn't it affect the catalog page?
No particular reason, I didn't include the settings script there.
Would be nice if you did.
Yeah, now that I think about it, the catalog is part of the board, I'll look into it.

maintenanceImage not set? Anonymous 04/24/2019 (Wed) 14:47:47 No. 648 [Reply]
I set up Lynxchan to use GoonSaloon-FE but everytime I try to run it, it gives me this error.


what do?
throw error;
Template image maintenanceImage not set on the template settings.
4 posts omitted.
It seems their repo wasn't updated in a year. Just because it booted it doesn't mean it will actually work.
penumbra looks like shit tbh
This site you are using right now is using penumbra.
Yeah, and it looks like shit tbh.

Anonymous 04/21/2019 (Sun) 02:10:04 No. 624 [Reply]
The url stops showing the domain when I click on open link in new tab and instead shows my IP. How would I make it so that I it shows everywhere. (sorry for being a dumbass)
18 posts and 2 images omitted.
I'm sorry :/
Don't apologive to me, it's your domain that is being fucked up with a 301 redirect.

This fixed it :). Url showing everything correctly now. Thanks for the help
Protip: you don't need a 4 fucking megabyte image as your logo that shows with less than 300 pixels high.
Ah ok, I was using it as a placeholder anyways

Anonymous 04/19/2019 (Fri) 03:39:10 No. 622 [Reply]
sooooo uhh is there an .htaccess file already or do i need to create one, and if so, in what folder would I do that
There is not and I don't know anything about webservers. LynxChan is it's own webserver.

Mongodb continuously crashes on every multi-file upload Boobchan Dude 04/05/2019 (Fri) 19:52:39 No. 568 [Reply]
For a moment there it was beautiful and running smoothly, then when I went to test uploading files Mongodb crashes everytime.

1) Mongodb not stable
Everytime I attempt to upload files to the chan, Mongodb crashes and complains about 'cursor.js' and 'scheduleHandler.js'.

MongoError: Topology was destroyed
at initializeCursor (/PATH/TO/SRC/LynxChan/src/be/node_modules/mongodb-core/lib/cursor.js:603:25)
at nextFunction (/PATH/TO/SRC/LynxChan/src/be/node_modules/mongodb-core/lib/cursor.js:463:12)
at AggregationCursor.Cursor.next (/PATH/TO/SRC/LynxChan/src/be/node_modules/mongodb-core/lib/cursor.js:763:3)
at AggregationCursor.Cursor._next (/PATH/TO/SRC/LynxChan/src/be/node_modules/mongodb/lib/cursor.js:211:36)
at fetchDocs (/PATH/TO/SRC/LynxChan/src/be/node_modules/mongodb/lib/operations/cursor_ops.js:217:12)
at toArray (/PATH/TO/SRC/LynxChan/src/be/node_modules/mongodb/lib/operations/cursor_ops.js:247:3)
at executeOperation (/PATH/TO/SRC/LynxChan/src/be/node_modules/mongodb/lib/utils.js:420:24)
at AggregationCursor.Cursor.toArray (/PATH/TO/SRC/LynxChan/src/be/node_modules/mongodb/lib/cursor.js:824:10)
at checkExpiredCaptchas (/PATH/TO/SRC/LynxChan/src/be/scheduleHandler.js:394:8)
at Timeout._onTimeout (/PATH/TO/SRC/LynxChan/src/be/scheduleHandler.js:372:7) name: 'MongoError', [Symbol(mongoErrorContextSymbol)]: {} }

Message too long. Click here to view full text.

11 posts and 2 images omitted.
You'd need an addon that change the algorithm used to handle tripcodes.
(774.11 KB 1700x1700 best kelly according to mewchnon.png)
>You'd need an addon that change the algorithm used to handle tripcodes
like what?
appreciate the response btw
>point me in the right direction fren
Update on lynxchan setup.

After struggling with OpenBSD for a while, it became apparent OpenBSD's libraries were much older and back dated than previously understood. Mostly the difficulty resided in the unavailability of a mongodb release that was newer than 3.0. Compiling mongodb from scratch was also not an option, because it required a newer gcc than what was available. An attempt was made to compile a newer version of gcc, but after running into errors, it was abandoned.

So, a spare server was used as a container host for docker, and as recommended, a centos image was used to set up lynxchan. Originally, the desire was to use centos to host lynxchan, and a mongodb image to host the database. But, lynxchan was never able to connect to the mongodb container for unknown reasons. So, the centos container began hosting both the db and the chan. All of which worked beautifully, like butter. Not exactly how I wanted it, but still gold nonetheless. There are still many tweaks wanted to be performed, but the chan is running well, and I am very satisfied.

It should still be up and running, and hopefully will remain up and running, at http://boobchan.com

Thank you for all the help, and a kickass chan engine! I cannot say it enough. Thanks again.
Look into https://gitgud.io/LynxChan/LynxChan/blob/master/src/be/engine/postingOps/common.js#L166
Then look into how to write addons that change the engine behavior. You can use most of the addons I write for reference.

Ty and no problem.
(50.64 KB 255x255 kelly Anonymous.png)

Anonymous 04/13/2019 (Sat) 21:27:55 No. 606 [Reply]
IS there any way to enable global themes on the boards page?
3 posts omitted.
>I just fixed it*
Nah i mean it was obviously done intentionally. In the boards.css file the first line is:
/*Elements used exclusively on the board listing*/
That's an entirely different thing.
which .css file is the Default theme?
There is no single css for the default theme. The default theme is just not having any theme overriding the css.

Anonymous 04/12/2019 (Fri) 23:45:13 No. 603 [Reply]
How would I set a lynxhub powered imageboard from http to https?
Do you mean to force the http to https redirect or how to set up https at all?
If you mean how to set https at all, you'd need the https certificate and key, place them with the correct name on the correct place (see src/be/readme) and enable ssl on global settings.

The downside of that is that most people use LE, and it requires renewel every now and then, and there is no integration. However, one could use their software and tell it to restart lynxchan after a renewal.

If you mean the redirect to force ssl usage, that's the same setting that enables ssl, it has 3 modes: disabled, enabled and mandatory.

Another option is to get a webserver handle ssl between the user and the engine running on some other port than 80.

Make user accounts admin Anonymous 04/07/2019 (Sun) 04:36:57 No. 597 [Reply]
How to change the permission level of user accounts?
The simplest method is using the global management page, accessed through the account page. Mind you, you can only change the global role of accounts with a lower ranking than yours.

But you can also use terminal commands to change the global role of any account, using -sr (set role). See src/be/readme for further instructions on using the terminal commands.
Ah thanks :)

Captcha not loading in ,and no cookie captcha giving error Sen 04/06/2019 (Sat) 19:03:16 No. 579 [Reply]
When I try to make a board on a localhost LynxChan imageboard or enter the recover account page it shows pic related.
11 posts and 2 images omitted.
I see. They made their own fork of ubuntu but don't distinguish it from the DE. You should ask them what's up and show that error.
I don't think its a problem with the OS, since neon is ubuntu based.
It is with how they packaged things. And ubuntu isn't recommended either for lynxchan, centos 7 is.
but is it doable?
Sure, is not like you are trying to run it under bsd, but you can expect to run into issues.

Anonymous 01/19/2019 (Sat) 16:29:35 No. 524 [Reply]
Hi. Using the placeholder front end and going to my site (index.html) can you pls tell me the file to edit the top left (in the address bar where the favicon usually is) it says "My chan" in the address bar and I did not see the title in the html or css. Thanks!
Go to global settings and change the site name.
A little trick that helped me out was using grep/ack if I couldn't find a particular file. For instance the text "Watched threads" you would do a simple "ack watched threads" on the OS of your using.

Also I think GitGud has a good string searching feature that looks through all the files in the repo. Helped me a bit too.


no cookies?