Cron Job Fails to Run Daily for Local Apt-Mirror
Bug #1781502 reported by
Michael Reed
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maas-cert-server |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
After installing a local archive for MAAS using maniacs-setup script, the archive fails to update on a nightly basis. This causes systems to fail commission and deploy. The workaround is to run apt mirror manually.
sudo /usr/bin/apt-mirror
To post a comment you must log in.
at /etc/cron. d/apt-mirror archive/ var/cron. log
#
# Regular cron jobs for the apt-mirror package
#
0 4 * * * apt-mirror /usr/bin/apt-mirror > /srv/mirrors/
ubuntu@massvm4:~$ cat /srv/mirrors/ archive/ var/cron. log
Downloading 424 index files using 20 threads...