Skip to content

Server Error 500 #2

@TobiasWinter97

Description

@TobiasWinter97

Hi, I've successfully installed HydDB-webserver on my HPC.
My installation steps are as following:

$ singularity shell instance://singularity instance start --writable-tmpfs --net --network=none --bind /public/home/sammyzhao97/databases/hyddb:/db new_hyddb.sif hyddb_web
$ singularity shell instance://hyddb_web
$ cd /
$ mkdir db
$ touch db.sqlite3
$ cd /code
$ python manage.py makemigrations
$ python manage.py migrate
$ python manage.py loaddata hydrogenaseclass hydrogenasesequence geneticorganisation
$ python manage.py train
$ python manage.py trainupstream data
$ python manage.py runserver 0.0.0.0:port

On my mac:

ssh -L port:node:port sammyzhao97@server

Then I successfully open the server on my mac. But when I submit the job, it shows server error 500. How to fix this problem?

Image

I upload the faa file and click the submit jobs button:
Image

It shows server error:
Image

And another problem:
When I click the browser button, it tells me error(url/hyddb/browser):

Image

And after I remove the redundant /hyddb, it works (url/browser/).

Image

And cannot properly show the images:

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions