Reported by @regulus79 on Discord:
A user on the forums mentioned that the sharing platform logs them out immediately, so they can't comment. I tried, and it happens for me too. I can log in, but once I click on a link, it logs me out again
... and @Monospace-V reminded of this solution that was posted on Discord:
Fixed. Not sure why the cache got blown away.
sudo mkdir -p ~/lmms.io/var/cache/lsp && sudo chown www-data:www-data ~/lmms.io/var/cache/lsp
If this happens again, there's a chance our git deploy plugin might need that directory whitelisted.
I can confirm that ~/lmms.io/var/cache/lsp is missing... but what's weird is it's explicitly added in our hooks/post_deploy script... Quoting:
... which leads me to believe that this script isn't running.... I read the rest of the script and found this line:
... which seems to match the symptom described in:
... so I have reason to believe that post_deploy isn't always running after a deployment.
Reported by @regulus79 on Discord:
... and @Monospace-V reminded of this solution that was posted on Discord:
I can confirm that
~/lmms.io/var/cache/lspis missing... but what's weird is it's explicitly added in ourhooks/post_deployscript... Quoting:lmms.io/hooks/post_deploy
Line 9 in b6e7afc
... which leads me to believe that this script isn't running.... I read the rest of the script and found this line:
lmms.io/hooks/post_deploy
Line 4 in b6e7afc
... which seems to match the symptom described in:
... so I have reason to believe that
post_deployisn't always running after a deployment.