acme.sh.csh: Permission denied.

Nicolas68

Dabbler
Joined
Jan 3, 2021
Messages
11
Hello

I installed Owncloud Server into an iocage and I try to add Redis now

when I try to start the server I get this

root@Owncloud:~ # service redis restart
Stopping redis.
/root/.acme.sh/acme.sh.csh: Permission denied.
Waiting for PIDS: 2053.
Starting redis.
/root/.acme.sh/acme.sh.csh: Permission denied.

I spent more than weeks to find a solution to solve this and now I am just loosing my patience

Please if anyone has an idea please help and share

thanks
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Well, chmod 755 /root/.acme.sh/acme.sh.csh will probably fix the permission denied, but the ".sh.csh" seems to suggest another problem in there somewhere.
 

Nicolas68

Dabbler
Joined
Jan 3, 2021
Messages
11
Well, chmod 755 /root/.acme.sh/acme.sh.csh will probably fix the permission denied, but the ".sh.csh" seems to suggest another problem in there somewhere.
thank you for your suggestion
yes chmod doesn't help :frown:
the funny thing is that the Redis server is able to start on the boot but than you have no access to it
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I installed Owncloud Server
How did you do this? There doesn't seem to be a plugin (I'd thought there was), so you would have installed it manually. Were you following a particular guide?
 

Nicolas68

Dabbler
Joined
Jan 3, 2021
Messages
11
How did you do this? There doesn't seem to be a plugin (I'd thought there was), so you would have installed it manually. Were you following a particular guide?
Hello danb35
I used this ressource to install it manually into an iocage DrKK's Definitive Guide to Installing OwnCloud in FreeNAS (or FreeBSD)
I did this instead using the Nextcloud plugin because the mobile apps with automatic sync is a way more reliable. At least it is my own experience when I tested both solutions
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
That guide is almost eight years old, and it says nothing at all about acme.sh (which isn't surprising; Let's Encrypt hadn't even been announced yet, and wouldn't be available to the public for over a year after @DrKK's video was posted). You must have found those instructions somewhere else.

I'd recommend destroying the jail and finding a less-ancient guide to follow, if you want Owncloud rather than Nextcloud. Or, in the alternative, take a more-recent guide for Nextcloud, and substitute Owncloud.

But failing that, it looks very much as though a malformed acme.sh command made it into your redis rc script. See if you can find it in /usr/local/etc/rc.d/redis
 
Top