I was able to install nodebb on share hosting but met an error that could not connect postgreSQL
Capture.PNG
Capture1.PNG
Capture3.PNG
how to fix it ?
thanks
Hallo,
ich habe ein großes problem wie kann ich NodeBB auf meinem Vserver installieren als System habe ich Debian7 laufen.
mit dem Tutorial komme ich nicht weit.
Da haut er mir ab einer bestimmten stelle eine Fehlermeldung rein
vlt kann mir jemand helfen.
MfG
Florian Wittenberg
Google Translation that makes sense:
hello,
I have a big problem with my NodeBB install on my Vserver running Debian7.
With the tutorial, I'm not far.
Then I seem to get an error part way through
Please can someone help me.
My response:
Can you copy and paste the error here?
In German:
Können Sie hier die Fehler einfügen?
I'm sure there's a few Germans on here.
Hallo ich bekomme folgende fehlermeldung:
[email protected]:/tmp/tmp.VxC0e27mBb/node-v0.10.32# sudo dpkg -i node_*
dpkg: regarding node_0.10.32-1_amd64.deb containing node:
nodejs-legacy conflicts with node
node (version 0.10.32-1) is to be installed.
node provides node and is to be installed.
dpkg: error processing node_0.10.32-1_amd64.deb (--install):
conflicting packages - not installing node
Errors were encountered while processing:
node_0.10.32-1_amd64.deb
Wie geht es jetzt weiter? was habe ich falsch gemacht?
Try to install it with apt-get. Normally nodejs comes with debian 7, so installing it by compiling the sources may create a conflict like reported in the error. Follow the step from the doc:
This solution is ONLY for Debian 7, simply run the following as root :
$ echo "deb http://ftp.us.debian.org/debian wheezy-backports main" >> /etc/apt/sources.list
$ apt-get update
To install Node.js + NPM, run this :
$ apt-get install nodejs-legacy
$ curl --insecure https://www.npmjs.org/install.sh | bash
Ich hab es geschafft nur öffnet sich das forum nicht
es kommt die ganz normale itworks seite
habe ich etwas falsch gemacht bei der Configuration?
Sorry I don't understand neither speak german.
I guess you're using Apache, so you need to use it as a proxy for nodebb. Install mod_proxy_wstunnel for apache 2.2 https://www.amoss.me.uk/2013/06/apache-2-2-websocket-proxying-ubuntu-mod_proxy_wstunnel/
and add this for example in your vhost file in apache (/etc/apache2/sites-enabled/000-default ?):
<VirtualHost *:80>
ServerName yourdomain.org
ProxyRequests off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /socket.io/1/websocket ws://127.0.0.1:4567/socket.io/1/websocket retry=0
ProxyPassReverse /socket.io/1/websocket ws://127.0.0.1:4567/socket.io/1/websocket
ProxyPass /socket.io/ http://127.0.0.1:4567/socket.io/ retry=0
ProxyPassReverse /socket.io/ http://127.0.0.1:4567/socket.io/
ProxyPass / http://127.0.0.1:4567/ retry=0
ProxyPassReverse / http://127.0.0.1:4567/
</VirtualHost>
@Florian hast du den nodebb prozess am laufen?
./nodebb setup
./nodebb start
nodebb arbeitet übrigens nicht mit port 80, sondern 4567
du müsstest also hier schauen ob es läuft: http://62.141.39.60:4567