Skip to content

Proposal: Move freshrss lock file into web dir #1705

@sleeksorrow

Description

@sleeksorrow

Hello there,

my proposal is to not write the .freshrss.lock file into the system temp dir, but find a cosy place inside the web directory tree for it.

Reason:
A friend of mine had the issue where the lock file got stuck somehow and feed updating was just giving the message "Feed already being actualized". Since this installation is on shared hosting where the system temp dir is not reachable for the customer, it was not possible to delete it. As soon as I changed the lock file path in app/Models/Feeds.php:367 from TMP_PATH to CACHE_PATH, FreshRSS was working all fine, and when it should get stuck again in the future, it's removable via FTP.

It would be awesome if you could implement some change similar to this so my friend doesn't need to merge this change after every update. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions