/lynx/ - LynxChan

[Return] [Catalog] [Bottom]
Mode: Reply
Name
Subject
Message

Max message length: 4096

Files (?)

Max files size: 8.00 MB Max files: 8

Captcha
E-mail
Password

(used to delete files and postings)

Misc

Remember to follow the rules


Accepting btc donations at: 1Jv11eRMNPwRc1jK1A1Pye5cH2kc5urtLP
[ / / ]

favicon hell Anonymous 09/17/2022 (Sat) 18:23:17 Id:4d053d No. 5897
halp im in favicon hell i run mongofiles -h localhost -d {lynxchan} -p 27017 -l {/home/LynxChan/src/fe/static/favicon.ico} put /favicon.ico and it says 2022-09-17T18:19:07.240+0000 error connecting to host: could not connect to server: connection() error occurred during connection handshake: auth error: sasl conversation error: unable to authenticate using mechanism "SCRAM-SHA-1": (AuthenticationFailed) Authentication failed. details- lynxchan was running (via pm2) when I tried. I tried from root and also the user i installed lynx from, got the same error.
op here. how the ***** do I get out of favicon hell god damit??????????????????????????????????????????????????? :) beam me up, scotty!!!!!!
god dammit, i said beam me up, scotty!!! Im sick of this shit!! Get me the ***** out of here. (lol)
>details- lynxchan was running Doesn't matter. Did you really add {}? I think that's wrong.
>>5903 oah shit.... let me try!!! Yes, i did ad it - ima tard :)
>>5903 mongofiles -h localhost -d lynxchan -p 27017 -l /home/LynxChan/src/fe/static/favicon.ico put /favicon.ico same error ran from root
>>5903 isn' t there a way to enable favicon the reg way? If the html can show any other pic one ads, y cant it show a favicon? I don't understsnd.......
holy fuk ive been in favicon hell forever lol
Can you connect to that dabatase at all?
>>5911 yaa, my board is working fine. 4ib.org its just that im in favicon hell lol
>>5911 maybe its a firewall thing or something? whatever it is, it sure the fuk makes me feel stupid lol
yeshoney dissappeared, so everyone is on lynxchan com now?
>>5914 never mind
>>5912 I didn't ask that, I asked if you can connect to the db directly. >>5913 Can you connect to the db using mongo localhost/lynxchan? Remove the -p 27017 argument. What is in your src/be/settings/db.json file?
>>5909 location /favicon.ico root /faviconfolder;
>>5914 www.lynxchan.com is just for my private use and redirects to lynx.farted.net, it has nothing to do with lynxchan. But you can also access lynxchan through the link on www.lynxchan.com.
>>5916 it was default install so default ports. I went to the static dir, and ran mongofiles -h localhost -d lynxchan -l favicon.ico put /favicon.ico It works!!!!!!!!! THank you!!!
>>5935 Yeah, you need to mind how you inform paths, if they are relative paths, you need to enter the correct directory.
>>5936 I wanted to use a cool gif for favicon... it will not let me tho, Actually, larger regular favicons do not take either. It seemingly goes through, but then the favicon does not show up, enven when lynx is restarted, and even when entire server is restarted. No big deal, Just thought i would put this out there that if favicons do not seem to work, use a way smaller filesize cux lynx fdoes not like large favicons!!

5.70 KB 16x16 favicon.gif
seriously tho, speaking to that, why use favicon in mongo????? Doing it the regular way makes it easy and there is no limitations of the size, and one can use an animated gif for the favicon. i like to use the gif i uploaded here for favicon.
>>5949 mongo will not take the favicon gif tho,,, well, it takes it, gives no error, but then it just does not show up if the filezise of favicon is too big
>>5949 i wanna use that gif, for favicon seriously. mongo wont take it tho. anyone know of a fix??? I have to edit the code somewhere i bet to make it take the bigger filesize.
>>5937 >>5949 >>5950 >>5951 Did you access /favicon.ico directly? Is the file there still not the one you want? Do you get any error when uploading the file? Browsers have a nasty cache for favicons.
>>5952 Thanks 4 the reply!!!! yeah i like that animated gif...it woks on firefox/tor / some browsers as an animated favicon. I notice that if the file is large, it just appears to upload fine to mongo, but simply does not show on any browser. Reoooting everything, testing everything...it does not show. BUT when I upload any tiny favicon like the favicon from https://www.2chan.net/ it works fine, i tryed a few really tiny ones and they all work fine. I even tried to make a favicon out of the site logo, and that did not work, prolly cuz the free site that converted the png to a favicon make the file too large. Very small file size works, larger file-sizes seem to work, no command line error, but they simply do not show. No big deal. Dumb question, but wouldn't it greatly simplify all favicon issues by just doing favicon the regular way??? Like without mongo, just the plain old reg way.
>>5952 fuk it ...im sick of even thinking bout favicons. Thank you so much for the reply to the original , your reply fixed things. It is nice to be out of favicon hell lol :)
>>5955 There is no "regular way". The default favicon is just a file on the /favicon.ico uri. Lynxchan serves files from gridfs by default.
>>5960 yaa i meant like if you just have a static site served on nginx and html, sorry, that is my perception of "the regular way", you kno, just calling the favicon in the html. Call me a dumb *****, but i still do not understand why that is not done instead of using mongo for favicon lol
>>5961 You CAN put nginx in front and serve anything you want. You CAN put a different favicon directly in the HTML. Just because penumbra does things in a certain way, it doesn't mean you can't do in a different way.
>>5965 So if my ascertains are correct, you are saying LynxChan is modular by design, and quite easily customizable, huh? That is really cool.
>>5967 Yeah. The only the engine cares are the things written down in the documentation. Anything that's on the front-end is none of the back-end's business.
>>5968 Sorry 4 all the bumb questions, I will study the fuk out of all the docs n stuff and learn more. I am brand new to js i did c c++ a super tiny bit of go and rust and i am REALLY good at printing a simple thing in bash, like printing "hello world" to the screen, I am super good at that, some say the best. Anyway, thanks bro for all the help, appreciate it a lot.

Я Щ Е Р Т Ю У И О П
Q W E R T Y U I O P
А С Д Ф Г Х Й К Л
A S D F G H J K L
З Ж Ц В Б Н М
Z X C V B N M
Delete
Report