Open iTrim opened 7 months ago
Ok, so I cd /var/www/rpisurvweb and run command node server.js it works,
When I try save a screen layout, I get below output on command line
Error executing script: Error: Command failed: bash ./updateRPIsurv.sh Failed to restart rpisurv.service: Interactive authentication required. See system logs and 'systemctl status rpisurv.service' for details.
On line 26 of updateRPIsurv.sh I put in sudo infront of systemctl restart rpisurv
sudo systemctl restart rpisurv
Some permission issues fixed with sudo chown pi:pi -R /var/www/rpisurvweb
When I try to install nvm install 20 v20.12.2 is already installed. node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version
GLIBCXX_3.4.26' not found (required by node) nvm is not compatible with the npm config "prefix" option: currently set to "" Run
npm config delete prefixor
nvm use --delete-prefix v20.12.2` to unset it.Does your webserver only use node v20 ?
I setup an apache2 and I can see /var/www/rpisurvweb is available but cannot reach the website via the pi address and port 3000?
Do you know what steps I can do to fix this?
Hey, how did you fix the npm issues?
Hello,
cat /etc/os-release output below;
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
node -v v19.9.0
When I try to install nvm install 20 v20.12.2 is already installed. node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version
GLIBCXX_3.4.26' not found (required by node) nvm is not compatible with the npm config "prefix" option: currently set to "" Run
npm config delete prefixor
nvm use --delete-prefix v20.12.2` to unset it.Does your webserver only use node v20 ?
I setup an apache2 and I can see /var/www/rpisurvweb is available but cannot reach the website via the pi address and port 3000?
Do you know what steps I can do to fix this?