• 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.
  • Chevereto Support CLST

    Support response

    Support checklist

Update failed Can't connect to %s

imghut

💖 Chevereto Fan
While updating from 3.20.9 to 3.20.10 I got the
Code:
Update failed
Can't connect to %s
So I pressed F5 to refresh and after a pause it was Update Successful
All working as it should, just thought I would report in case it's relevant ;)
 
Last edited:
Thanks, noted. That one happens on the extract action when it can't connect to your own server. I believe that the best course of action is CLI update as it won't present that timeout issue.

The thing that time out is the HTTP request, not the extraction process so PHP keeps running in the background. In any case, you should check if the app/install/update/temp dir for any pending file.
 
I triggered a manual cli update and this is what I got:

Bash:
php cli.php -C update
JSON:
* Checking for updates
> Update needed
* Downloading latest release
Fetching https://chevereto.com/api/download/latest
  100%[==================================================>] download
> chevereto_latest_72ea71639511a22a4d26811a.zip
* Extracting downloaded file

Aw, snap! Internal Server Error [debug @ error_log] - https://chv.to/v3debug

** errorId #1f86b9821c9c6ccc **
>> ErrorException [0]: posix_getpwuid() has been disabled for security reasons
At ./app/install/update/updater.php:113

Stack trace:
#0 unknown file(unknown line): G\errorsAsExceptions(2, 'posix_getpwuid() has been disabled for security reasons', './app/install/update/updater.php', 113, Array)
#1 ./app/install/update/updater.php(113): posix_getpwuid(0)
#2 ./app/install/update/updater.php(231): CHV\extract('./app/install/update/temp/', Array)
#3 ./app/update.php(29): require_once('./app/install/update/updater.php')
#4 ./app/loader.php(230): require_once('./app/update.php')
#5 ./cli.php(36): include_once('./app/loader.php')

{
    "status_code": 400,
    "error": {
        "message": "posix_getpwuid() has been disabled for security reasons",
        "code": 0
    },
    "status_txt": "Bad Request"
}
 
while updating from 3.20.11 to 3.20.12, I got: Can't connect to internal API (action:extract)
 
while updating from 3.20.11 to 3.20.12, I got: Can't connect to internal API (action:extract)
when I try to update via cli:
Bash:
php cli.php -C update
* Checking for updates
> Update needed
* Downloading latest release
Fetching https://chevereto.com/api/download/latest
  100%[==================================================>] download
> chevereto_latest_eaaf2e284970b7676bc7a6e7.zip
* Extracting downloaded file

Aw, snap! Internal Server Error [debug @ error_log] - https://chv.to/v3debug

** errorId #93a29d7c7660c185 **
>> ErrorException [0]: posix_getpwuid() has been disabled for security reasons
At ./app/install/update/updater.php:113

Stack trace:
#0 unknown file(unknown line): G\errorsAsExceptions(2, 'posix_getpwuid() has been disabled for security reasons', './app/install/update/updater.php', 113, Array)
#1 ./app/install/update/updater.php(113): posix_getpwuid(0)
#2 ./app/install/update/updater.php(231): CHV\extract('./app/install/update/temp/', Array)
#3 ./app/update.php(29): require_once('./app/install/update/updater.php')
#4 ./app/loader.php(230): require_once('./app/update.php')
#5 ./cli.php(36): include_once('./app/loader.php')

{
    "status_code": 400,
    "error": {
        "message": "posix_getpwuid() has been disabled for security reasons",
        "code": 0
    },
    "status_txt": "Bad Request"
}
 
Back
Top