Select Tasks Not Running in 1.8.1 (Docker)

There’s no need to make config changes to run this with Docker

Find the name of your web container from the list of running containers (which you can see by running docker ps)

Once you have the name, for example, if it were xibodocker_cms-web_1, then run

docker exec -ti xibodocker_cms-web_1 bash

That will get you a console inside the web container. You can then do

cd /var/www/cms
php bin/xtr.php

And finally type exit when you are done to get back to your normal shell.

Thank you Alex!

I totally forgot about going that route. Is really simple on the Synology NAS.

I ran xtr.php, It did look to force all the maintenance scripts, but they all took less then a second, and it appears nothing was done. Notifications are still there, stats still seems huge. I did not get any output on the console, not sure if I should have. I also tried enabling logging, running the xtr.php, but I didn’t get anything in the logs.

Any other ideas?

Just a helpful tip, you can actually shorten that command if run from the same directory as the docker-compose file:

docker exec -ti $(docker-compose ps -q cms-web) bash

If the script does not rely on the PWD then you could actually just run this:

docker exec -ti $(docker-compose ps -q cms-web) php /var/www/cms/bin/xtr.php