Hi everyone, I’ve been using Kirby around a year now, though I wouldn’t say I’m very adept at it by any means. I’ve been hosting my site on NearlyFreeSpeech, and have always had issues with read/write permissions, logging into the panel, etc., but have just made do this whole time, without being able to really figure out and solve the root of all my problems.
Recently, I thought I came close by following the advice in this post and running
chown -R :web .
from my root folder after sshing into it. For a brief evening, that worked perfectly: no more read/write permission issues, could log into the panel no problem. However, then I updated my site locally, so I deleted everything from NFSN, reuploaded my local files via SFTP, and then ran
chown -R :web .
again. Now, however, when I try to log into my site, I get “invalid login”, even though I’m still able to log into the panel perfectly well when I’m running my site locally. Does anybody know why this could be happening? I thought I was just executing the exact same steps that got my site working the first time, but now they don’t. Any help would be much appreciated!
The first step would be to temporarily enable debug mode in your config to get more details about the error, because the invalid login is just a fallback error message.
TypeError: Cannot read properties of undefined (reading ‘challengeDestroyed’)
at a.onError (index.min.js:2:331729)
at _n (vue.min.js:11:22257)
at a.r (vue.min.js:11:10679)
at _n (vue.min.js:11:22257)
at t.$emit (vue.min.js:11:44724)
at a.login (index.min.js:2:330318)
index.min.js:2
Hello! Just bumping this post in case anyone has any insights on this issue. I would really appreciate any advice that anyone could give! I’ve tried deleting everything in my root folder and starting over, but the problem persists.