/halp/ - LynxChan technical assistance

General support

Mode: Thread
Name
Subject
Message

Max message length: 4096

Files

Max file size: 1.00 MB

Max files: 3

Captcha
E-mail
Password

(used to delete files and postings)

Misc

Remember to follow the rules


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
>>622
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'.

<code>
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.
>>615
You'd need an addon that change the algorithm used to handle tripcodes.
(774.11 KB 1700x1700 best kelly according to mewchnon.png)
>>617
>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
>>578
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.
>>618
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.

>>619
Ty and no problem.
(50.64 KB 255x255 kelly Anonymous.png)
>>620
thank

Make user accounts admin Anonymous 04/07/2019 (Sun) 04:36:57 No. 597 [Reply]
How to change the permission level of user accounts?
>>597
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.
>>598
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.
>>590
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.
>>591
I don't think its a problem with the OS, since neon is ubuntu based.
>>592
It is with how they packaged things. And ubuntu isn't recommended either for lynxchan, centos 7 is.
>>593
but is it doable?
>>594
Sure, is not like you are trying to run it under bsd, but you can expect to run into issues.

Errors while running boot.js: Unrecognized file format boobchan dude 03/31/2019 (Sun) 07:49:16 No. 552 [Reply]
Trying to implement lynxchan for my site. When executing boot.js, I receive the error that gunzip does not recognize the file format. I have downloaded the bannedips file manually and have extracted it, I am just unsure where exactly where it needs to be extracted to? And/Or is there anyway to bypass downloading the bannedips.zip during startup?
5 posts omitted.
>>563
Alright,

LynxChan: Current -- I cloned the repo two days ago
OS: OpenBSD 6.4 Release
Node.js: Currently -> 8.9.4 | Will be -> 8.12.0

As soon as you asked me what node.js version I am running, I just remembered I had not performed an upgrade on node.js in a while. Running that upgrade now, and seeing if that resolves the issue.

AND...rather embarrassingly, it did. So, my node.js version was out of date for my OS. Node.js 8.12 works on OpenBSD 6.4 for LynxChan.

Hooray! Now back to finishing setting up the site and migrating vichan over...
Thanks for all the help, and a kickass chan!

Caveat...

It appears that gunzip is no longer available on OpenBSD, it might be, but I am not finding it. So, this explains why I get an error downloading bannedips.zip.
>>564
My gawd, that is such a sexy chan!
>>564
I strongly reccomend using centos. and node 8 is out of date for lynxchan, i cant guarantee it will work 100%.
>>567
I will look into building a vm from centos on either OpenBSD or AlpineLinux. I am chasing the current release on OpenbSD, so node.js is fairly recent. But, mongod is the problem child as of the moment. It is crashing constantly...

Cell phones are how people browse Anonymous 01/21/2019 (Mon) 07:12:24 No. 527 [Reply]
Look at the top links in penumbra. On a cell phone it is two lines of garbled shit when viewed from a cell phone. There are too many links there. People MOSTLY browse with phones, and that is an absolute fact. 4chan is mibile friendly, 8chan is bloated and awkward on a phone. The default placeholder like the one you use on this site looks decent on a mobile phone - yet it it is not quite easy and fluid as 4chan on a phone. The state of message boards is interesting- php is RAPIDLY going to shit, it is almost shocking that 4chan uses php yet. Lynxchan is the best. Take away the bloat and lynxchan is the best option by far- it could easily be a commercial product for christ sake. MAKE CHANS GREAT AGAIN god dammit! I am a shitposter and i approve this message.
(960.55 KB 1125x1336 1.png)
this is NOT mobile friendly. Look at the top links. Penumbra is cool on a desktop, it really is but it is broken on mobile phones.
Yup, penumbra doesn't take mobile in consideration at all.
>>529
>this is NOT mobile friendly
and that's a good thing

lynxchan SECURITY RISK Anonymous 02/10/2019 (Sun) 03:02:18 No. 544 [Reply]
You ALWAYS have an excuse or rude comment for everything that you do wrong but are too stupid to fix. There is a reason that lynxchan did not amount to anything... mostly because you are a fucking idiot. Lynxchan is not secure, has a shitty front end that no one uses, and all the lynxchan boards have no
real website or users. MEWCH was the only good lynxchan board and that failed because of the horrible security flaws. Lynxchan is a joke made to fool stupid people who are not aware of security.
(4.73 KB 128x128 c.jpg)
You ALWAYS have an excuse or rude comment for everything that you do wrong but are too stupid to fix. There is a reason that lynxchan did not amount to anything... mostly because you are a fucking idiot. Lynxchan is not secure, has a shitty front end that no one uses, and all the lynxchan boards have no
real website or users. MEWCH was the only good lynxchan board and that failed because of the horrible security flaws. Lynxchan is a joke made to fool stupid people who are not aware of security.
> has a shitty front end
>>555
i don't think so

(26.25 KB 300x100 1548688131725.gif)
MEWCH Anonymous 02/17/2019 (Sun) 13:12:14 No. 546 [Reply]
LYNXCHAN DB IS UNSAFE! WARNING TO ALL = Protect Database Access
If you are using a data such as Mongo DB as your persistent storage, you also need to protect access to the database as well as prevent database being compromised by attackers. If you are using MongoDB as your database, following things should be considered as important.

Enable client authentication in MongoDB to prevent the situation “Everyone is admin”.

By default, MongoDB does not enforce authentication to access databases. This is really harmful since anybody has direct access to the database content even if they do not have access to use your application. So you need to implement client authentication in MongoDB and prevent malicious access to the data.

Sanitize user inputs used in MongoDB queries

MongoDB query language is a javascript based technique. Due to this nature, MongoDB is also vulnerable to script injection attacks. When you use user supplied input values inside mongo db queries you should properly enforce type checks and necessary input validations and sanitizations to prevent attackers executing malicious scripts on your database.
>This is really harmful since anybody has direct access to the database content even if they do not have access to use your application

no. and actually i think by default mongo only binds to localhost.

and yes setting a password is no secret
test

(51.46 KB 1200x800 th2T9CPHDD.jpg)
favicon in lynx Anonymous 01/21/2019 (Mon) 14:26:20 No. 532 [Reply]
i can't change my favicon.ico so i put the favicon.ico in /LynxChan i then run

mongofiles -h localhost -d {dbName} -p 27017 -l {/root/LynxChan/favicon.ico} put favicon.ico

and it says it can not find favicon. Does anyone know wtf i am doing wrong?
I think you fucked up the syntax, read on mongofiles documentation.
dbName of course is not right...what is the default Lynx chan db name? I tried LynxChan and it did not work
(53.95 KB 640x360 3.jpg)
so is all that shit a joke??? I just put the favicon in the static directory and it works now. Why would you tell people that a command is needed??
The default that I ship is lynxchan, not LynxChan.

penumbra Anonymous 01/19/2019 (Sat) 16:56:30 No. 525 [Reply]
So how come now when one installs lynxchan, it comes with penumbra ok fine but when one starts lynxchan there are are shitloads of errors that show up before it starts. Before, the penumbra thingy never gave a shitload of errors like that.
What errors are you getting?
disregard, im using a didfferent fe anyway, thanks

Delete
Report

no cookies?