Hello,
I've been trying to deploy cellxgene-gateway using a python WSGI HTTP server like Gunicorn, since Flask only provides a dev server. I am also using nginx as a reverse proxy to forward client requests. The problem is not coming from nginx (since with nginx only, everything works correctly).
Here's the issue:
Whenever I launch cellxgene-gateway with gunicorn, I cannot get the filecrawler to see the .h5ad files in the repository. I tried changing directories, changing permissions and ownerships of the repositories (I'm on debian), exporting the variables in different ways (using the --env flag of gunicorn, using the raw_env in the config file, exporting them beforehand then importing them using os.environ, hardcoding the string values in ALL the files of cellxgene-gateway where CELLxGENE_DATA is called...). None of these worked, and I still cannot view the data files. The app launches and no error messages are shown (not even in the log in debug mode). .
Does anyone have any ideas or a solution to this problem? I'm happy to provide any further information about my setup if needed.
Hello,
I've been trying to deploy cellxgene-gateway using a python WSGI HTTP server like Gunicorn, since Flask only provides a dev server. I am also using nginx as a reverse proxy to forward client requests. The problem is not coming from nginx (since with nginx only, everything works correctly).
Here's the issue:
Whenever I launch cellxgene-gateway with gunicorn, I cannot get the filecrawler to see the .h5ad files in the repository. I tried changing directories, changing permissions and ownerships of the repositories (I'm on debian), exporting the variables in different ways (using the --env flag of gunicorn, using the raw_env in the config file, exporting them beforehand then importing them using os.environ, hardcoding the string values in ALL the files of cellxgene-gateway where CELLxGENE_DATA is called...). None of these worked, and I still cannot view the data files. The app launches and no error messages are shown (not even in the log in debug mode). .
Does anyone have any ideas or a solution to this problem? I'm happy to provide any further information about my setup if needed.