realms-wiki
                                
                                 realms-wiki copied to clipboard
                                
                                    realms-wiki copied to clipboard
                            
                            
                            
                        Unable to run realms-wiki in production mode
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?
How did you install realms-wiki?  pypi? source?  Does which gunicorn return anything?
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
What does realms-wiki version return
version 0.5.4
I'm having a hard time duplicating this. I will have to tryt with a fresh VM.
is there a way to give you more complete logs? The behaviour I am seeing is identical to @magic890
which version of Debian you're on? @zeigerpuppy @magic890.
I'm running a Wheezy system with a few unstable packages too.
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