chevereto-mark
Chevereto Member
Hi,
I installed Chevereto via OpenLiteSpeed process on ubuntu 20.04 on AWS ec2. Setup external S3 storage. Was initially having image rendering issues which led to the additional problem of noticing external storage images not being deleted, but this post helped with the image rendering leading me to turn off https for S3 storage (I am using custom domain with CNAME). Not ideal, but that part working for now in http.
This post lead me to the cron job (I confirmed chv_queues has a bunch of pending deletes) requirement. The cron setup instructions there seem to for a different install or OS type, but still attempted to adjust things for the OpenLiteSpeed install process. The results are below. litespeed is run as nobody which may or may not be an issue for running the cron command. The install Chevereto step missing from OpenLiteSpeed install process but I found it here and adjusted for the path and account on the OpenLiteSpeed process, I am thinking that should not be an issue.
Not sure what I missed in the setup. Any thoughts?
root@chevereto:/usr/local/lsws/logs# sudo -u nobody IS_CRON=1 /usr/bin/php /usr/local/lsws/chevereto.srmstar.org/html/cron.php
PHP Fatal error: Uncaught Error: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND' in /usr/local/lsws/chevereto.srmstar.org/html/lib/G/classes/class.db.php:79
Stack trace:
#0 /usr/local/lsws/chevereto.srmstar.org/html/lib/G/classes/class.db.php(110): G\DB->__construct()
#1 /usr/local/lsws/chevereto.srmstar.org/html/app/loader.php(66): G\DB::getInstance()
#2 /usr/local/lsws/chevereto.srmstar.org/html/cron.php(23): include_once('/usr/local/lsws...')
#3 {main}
thrown in /usr/local/lsws/chevereto.srmstar.org/html/lib/G/classes/class.db.php on line 79
root@chevereto:~# /usr/bin/php -version
PHP 7.4.3 (cli) (built: Oct 6 2020 15:47:56) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.3, Copyright (c), by Zend Technologies
root@chevereto:~#
I installed Chevereto via OpenLiteSpeed process on ubuntu 20.04 on AWS ec2. Setup external S3 storage. Was initially having image rendering issues which led to the additional problem of noticing external storage images not being deleted, but this post helped with the image rendering leading me to turn off https for S3 storage (I am using custom domain with CNAME). Not ideal, but that part working for now in http.
This post lead me to the cron job (I confirmed chv_queues has a bunch of pending deletes) requirement. The cron setup instructions there seem to for a different install or OS type, but still attempted to adjust things for the OpenLiteSpeed install process. The results are below. litespeed is run as nobody which may or may not be an issue for running the cron command. The install Chevereto step missing from OpenLiteSpeed install process but I found it here and adjusted for the path and account on the OpenLiteSpeed process, I am thinking that should not be an issue.
Not sure what I missed in the setup. Any thoughts?
root@chevereto:/usr/local/lsws/logs# sudo -u nobody IS_CRON=1 /usr/bin/php /usr/local/lsws/chevereto.srmstar.org/html/cron.php
PHP Fatal error: Uncaught Error: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND' in /usr/local/lsws/chevereto.srmstar.org/html/lib/G/classes/class.db.php:79
Stack trace:
#0 /usr/local/lsws/chevereto.srmstar.org/html/lib/G/classes/class.db.php(110): G\DB->__construct()
#1 /usr/local/lsws/chevereto.srmstar.org/html/app/loader.php(66): G\DB::getInstance()
#2 /usr/local/lsws/chevereto.srmstar.org/html/cron.php(23): include_once('/usr/local/lsws...')
#3 {main}
thrown in /usr/local/lsws/chevereto.srmstar.org/html/lib/G/classes/class.db.php on line 79
root@chevereto:~# /usr/bin/php -version
PHP 7.4.3 (cli) (built: Oct 6 2020 15:47:56) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.3, Copyright (c), by Zend Technologies
root@chevereto:~#