CMS Version
4.2.1
Installation Method
Manual Installation
Operating System
Rocky Linux 9.5
Issue
I have installed Xibo CMS 4.2.1 and now I want to install XMR on the same Server. I left the PHAR file as it is in /var/www/xibo/vendor/bin/xmr.phar and created a config.json in the same directory with the following content (IP Adress Replaced):
{
“sockets”: {
“ws”: “192.168.1.1:8080”,
“api”: “192.168.1.1:8081”,
“zmq”: [“tcp://192.168.1.1:9505”]
},
“debug”: true
}
But when I want to run the PHAR File, I get following Error
[root@HOSTNAME_REPLACED xibo]# php /var/www/xibo/vendor/bin/xmr.phar
PHP Fatal error: Uncaught InvalidArgumentException: Missing /var/www/xibo/vendor/xibosignage/xibo-xmr/bin/config.json file, please create one in /var/www/xibo/vendor/xibosignage/xibo-xmr/bin in phar:///var/www/xibo/vendor/xibosignage/xibo-xmr/bin/xmr.phar/index.php:46
Stack trace:
#0 /var/www/xibo/vendor/xibosignage/xibo-xmr/bin/xmr.phar(14): require()
#1 /var/www/xibo/vendor/bin/xmr.phar(119): include(‘…’)
#2 {main}
thrown in phar:///var/www/xibo/vendor/xibosignage/xibo-xmr/bin/xmr.phar/index.php on line 46
But the Xibo Docs say, that the config.json has to be in the same directory. What is true now?
Additionally, I am confused by this Github Issue, do I have to replace my PHAR file or not? XMR: the PHAR file with 1.0 release is an older version · Issue #3604 · xibosignage/xibo · GitHub