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

security vulnerabilities HALP 06/27/2021 (Sun) 00:59:02 No. 2492
Hi! When I run ./setup.sh at the end it says that there are 4 security vulnerabilities found. It says run npm aud it or npmaudit fix, both of them just return other errors. Any thoughts?

6.03 KB 225x225 index.png
Also, on older install backups, i load the image and when i run ./setup.sh again it returns that there are security vulnerabilities found. I would expect that this would show up when anyone at all runs ./setup,.sh ?? It did say there is a newer slight ver of npm avail i upgraded and still got the security vuln errors
Here is what I run. It used to work fine, and now at the end of ./setup.sh it says there are security vulnerabilities /////////// Make a new user and stay in home/newuser directory withnew user account. #sudo adduser va #sudo usermod -aG sudo va #su - va sudo apt-get update sudo apt install curl sudo apt install build-essential sudo apt-get install manpages-dev sudo apt install zlib1g sudo apt-get install yasm sudo apt-get install imagemagick sudo apt-get install libmagick++-dev sudo apt install libimage-exiftool-perl sudo apt install git unzip file sudo apt-get update curl -sL https://deb.nodesource.com/setup_16.x -o nodesource_setup.sh sudo bash nodesource_setup.sh sudo apt install nodejs sudo apt-get install unzip curl file wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add - echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list sudo apt-get update sudo apt-get install -y mongodb-org // installs the latest mongo ver sudo systemctl daemon-reload sudo systemctl start mongod sudo systemctl enable mongod sudo apt-get install libopus-dev libmp3lame-dev libfdk-aac-dev libvpx-dev libx264-dev yasm libass-dev libtheora-dev libvorbis-dev mercurial cmake build-essential sudo apt-get install libavformat-dev sudo apt-get update sudo apt-get install pkg-config sudo apt install git git clone git://source.ffmpeg.org/ffmpeg.git cd ffmpeg git checkout release/4.2 sudo ./configure --enable-shared --enable-pic sudo make sudo make install #sudo nano /etc/ld.so.conf #include ld.so.conf.d/*.conf #/usr/lib #/usr/local/lib sudo ldconfig cd git clone https://gitgud.io/LynxChan/LynxChan.git cd /home/va/LynxChan/aux ./setup.sh
Oah and i did try ver 16 of node too. Pls disregard how it says ver 14 for node in the previous post
What is the output of npm install?

36.37 KB 1008x487 lynx-error.png
>>2496 okay, lets do this from the start. Digitalocean fast server, ubuntu 20-04 LTS server updated, rebooted. I create a user, and install everything in the REQUIRED part of your gitgud page sudo adduser test sudo usermod -aG sudo test su - test sudo apt-get update curl -sL https://deb.nodesource.com/setup_16.x -o nodesource_setup.sh sudo bash nodesource_setup.sh sudo apt install nodejs wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add - echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list sudo apt-get update sudo apt-get install -y mongodb-org // installs the latest mongo ver sudo systemctl daemon-reload sudo systemctl start mongod sudo systemctl enable mongod sudo apt-get install unzip curl imagemagick git clone https://gitgud.io/LynxChan/LynxChan.git cd /home/test/LynxChan/aux ./setup.sh OK, then when I run setup.sh, Please see the pic. THIS time it did not say that there are any security vulnerabilities because i did not install any of the optional or recommended dependencies, but there are still errors. Pls see the pic-- are them errors okay? If so, I will have to install the OTHER dependencies one by one and see what one sets off the 4 security vulnerabilities found message after one ruins the ./setup.sh
one ruins the ./setup.sh i meant RUNS not ruins
>>2499 If you don't install the optional dependencies, the native functions won't be used because they can't be compiled. The engine will warn you of these on boot and execs will be used instead. This is not a big deal unless your system is short on RAM.
>>2499 ps: that log is incomplete. You only took a screenshot of the final screen instead of copying the whole thing or using >> to output it to a file.
>>2503 OP here. SORRY, i found what I was doing wrong, so there are NO VULNERABILITIES found. You should delete this whole thread if you want. It said 4 vulnerabilities found when i did NOT run npm install from /be but that was my fault, I must have had an old dependency or something that set off the error. So completely disregard the original question. Thanks for the replies too.
>>2528 You were right, I changed it after you made the thread, check the pinned thread

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