• 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.

Auto update fails with error Can't connect to

Status
Not open for further replies.

mkerala

👽 Chevereto Freak
Website URL
https://gifyu.com

Chevereto version
3.10.5

Description of the issue
I was trying to update to latest version, but it is failing with below error.

Update failed
13:05:45 Can't connect to https://gifyu.com/update
13:05:43 Attempting to extract v3.10.6
13:05:43 Downloaded v3.10.6, proceeding to extraction
13:05:41 Starting v3.10.6 download
13:05:41 Update needed, proceeding to download
13:05:41 Last available release is v3.10.6
13:05:37 Installed version is v3.10.5

I have confirmed the following
1. www-data is owner for all Chevereto files and has read/write permission
2. Firewall is not blocking incoming/outgoing connections

Last time also I had the same issue and did manual update. If possible I could like to fix this.
 
Permissions issue.

Code:
code:403
context:"Exception"
message:"Can't update /sdk/pup.dev.js file - copy(/var/www/html/sdk/pup.dev.js): failed to open stream: Permission denied"
 
Thanks. I forgot about that folder when setting the permission. I applied the permission and next got this error.

Code:
Fatal error: app/install is outdated. You need to re-upload app/install folder with the one from Chevereto 3.10.6

I uploaded the install folder as said and it showed update finished successful. But many new features were missing like the guest upload size. So I downloaded 3.10.6 and copied all files again. Now working fine.

Btw could you advise whats the best permission to be set for below directories? Currently I have 775 set for all folders, but believe this is not the right one from a security point of view.

/app - 775
/content - 775
/images -775
/lib -775
/sdk - 775
 
Do it all over again, the process halted so you have mixed files there.

Do a manual update and problem solved.
 
Yes, I did it all working fine now.

Could you advise on below?

Btw could you advise whats the best permission to be set for below directories? Currently I have 775 set for all folders, but believe this is not the right one from a security point of view.

/app - 775
/content - 775
/images -775
/lib -775
/sdk - 775
 
Sorry I didn't get it. Does we still need to set some level of chmod permissions? All folders currently has 775 permission which gives read access to public.
 
No one should be using chmod for web. Run your server with permissions over the files (wheel/group).
 
Status
Not open for further replies.
Back
Top