/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


(32.34 KB 425x282 dead.jpg)
Anonymous 05/28/2019 (Tue) 18:03:51 No. 782 [Reply]
CSS added to board settings doesn't apply to the catalog? Why?
1 post omitted.
what's wrong with how it is now?
there catalogCell etc
>>783
You really should.
>>785
great, now i have to redo my css, again
Ok, I actually broke that recently. It was supposed to apply, but was broken. I fixed on all active branches this week or so.
>>789
oh wait you mean settings > CSS

Restoring Database Lynxchan. Anonymous 06/04/2019 (Tue) 01:21:39 No. 827 [Reply]
I dumped the database with the command "mongodump"on one instance of lynxchan on one server. Then I transfered over the resulting folder "dump" onto another server in which I set up a working instance of Lynxchan. Then I attempted to restore the dump folder by using the following command.
"mongorestore --drop --batchSize=10 -d lynxchan Lynxchan/dump/lynxchan"
this spits out this large pile of errors:
https://pastebin.com/zguM0pMu
At first I thought it was a conflict with the already existing database on "lynxchan" but trying another database name doesn't fix it and results in the same error.

What do?
2 posts omitted.
How did you dump it originally? Show me the whole command.
Also try removing the --drop argument, I am not familiar with it. I know that batchsize might be due to low ram, so you can leave that. I don't use it, but I don't know how much ram you have.
>>830
I dumped the database with just "mongodump". It gave me a folder "dump" with a sub folder "lynxchan". Without the batch size argument, it fails due to low ram.
>>832
Do you know if you accidentaly dumped it twice or something?
>>832
Also, did you dumped SPECIFICALLY the lynxchan database?
>>834
I think this was the problem, local was excluded. Thanks.

Anonymous 06/02/2019 (Sun) 23:44:38 No. 824 [Reply]
For restoring a mongodb backup what would the database name be?
Anything you want. You can configure the database used on src/be/settings/db.json so you can restore it wherever you want.
>>825
I'll try that, thanks.

Anonymous 06/02/2019 (Sun) 15:04:16 No. 820 [Reply]
did everything, run lynxchan, get:

Page globalSettingsPage
Error, missing element fieldMaxBoardRangeBans
Error, missing element checkboxSpamBypass
Failed to listen to HTTP.
{ Error: bind EADDRINUSE 0.0.0.0:8080
at Object.exports._errnoException (util.js:1020:11)
at exports._exceptionWithHostPort (util.js:1043:20)
at cb (net.js:1336:16)
at rr (cluster.js:625:14)
at Worker.<anonymous> (cluster.js:594:9)
at process.<anonymous> (cluster.js:766:8)
at emitTwo (events.js:111:20)
at process.emit (events.js:191:7)
at process.nextTick (internal/child_process.js:787:12)
at _combinedTickCallback (internal/process/next_tick.js:73:7)

Message too long. Click here to view full text.

1: something else is using por 8080. maybe a webserver, maybe another lynxchan instance?

2: your front-end is on the wrong version. check the branch of the front-end and the branch of the engine you are using.
fixed

Anonymous 06/02/2019 (Sun) 11:46:27 No. 817 [Reply]
I ran the install and root install and everything but lynxchan still isn't installed as a service. I have the user node too.
what init system you used, what kind of service you asked for root-setup to install and why do you think there isn't a service installed? also, did the root-setup script said anything?
delete this, i was autistic and didn't read and just put y where i was supposed to specify something.
f

Anonymous 05/31/2019 (Fri) 18:43:58 No. 802 [Reply]
can you install lynxchan without root access?
2 posts omitted.
>>803
cron does not need root
>>809
cron jobs !== services
>>811
both can do the same thing.
>>811
you could change your install script to systemctl --user instead of root
>>813
No they can't.

Anonymous 06/01/2019 (Sat) 14:26:24 No. 805 [Reply]
Installed everything, I get this when trying to start lynxchan.

Error: Cannot find module 'mongodb'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/home/ubuntu/LynxChan/src/be/db.js:8:13)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
1 post omitted.
Alright Stephen Lynx, this has proven to be a royal pain in the ass. I will pay you 25 dollars to go into my servers and install this shit for me. I don't give a fuck if it's bad security.
you probably forgot to install the mongdb then
>>808
No I installed it.
>>807
Is mongo running?
>>807
im not him but i could do it for you $

Anonymous 05/30/2019 (Thu) 02:54:05 No. 795 [Reply]
If I transfer the Lynxchan folder to another server, install all the dependencies and then run the install script, will it serve the same content correctly?
1 post omitted.
If the database is in place, then yes, it should serve the same content.
There are a few things that affect EXACTLY what is served:

1: the database
2: global settings
3: front-end
4: language pack
5: engine version
6: addons

If all these things are the same, the content should be the same.
>>797
What would be the name of the database if I was doing a mongodump to change it over to a new machine?
>>798
default should be lynxchan if you didn't change settings/db.json
>>799
So I can just do mongodump and the resulting folder is the entire database?
>>800
Correct.

Anonymous 05/28/2019 (Tue) 16:33:30 No. 778 [Reply]
(You)s aren't showing up on my board for whatever reason. How would I fix this?
There isn't (You)s on penumbra and on none other front-end that I know of.
>>778
it's for the better
>>780
Top lel
>>780
>no yous = no way to keep track of your posts and replies = no flame wars = no angst = no butthurt = no ego
the only thing that remains is your post which is what's important and you only reply to a post because of it's subject not because it replied to you, no yous truly make a board anonymous
>>793
>because of it's subject
or content

(11.36 KB 196x258 FACCCCIIISISTSTTSTSZ.jpg)
Anonymous 05/28/2019 (Tue) 18:43:48 No. 786 [Reply]
For whatever reason, uploading an mp3 works perfectly fine on firefox, but completely fails with a "A file had a format that is not allowed by the server."
>>786
When i do it on chrome/chromium
Chrome uses a different mime for mp3 and the site must add this mime on the global settings.
>chrome can't meme
>>788
How?
>>791
Nevermind, I figured it out.

Delete
Report

no cookies?