Question

phpmyadmin cron upgrade issue on NGINX with PHP7.0

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.

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.