KevinTheJedi
I edited the code as per https://github.com/osTicket/osTicket/pull/6544
Re-downloaded both the .phar files (storage-fs.phar, storage-s3.phar)
Tested. Got this error:
[04-Jun-2023 13:27:48 UTC] PHP Fatal error: Uncaught Error: Call to a member function getInfo() on null in phar:///var/www/html/OST-Jobs-New/include/plugins/storage-s3.phar/storage.php:25
Stack trace:
#0 phar:///var/www/html/OST-Jobs-New/include/plugins/storage-s3.phar/storage.php(253): S3StorageBackend::setConfig()
#1 /var/www/html/OST-Jobs-New/include/class.plugin.php(147): S3StoragePlugin->bootstrap()
#2 /var/www/html/OST-Jobs-New/include/class.osticket.php(676): PluginManager->bootstrap()
#3 /var/www/html/OST-Jobs-New/main.inc.php(34): osTicket::start()
#4 /var/www/html/OST-Jobs-New/scp/login.php(16): require_once('...')
#5 {main}
thrown in phar:///var/www/html/OST-Jobs-New/include/plugins/storage-s3.phar/storage.php on line 25
[04-Jun-2023 13:28:08 UTC] PHP Fatal error: Uncaught Error: Call to a member function get() on null in phar:///var/www/html/OST-Jobs-New/include/plugins/storage-fs.phar/storage.php:137
Stack trace:
#0 /var/www/html/OST-Jobs-New/include/class.plugin.php(147): FsStoragePlugin->bootstrap()
#1 /var/www/html/OST-Jobs-New/include/class.osticket.php(676): PluginManager->bootstrap()
#2 /var/www/html/OST-Jobs-New/main.inc.php(34): osTicket::start()
#3 /var/www/html/OST-Jobs-New/scp/login.php(16): require_once('...')
#4 {main}
thrown in phar:///var/www/html/OST-Jobs-New/include/plugins/storage-fs.phar/storage.php on line 137
[04-Jun-2023 13:28:10 UTC] PHP Fatal error: Uncaught Error: Call to a member function get() on null in phar:///var/www/html/OST-Jobs-New/include/plugins/storage-fs.phar/storage.php:137
Stack trace:
#0 /var/www/html/OST-Jobs-New/include/class.plugin.php(147): FsStoragePlugin->bootstrap()
#1 /var/www/html/OST-Jobs-New/include/class.osticket.php(676): PluginManager->bootstrap()
#2 /var/www/html/OST-Jobs-New/main.inc.php(34): osTicket::start()
#3 /var/www/html/OST-Jobs-New/scp/login.php(16): require_once('...')
#4 {main}
thrown in phar:///var/www/html/OST-Jobs-New/include/plugins/storage-fs.phar/storage.php on line 137
[
By undoing the changes, the osticket applications started working again.
Please check if I've done the changes correctly or slipped up on something.
Thanks