/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
[ / / ]

Anonymous 07/03/2021 (Sat) 05:22:14 Id:deecd5 No. 2540
Hi there is a deprecation in mongo, thought I would let you know

9.95 KB 776x191 lynxMONGO.png
That has been fixed on 2.7, but I decided to not touch other versions.
>>2546 cool !
Okay i never did the work yet to practice backing up and restore of the db. Any tips to back up and restore in the most stable way? Like, backup the mongo db, back up entire lynxchan directory? Or maybe better yet, just back up the db and fe, run setup from scratch, and replace the fe with the backup and the db from backup? There are about 10 ways I can think of to do it, they are probably all stupid. Short of making a system image backup of the server (probably the very best backup /restore method) any chance someone can make a complete tutorial on how to back up and restory Lynxchan? THat should make it more stable for newer users who are not used to node. PHP is dead and kinda dumb, but at least it is extremely stable and easy to back up /restore. Lynxchan is far better than any php board, but lynchan is harder to back up and restore with 100 percent stability. So two things would absolutely help lynx- a solid backup/restore tutorial, and a tutotial on scalability. It is hard to scale Lynxchan- i.e. have a decent server and have like 5 lynxchan websites run on it. That would REALLY save ppl money. If Lynxchan could up its backup/restore stability- and up it's scalability -- then anyone running any PHP board would be a dummy.
>>2553 ghostblog for example is extremely easy to have 5 websites on one server. It uses mysql and even more scalable yet sqlite 3- in fact running ghostblog on sqlite3 makes it amazingly scalable and easy to back up. Its a HUGE difference- so easy to back up and restore ghost with sqlite 3 and so easy to run multiple ghostblog. sites on the same server Seriously, OMG if LynxChan could run on sqlite3 it would be SO easy to back up and scale up and instantly make new sites.
>>2546 I know you aren't a fan of ubuntu, but ghostblog uses it as a base and from there it makes an extremely stable and secure node app. So a dumb question- if you were to focus on ubuntu servers, you could easy cherry pick tons of security things from ghostblog AND even easily cherry pick a CLI setup - as ghostblog has the ghost installer so anyone can set up a stable and secure instance of ghostblog without messing it up. OF COURSE ghost can run on any server but its so nice to have a base server (ubuntu) with a consistent install (ghost installer) - Lynxchan could do the same thing or at least implement a bunch of the ghostblog practices for security and scalability. Hell, lynxchan could be used as a blog too and be better than ghost blog!!!!!!!!!!
>>2553 1: dump the db using mongodump 2: copy the src/be/media directory 3: copy the src/be/settings directory If you wish, copy location data too, but that data is not generated by the engine, it's parsed from maxmind, so you won't lose anything if you rebuild it.
>>2558 cool, thanks i will try it and learn how it works!! Also that mongo error seems to appear every 2 posts or so, over and over again.
>>2558 oah and sry I forgot to mention the mongo error is from a ubuntu 20-04 install and its set to have filed stored on disk.that error keeps showing all day long
>>2559 About the deprecation warning, which commit of the engine are you exactly? On which branch? When did you last ran npm update?
Pushed a patch, it shouldn't use the deprecated feature anymore. The driver decided to deprecate stuff one a stable branch. :|
>>2562 Cool, thanks!!! Sry 4 delay in answering, was away from computer. Thanks so much for all the work you have done.
>>2562 oah and hopefully the patch is not to just turn off the warnings? Php ppl do that all the time and call it a "patch" :)
>>2565 No, it actually stopped using the deprecated thing. I'm the kind of guy that uses pedantic errors on C++ code. >:3
>>2567 cool :)

Я Щ Е Р Т Ю У И О П
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