Skip to content
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

FileNotFoundError: [Errno 2] No such file or directory: '/etc/nginx/sites-available/xxx' #30

Open
peakwinter opened this issue Mar 15, 2017 · 0 comments
Labels
Milestone

Comments

@peakwinter
Copy link
Contributor

arkOS 0.8.3 Crash Report

Running in prod
System: Linux arkos 4.4.45-1-ARCH #1 SMP Fri Jan 27 18:52:49 MST 2017 armv7l GNU/Linux

Platform: armv7l Unknown
Python version 3.6.0
Config path: settings.json

Loaded applicatons:
basicsite
fs-afp
syncthing
fs-samba
db-mariadb
db-sqlite3
wordpress
cmsjs
grav
xmpp
nextcloud
haste

Request: PUT /api/websites/xxx

Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/usr/lib/python3.6/site-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/lib/python3.6/site-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
raise value
File "/usr/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/lib/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functionsrule.endpoint
File "/usr/lib/python3.6/site-packages/flask/views.py", line 84, in view
return self.dispatch_request(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/flask/views.py", line 149, in dispatch_request
return meth(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/kraken/auth.py", line 135, in decorator
return func(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/kraken/frameworks/websites.py", line 79, in put
site.edit(data.get("new_name"))
File "/usr/lib/python3.6/site-packages/arkos/websites.py", line 517, in edit
self._edit(newname)
File "/usr/lib/python3.6/site-packages/arkos/websites.py", line 522, in _edit
self.id))
File "/usr/lib/python3.6/site-packages/nginx.py", line 488, in loadf
with open(path, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/etc/nginx/sites-available/xxx'

@peakwinter peakwinter added the bug label Mar 15, 2017
@peakwinter peakwinter modified the milestone: 0.9 Mar 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant