Giter Club home page Giter Club logo

Comments (5)

sauloal avatar sauloal commented on May 25, 2024

Hello Colin,
Could you try to run it WITHOUT the following parameters:
-v $PWD/access.log:/var/log/apache2/access.log
-v $PWD/error.log:/var/log/apache2/error.log

OR delete the created folders (access.log, error.log) and create the files:
touch error.log
touch access.log

from introgressionbrowser.

colindaven avatar colindaven commented on May 25, 2024

Thanks. I deleted the folders, and created the two files with touch.
This error disappeared, yet I seem to have problems accessing the server. Will troubleshoot here with our admin.

from introgressionbrowser.

colindaven avatar colindaven commented on May 25, 2024

It seems to be that the server has not started (timeouts via webbrowser, no activity on docker container)

I copied the config.template to the directory /var/www/ibrowser/data/ and renamed as config.py.

I then tried to run ibrowser manually with this command:

IMPORTING BEHAVIOUR
IMPORTING FUNCTIONS
importing flask
importing jinja2
importing user database
importing sha3
importing vcf_walk
importing vcf_walk sql
importing image
importing sqlalchemy
SECRET KEY '\xbbd}9\x7f\x0b\xa7\xd6@hF_Be\xe8\xa3\x9f\xe3\xe2\xf5\x18\xab\xc3$'
loading config /var/www/ibrowser/data/config.py
updating key DEBUG from True to False
updating key LIBRE_PATHS from ['/api', '/favicon.ico'] to ['/api', '/favicon.ico']
updating key SERVER_PORT from 10000 to 10000
updating key HAS_LOGIN from False to False
inited

No error messages, but no sign the browser is working.

root@f83a19cf91aa:/var/www/ibrowser# ps
PID TTY TIME CMD
1 ? 00:00:00 bash
38 ? 00:00:00 ps
root@f83a19cf91aa:/var/www/ibrowser# ps -aux | grep py
root@f83a19cf91aa:/var/www/ibrowser# ps -aux | grep ibrowser
root 42 0.0 0.0 6572 660 ? S+ 07:27 0:00 grep --color=auto ibrowser
root@f83a19cf91aa:/var/www/ibrowser# ps -aux | grep rowse
root@f83a19cf91aa:/var/www/ibrowser#

Thanks for your help.
Colin

from introgressionbrowser.

sauloal avatar sauloal commented on May 25, 2024

You are right!

I've corrected the the wiki to reflect that:

you need to run:

docker run -it --rm \
-v $PWD/data:/var/www/ibrowser/data \
-p 127.0.0.1:10000:10000 \
--name ibrowser \
sauloal/introgressionbrowser ./ibrowser.py data/

if you run ./ibrowser.py it will create the necessary files to run but will not actually run it

from introgressionbrowser.

sauloal avatar sauloal commented on May 25, 2024

Did it work?

from introgressionbrowser.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.