• 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

[Solved] Update error and cron issue (Synology)

aware

Chevereto Member
Hi,

Chevereto is installed on my synology.
I have never had a problem updating.

Currently, I am on 3.20.13.
when i click to "update now", a pop up asking for my V3 license.
update_v3.png

I enter my license but the update fails.
update_fail.png

I thought it might be because of the cron that never ran.
So I tried to run it, adapted to the Synology environment.

Bash:
root@NAS2:/volume1/web/chevereto# php74 -f  cli.php -C cron
Missing -C command

Any idea why I still have "missing -C command"?
Why does the update fail? because the cron was never executed?

thanks in advance
 
I found to run cron with Synology.

It is necessary to use php74, but also to indicate which profile should be used. If you run php74 without specifying the profile, it will not work.
  • In WebStation, click on PHP Settings, then check that a PHP 7.4 profile exists.
webstation - php.png
  • Next, go to the /usr/syno/etc/packages/WebStation/php_profile/ folder and you look at all available profiles.
  • If you only have one profile, this will be easy.
    If not, you need to view each fpm.conf file in each profile folder.
    Example :

fpm.conf.png
  • Use -- args when first argument starts with -
    And then you put it all together (highlighted in bold what needs to be replaced with your data) :
sudo -u http php74 -c /usr/syno/etc/packages/WebStation/php_profile/9056c64d-a03a-44fc-a07b-2b1d5efc1ec1/conf.d/user_settings.ini -f /volume1/web/chevereto/cli.php -- -C cron

And it works ! :)
We can create a scheduled task in DSM.
I don't know if there is any simpler way, but what is sure is that it is necessary to indicate which profile to use.
I hope this will help synology owners.

(sorry for my bad english)
 
Bonsoir
Good evening
I have the same problem under wamp php 7.4.25
MariaDb 10.6.4 base

Until chevereto 3.20.13 no error ... but there:
19:23:34 error
19:23:29 The installed version is v3.20.13
Gpinpin
 
Back
Top