realms-wiki icon indicating copy to clipboard operation
realms-wiki copied to clipboard

Unable to run realms-wiki in production mode

Open magic890 opened this issue 10 years ago • 9 comments

I'm trying to run realms-wiki as root using realms-wiki run or realms-wiki start. I get this output:

Server started. Port: 5000
Using default configuration

or

Server started. Port: 5000
Using config: ./realms-wiki.json

Now If I try to go on http://localhost:5000 I get: ERR_CONNECTION_REFUSED.

If I run the same wiki using realms-wiki dev, this is the output:

Starting development server
Using config: ./realms-wiki.json
 * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
 * Restarting with stat
Starting development server
Using config: ./realms-wiki.json

and the wiki is working.

Another strange behaviour is that after started the server, if I check its status, the server is turned off:

root@MACHINE:/opt# realms-wiki start
Server started. Port: 5000
Using config: ./realms-wiki.json
root@MACHINE:/opt# realms-wiki status
Server is not running

Python 2.7.9 and pip 1.5.6.

What is going wrong here?

magic890 avatar Jul 06 '15 09:07 magic890

How did you install realms-wiki? pypi? source? Does which gunicorn return anything?

scragg0x avatar Jul 15 '15 14:07 scragg0x

i am having the same problem, install was by: debian: sudo apt-get install -y python-pip python-dev libxml2-dev libxslt1-dev zlib1g-dev libffi-dev libyaml-dev libssl-dev

pip install realms-wiki

zeigerpuppy avatar Aug 30 '15 08:08 zeigerpuppy

What does realms-wiki version return

scragg0x avatar Aug 30 '15 21:08 scragg0x

version 0.5.4

zeigerpuppy avatar Aug 30 '15 23:08 zeigerpuppy

I'm having a hard time duplicating this. I will have to tryt with a fresh VM.

scragg0x avatar Aug 31 '15 01:08 scragg0x

is there a way to give you more complete logs? The behaviour I am seeing is identical to @magic890

zeigerpuppy avatar Sep 01 '15 06:09 zeigerpuppy

which version of Debian you're on? @zeigerpuppy @magic890.

nzuhdi avatar Dec 20 '15 05:12 nzuhdi

I'm running a Wheezy system with a few unstable packages too.

zeigerpuppy avatar Dec 20 '15 11:12 zeigerpuppy

It is working on my Wheezy system though. Here's the version that I've tested with.

root@echidna:~# uname -ar
Linux echidna 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u1 x86_64 GNU/Linux
root@echidna:~# python -V
Python 2.7.3
root@echidna:~# pip --version
pip 1.1 from /usr/lib/python2.7/dist-packages (python 2.7)
root@echidna:~# node -v
v5.3.0
(.venv)root@echidna:~/realms-wiki# realms-wiki version
0.6.1
(.venv)root@echidna:~/realms-wiki# bower -v
1.7.1

nzuhdi avatar Dec 21 '15 15:12 nzuhdi