I hope that somebody can give me a hint how to fix my issue.
We installed seatable successfully last days (ubuntu 20.04, best practise installation with self created certificate). Website, Login, Administration works absolutely fine.
We are able to create Bases but if we want to open a base a “502 Bad Gateway” error is shown.
seatable:
image: seatable/seatable-ee:latest
container_name: seatable
ports:
- “80:80”
- “443:443” # If https is enabled, cancel the comment.
volumes:
- /opt/seatable/seatable-data:/shared # Requested, specifies the path to Seafile data persistent store.
environment:
- DB_HOST=db
- DB_ROOT_PASSWD= # Requested, the value should be root’s password of MySQL service.
- SEATABLE_SERVER_LETSENCRYPT=False # Default is False. Whether to use let’s encrypt certificate.
- SEATABLE_SERVER_HOSTNAME=cool.solutionit.de # Specifies your host name.
- TIME_ZONE=Etc/UTC # Optional, default is UTC. Should be uncomment and set to your local time zone.
depends_on:
- db
- memcached
- redis
networks:
- seatable-net
Note!!! If you encounter “Network error” when loading a base
Use Chrome’s debug mode to check the detailed error. Normally, it is caused by wrong URLs in dtable_web_settings.py. As SeaTable server is composed of multiple components, it must read the correct URLs that users will use to access the service from settings. The configs will only be read from docker-compose.yml and write to the config file when you start SeaTable for the first time. If you modify the URLs in docker-compose.yml later, you must change them in dtable_web_settings.py manually.
The four URLs that used are below:
# The URL that users used to access a base
DTABLE_SERVER_URL = 'https://seatable.yourdomain.com/dtable-server/'
DTABLE_SOCKET_URL = 'https://seatable.yourdomain.com/'
# The URL that users used to access the service
DTABLE_WEB_SERVICE_URL = 'https://seatable.yourdomain.com/'
# The URL for the file server
FILE_SERVER_ROOT = 'https://seatable.yourdomain.com/seafhttp/'
Don’t forget to restart the service after modification:
I restartet seatable after I´ve checked the config file, just to be sure.
Now it works …
No idea why. I didn´t change anything. During certificate installation and troubleshooting I´ve restartet several times.
Thanks for your hints. Finally it solved the issue.
This is due to spam protection. If you post them in a code-fence / block, it’s fine (also better readable and makes it more clear it is a configuration setting).
Do it like thousands of other people who have used SeaTable to develop powerful processes and get their ideas and tasks done more efficiently.