Report this

What is the reason for this report?

phpmyadmin cron upgrade issue on NGINX with PHP7.0

Posted on February 28, 2016

Hi,

I followed this tutorial on installing phpmyadmin on NGINX with PHP7.0 and the issue I have is that my Cron job does not seem to work.

When I login to phpmyadmin I can see that it hasn’t been upgraded to the latest version.

I followed the tutorial exactly like it is written except I changed the script to

cd /etc/phpmyadmin/ git pull -q origin STABLE

Beacuse it is the folder my phpmyadmin is in.

Is there anything I have missed?

Best regards.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Sorry to see that your question hasn’t received an answer yet. Unfortunately, after this much time, it is unlikely that an answer for this specific question will be provided. For people still landing here via search, it will help to look at the script’s output log in addition to the CRON entires in the syslog file.

In that tutorial, all output is discarded (forwarded to /dev/null):

0 5 * * * /home/user/scripts/pma_update.sh >> /dev/null 2>&1

To save all output to a file, replace /dev/null with, for example, /home/user/scripts/pma_update.log or any path for that matter as long as it is writeable by the user who owns the cron job.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.