Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

Internal Server Error / no python application found #31

Open
beQuietde opened this issue Mar 19, 2021 · 1 comment
Open

Internal Server Error / no python application found #31

beQuietde opened this issue Mar 19, 2021 · 1 comment

Comments

@beQuietde
Copy link

Hey, thank you for sharing your project, but could you help me out here?

When I access my WebGUI I get the Internal Server error. Easywall Log is clean, Syslog says me "no python application found". Python3 is installed.

@GatewayBad
Copy link

GatewayBad commented Mar 9, 2023

Hi, I also ran into this problem and it was caused by the log file permissions in /var/log/easywall.log if you have the correct permissions check the file permissions. Look in the syslog if you don't find something similar ;-)

spawned uWSGI worker 5 (pid: 1168, cores: 2)
spawned uWSGI worker 4 (pid: 1167, cores: 2)
spawned uWSGI worker 3 (pid: 1166, cores: 2)
spawned uWSGI worker 2 (pid: 1165, cores: 2)
spawned uWSGI worker 1 (pid: 1164, cores: 2)
spawned uWSGI master process (pid: 781)
*** uWSGI is running in multiple interpreter mode ***
*** no app loaded. going in full dynamic mode ***
unable to load app 0 (mountpoint='') (callable not found or import error)
PermissionError: [Errno 13] Permission denied: '/var/log/easywall.log'
with open(fullpath, 'w+'):
File "./easywall/utility.py", line 28, in create_file_if_not_exists
create_file_if_not_exists(fullpath)
File "./easywall/log.py", line 45, in init
self.log = Log(str(loglevel), bool(to_stdout), bool(to_files), str(logpath), str(logfile))
File "easywall/web/main.py", line 238, in init
MAIN = Main()
File "easywall/web/main.py", line 270, in
Traceback (most recent call last):

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants