Can't run CLI commands

I’m working on a development server running Concrete CMS 8.5.14 on PHP 7.4 and I’m trying to run some CLI commands, but I keep running into this error. Doesn’t matter what command, like setting maintenance mode, whatever. It seems to be a permissions issue somewhere but I don’t know where or why.

Has anyone seen this before that can point me in the right direction?

Stash\Exception\InvalidArgumentException: Cache path is not writable. in file /var/www/*/*/updates/concrete-cms-8.5.14/concrete/vendor/tedivm/stash/src/Stash/Utilities.php on line 231

Your cache folder is most likely not writable, so on Linux you can:

chmod -R 777 public/application/files/cache

Replace folder path with valid one.
There is a chance, that current user has not proper permissions, but try command above first.

Thanks for pointing me in the right direction. It did end up being a user/group permissions issue on the cache folder.