Hardware: KVM VPS YunoHost version: 4.0.3 I have access to my server : SSH, Keyboard, VNC Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no If yes, please explain:
This error prevents any loading of JS or CSS assets without me refreshing the page up to hundreds of times. It affects all of my apps and has exited since version 4.
Okay so let’s try to open a lua shell by just running lua in a console, then copypaste the 5 lines :
directory = "/usr/share/ssowat/portal/assets/themes/"
pfile = io.popen('find "'..directory..'" -type f -exec realpath --relative-to "'..directory..'" {} \\;')
for filename in pfile:lines() do
print(filename)
end
So you have "theme": "default" in that file ? What if you remove that key/value entirely ? (Edit: and maybe do a systemctl reload nginx, just to be sure …)
Thing is, since you reported the issue of not being able to load some assets, you assumed that it’s coming from that error … I saw that error as well on other server and doesn’t seem to prevent assets from loading. And so far you’re the only one reporting that kind of issue. Not to mention that it seems to randomly go away and come back.
Not saying that the SSOwat issue shouldn’t be fixed, but it sounds like it’s not the root cause of your issue. So I’d be really interested if you can look at other logs and/or provide a way to reproduce the issue somehow (e.g. sharing some url of your server or idk)
I’ve checked the error logs and it’s always that a task is inturrupted. It’s seemed to happen on any of my apps that rely on javascript as a backend, but it can also affect CSS. Things like Rainloop and Nextcloud have been most heavily affected. The error below is really all that I’ve been able to find, but the server keeps having internal errors and these are the only errorrs associated.
2020/08/28 21:50:49 [error] 19695#19695: *34750 lua entry thread aborted: runtime error: /usr/share/ssowat/access.lua:276: Interrupted system call
stack traceback:
coroutine 0:
[C]: in function '(for generator)'
/usr/share/ssowat/access.lua:276: in function 'scandir'
/usr/share/ssowat/access.lua:303: in function 'serveYnhpanel'
/usr/share/ssowat/access.lua:321: in function </usr/share/ssowat/access.lua:1>, client: 162.158.78.191, server: panel.rydecorp.com, request: "GET /mail/app/rainloop/v/1.12.1/static/js/min/boot.min.js?community HTTP/1.1", host: "panel.rydecorp.com", referrer: "https://panel.rydecorp.com/mail/app/"
2020/08/28 21:50:49 [error] 19695#19695: *34751 lua entry thread aborted: runtime error: /usr/share/ssowat/access.lua:276: Interrupted system call
stack traceback:
coroutine 0:
[C]: in function '(for generator)'
/usr/share/ssowat/access.lua:276: in function 'scandir'
/usr/share/ssowat/access.lua:303: in function 'serveYnhpanel'
/usr/share/ssowat/access.lua:331: in function </usr/share/ssowat/access.lua:1>, client: 172.69.63.204, server: panel.rydecorp.com, request: "GET /ynhtheme/custom_overlay.css HTTP/1.1", host: "panel.rydecorp.com", referrer: "https://panel.rydecorp.com/mail/app/"
2020/08/28 22:14:10 [error] 19695#19695: *34929 lua entry thread aborted: runtime error: /usr/share/ssowat/access.lua:276: Interrupted system call
stack traceback:
coroutine 0:
[C]: in function '(for generator)'
/usr/share/ssowat/access.lua:276: in function 'scandir'
/usr/share/ssowat/access.lua:303: in function 'serveYnhpanel'
/usr/share/ssowat/access.lua:331: in function </usr/share/ssowat/access.lua:1>, client: 162.158.74.24, server: panel.rydecorp.com, request: "GET /ynhtheme/custom_overlay.css HTTP/1.1", host: "panel.rydecorp.com", referrer: "https://panel.rydecorp.com/mail/app/"
2020/08/28 22:14:10 [error] 19695#19695: *34931 lua entry thread aborted: runtime error: /usr/share/ssowat/access.lua:276: Interrupted system call
stack traceback:
coroutine 0:
[C]: in function '(for generator)'
/usr/share/ssowat/access.lua:276: in function 'scandir'
/usr/share/ssowat/access.lua:303: in function 'serveYnhpanel'
/usr/share/ssowat/access.lua:321: in function </usr/share/ssowat/access.lua:1>, client: 162.158.75.37, server: panel.rydecorp.com, request: "GET /mail/app/rainloop/v/1.12.1/static/js/min/boot.min.js?community HTTP/1.1", host: "panel.rydecorp.com", referrer: "https://panel.rydecorp.com/mail/app/"
2020/08/29 07:18:11 [error] 19695#19695: *35462 lua entry thread aborted: runtime error: /usr/share/ssowat/access.lua:276: Interrupted system call
stack traceback:
coroutine 0:
[C]: in function '(for generator)'
/usr/share/ssowat/access.lua:276: in function 'scandir'
/usr/share/ssowat/access.lua:303: in function 'serveYnhpanel'
/usr/share/ssowat/access.lua:321: in function </usr/share/ssowat/access.lua:1>, client: 162.158.78.191, server: panel.rydecorp.com, request: "GET /mail/app/rainloop/v/1.12.1/static/js/min/boot.min.js?community HTTP/1.1", host: "panel.rydecorp.com", referrer: "https://panel.rydecorp.com/mail/app/"
2020/08/29 07:18:11 [error] 19695#19695: *35461 lua entry thread aborted: runtime error: /usr/share/ssowat/access.lua:276: Interrupted system call
stack traceback:
coroutine 0:
[C]: in function '(for generator)'
/usr/share/ssowat/access.lua:276: in function 'scandir'
/usr/share/ssowat/access.lua:303: in function 'serveYnhpanel'
/usr/share/ssowat/access.lua:321: in function </usr/share/ssowat/access.lua:1>, client: 172.69.63.16, server: panel.rydecorp.com, request: "GET /mail/app/rainloop/v/1.12.1/static/css/app.min.css?community HTTP/1.1", host: "panel.rydecorp.com", referrer: "https://panel.rydecorp.com/mail/app/"
2020/08/29 07:18:11 [error] 19695#19695: *35460 lua entry thread aborted: runtime error: /usr/share/ssowat/access.lua:276: Interrupted system call
stack traceback:
coroutine 0:
[C]: in function '(for generator)'
/usr/share/ssowat/access.lua:276: in function 'scandir'
/usr/share/ssowat/access.lua:303: in function 'serveYnhpanel'
/usr/share/ssowat/access.lua:331: in function </usr/share/ssowat/access.lua:1>, client: 172.69.63.204, server: panel.rydecorp.com, request: "GET /ynhtheme/custom_overlay.css HTTP/1.1", host: "panel.rydecorp.com", referrer: "https://panel.rydecorp.com/mail/app/"```