• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

Can't update to 3.110

Status
Not open for further replies.

imghut

💖 Chevereto Fan
Website URL
https://imgrpost.com

Chevereto version
3.10.18

Description of the issue
When running the update I get the error below,

Can't update /app/themes/Peafowl/views/image.php file - copy(/home/admin/web/imgrpost.com/public_html/app/themes/Peafowl/views/image.php): failed to open stream: Permission denied

Thanks
 
The error is telling exactly what you need to know. Maybe a translation will be helpful: "The copy operation for the filename /home/admin/web/imgrpost.com/public_html/app/themes/Peafowl/views/image.php failed because the system was unable to open a write stream due to missing write permission"

Now on permissions, Chevereto doesn't handle your filesystem so you need to fix the permission for the file(s) where PHP (Chevereto) can't work.

Most likely you have a different SFTP user/group and when you uploaded that file you forgot to update the file owner/group.

In any case, this is not a problem of the script but a filename with wrong permissions in your server.
 
I don't know under which user or wheel you execute the webserver that interpreters PHP so I cannot help you at all. You didn't provided server access so I cannot lookup either.

I'm very sorry, but I cannot help you with what you are giving me to work with.

Don't forget this remark on the ticket form:
We do not have access to any Chevereto installation. You must include log entries, server credentials and admin access if you want to get prompt support, otherwise we can only give you hints rather than actually fix the issue for you.

Like I said, check if the file has the appropriate user properties, maybe this could help: https://chevereto.com/community/thr...issues-update-images-logo-watermark-etc.4561/
 
I'm trying to find a way to update the ticket with the login info but can't seem to find it.
 
There's something odd with your httpd.

Code:
ps aux | grep httpd

Is not returning the actual httpd user (which is admin for your server).

Before touching anything:
Code:
[root@vultr views]# ls -lh image.php
-rw-r--r-- 1 root root 15K Jul  1 06:06 image.php
(current user is root)

Then I deleted the conflicting file so PHP rebuild it once update is triggered. Found this:
Code:
[root@vultr views]# ls -lh image.php
-rw-r--r-- 1 admin admin 15K Aug 24 22:33 image.php
(admin user)

The problem was exactly what I told you in the first place. In the future, keep this in mind because this is a server issue and support doesn't deal with this kind of stuff.

For your convenience, store this somewhere (use it if this happens again)
Code:
sudo chown admin:admin * -R
sudo usermod -a -G admin root
(exec on /home/admin/web/imgrpost.com/public_html/)

The update is completed, next time don't forget to check permissions.
 
Status
Not open for further replies.
Back
Top