Skip to content

LSP login issues #431

Description

@tresf

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:

mkdir -p var/cache/lsp/

... which leads me to believe that this script isn't running.... I read the rest of the script and found this line:

export APP_ENV=prod

... which seems to match the symptom described in:

... so I have reason to believe that post_deploy isn't always running after a deployment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions