• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

Cron Issues

Logan

Chevereto Member
Dear user, kindly note that Tech Support is free, but please note:

  • ⚠️ Check hotfixes first
  • ⏳ Ticket response time is within 72-hours if you need a faster response purchase Extra Support
  • 🇨🇱 Support is delivered in CLST working hours
  • 🚧 Tech Support only covers software issues
▶ Reproduction steps


Hi.
I am using this command for cron but seeing this Error in logs.
php /data/wwwroot/imagehost/cli.php -C cron

Server Running
  1. Nginx 1.20.1
  2. PHP 7.4.21
  3. MySQL 8.0.25
  4. Ubuntu 18.04 LTS

😢 Unexpected result

Code:
PHP Warning:  Cannot load module 'phalcon' because required module 'psr' is not loaded in Unknown on line 0
[LIST]
[*]Processing removeDeleteLog
[*]Processing deleteExpiredImages
[*]Processing tryForUpdates
[*]Processing cleanUnconfirmedUsers
[*]Processing checkHtaccess
[*]Enforce .htaccess files
[/LIST]

Aw, snap! Internal Server Error [debug @ print,error_log]

** errorId #32d612944e7bdbcf **
[QUOTE]
> ErrorException [0]: file_put_contents(app/.htaccess): failed to open stream: No such file or directory
[/QUOTE]
At /data/wwwroot/imagehost/app/htaccess-enforce.php:33

Stack trace:
#0 unknown file(unknown line): G\errorsAsExceptions()
#1 /data/wwwroot/imagehost/app/htaccess-enforce.php(33): file_put_contents()
#2 /data/wwwroot/imagehost/app/cron.php(112): include('/data/wwwroot/imagehost/app/htaccess-enforce.php')
#3 /data/wwwroot/imagehost/app/cron.php(32): checkHtaccess()
#4 /data/wwwroot/imagehost/app/loader.php(233): require_once('/data/wwwroot/imagehost/app/cron.php')
#5 /data/wwwroot/imagehost/cli.php(36): include_once('/data/wwwroot/imagehost/app/loader.php')

Aw, snap! Internal Server Error [debug @ print,error_log]

** errorId #32d612944e7bdbcf **
[QUOTE]
> ErrorException [0]: file_put_contents(app/.htaccess): failed to open stream: No such file or directory
[/QUOTE]
At /data/wwwroot/imagehost/app/htaccess-enforce.php:33

Stack trace:
#0 unknown file(unknown line): G\errorsAsExceptions()
#1 /data/wwwroot/imagehost/app/htaccess-enforce.php(33): file_put_contents()
#2 /data/wwwroot/imagehost/app/cron.php(112): include('/data/wwwroot/imagehost/app/htaccess-enforce.php')
#3 /data/wwwroot/imagehost/app/cron.php(32): checkHtaccess()
#4 /data/wwwroot/imagehost/app/loader.php(233): require_once('/data/wwwroot/imagehost/app/cron.php')
#5 /data/wwwroot/imagehost/cli.php(36): include_once('/data/wwwroot/imagehost/app/loader.php')

📃 Error log message

Above
 
Hi,

You are getting this issue because PHP doesn't have write permission to write the missing file at app/.htaccess. You need to fix the permissions in your filesystem, and if you can't do that you can always re-upload the app/.htaccess file from the main download, here: https://chevereto.com/panel/downloads

Let me know if that helps.

Cheers,
Rodolfo.
 
Back
Top