"internal server error" while trying to create SQLITE DB? #1350
-
Hello, I'm trying to setup a fresh ASM3 v46, installed from official Debian repo. After configuring db_type = SQLITE # MYSQL, POSTGRESQL, SQLITE or DB2
db_name = /srv/www/asm3_db/asm3.sqlite And making sure perms are good (Apache is running as stat /srv/www/asm3_db/ |grep Uid
Access: (0755/drwxr-xr-x) Uid: ( 33/www-data) Gid: ( 33/www-data) The website redirects to
What did I miss? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
I can't see anything wrong with what you're doing. What do the Apache error log files say? |
Beta Was this translation helpful? Give feedback.
-
Got it! I modified my Apache vhost conf (copied from +WSGIScriptAlias / /usr/lib/sheltermanager3/code.py/
-WSGIScriptAlias /asm3 /usr/lib/sheltermanager3/code.py/
+Alias /static /usr/lib/sheltermanager3/static
-Alias /asm3/static /usr/lib/sheltermanager3/static And of course also updated Which was why I got this Internal server error. Adding back this As I dedicated a subdomain to ASM3, I don't need this sub-folder, and URL would be simpler for users without it. |
Beta Was this translation helpful? Give feedback.
The config file is only read once on startup, so any change to it requires a restart to Apache :)