-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uwsgi problem #2
Comments
It looks like there is a setting variable missing
The settings file looks like this: sa_cs1jsth@ufdlsrv01:/opt/data_logger_server$ more settings*.py
::::::::::::::
settings_local.py
::::::::::::::
"""
Machine-specific configuration files
"""
import pathlib
ROOT_DIR = pathlib.Path('/home/uflo/data/rawData/dlsrv')
# Subdirectories
DATA_DIR = ROOT_DIR.joinpath('senddata')
ALARM_DIR = ROOT_DIR.joinpath('sendalarm')
::::::::::::::
settings.py
::::::::::::::
"""
Machine-specific configuration files
"""
import pathlib
ROOT_DIR = pathlib.Path('/home/uflo/data/rawData/dlsrv')
RESPONSE_TEMPLATE = ''
# Subdirectories
DATA_DIR = ROOT_DIR.joinpath('senddata')
ALARM_DIR = ROOT_DIR.joinpath('sendalarm') This file is installed by the install script |
I restarted UWSGI to attempt to reproduce the error:
|
The settings feature in |
Manually edited the settings files sa_cs1jsth@ufdlsrv01:/opt/data_logger_server$ more settings*.py
::::::::::::::
settings_local.py
::::::::::::::
"""
Machine-specific configuration files
"""
import pathlib
ROOT_DIR = pathlib.Path('/home/uflo/data/rawData/dlsrv')
# Subdirectories
DATA_DIR = ROOT_DIR.joinpath('senddata')
ALARM_DIR = ROOT_DIR.joinpath('sendalarm')
::::::::::::::
settings.py
::::::::::::::
"""
Machine-specific configuration files
"""
import pathlib
ROOT_DIR = pathlib.Path('/home/uflo/data/rawData/dlsrv')
RESPONSE_TEMPLATE_PATH = '/opt/data_logger_server/response_template.xml'
# Subdirectories
DATA_DIR = ROOT_DIR.joinpath('senddata')
ALARM_DIR = ROOT_DIR.joinpath('sendalarm') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NGINX is running fine. UWSGI is running but has these errors:
sa_cs1jsth@ufdlsrv01:~$ sudo journalctl -u data_logger_server.service --since 2023-05-12
The text was updated successfully, but these errors were encountered: