Skip to content

QFieldCloud on production mode: error 500 #1329

@leonardogonfiantini

Description

@leonardogonfiantini

QFieldCloud on production mode: error 500

I am trying to install a version of qfieldcloud on a test server, but even though I follow all the steps, I keep getting this error: Error 500. Here is a screenshot:

Image

The steps I follow are as follows:

git clone --recurse-submodules https://github.com/opengisch/QFieldCloud.git
cp .env.example .env #Then i modify DEBUG=1 to DEBUG=0 and ENVIRONMENT=test to ENVIRONMENT=production)
docker compose up -d --build
docker compose exec app python manage.py migrate
docker compose run app python manage.py collectstatic --noinput
docker compose run app python manage.py createsuperuser --username super_user --email super@user.com

I tried all the steps several times, but every time I encounter some issues. I don't have any screenshots, but once I installed the application and it wouldn't load the styles, so I basically only had a page where I could log in to HTML without CSS.

These are the containers I have active on my server:

Image

I don't understand if I'm missing some configuration, some HTTPS certificate? I've been trying for days but I can't figure it out.
Thank you to anyone who helps me.

Steps to reproduce the issue

git clone --recurse-submodules https://github.com/opengisch/QFieldCloud.git
cp .env.example .env #Then i modify DEBUG=1 to DEBUG=0 and ENVIRONMENT=test to ENVIRONMENT=production)
docker compose up -d --build
docker compose exec app python manage.py migrate
docker compose run app python manage.py collectstatic --noinput
docker compose run app python manage.py createsuperuser --username super_user --email super@user.com

Version

d9209c8 (HEAD -> master, origin/master, origin/HEAD) Merge pull request #1322 from opengisch/QF-6538-incident-banner

Operating system name

Linux

Operating system version

Ubuntu 24.04

Reinstall QFieldCloud

  • I have a fresh install of the latest QFieldCloud version, but the problem persists.
  • I have the latest available Docker engine installed on my machine.
  • Problem can be reliably reproduced, doesn't happen randomly.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    feedbackWaits for feedback from the user or closes it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions