Multiple mirroring issues in maniacs-setup
Bug #1778232 reported by
Michael Reed
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maas-cert-server |
Fix Released
|
Critical
|
Jeff Lane |
Bug Description
In trying to create a local apt-mirror I am seeing the following issue:
chown: cannot access '/srv/mirrors/
This does differ from bug https:/
I do have a workaround, after the script fails, I run the following command
cd /srv/mirrors/
sudo chown -R apt-mirror:
Then re-run the maniacs-setup script and the apt-mirror will complete downloading.
Related branches
~bladernr/maas-cert-server:fix-mirror-failure
- Rod Smith: Approve
-
Diff: 48 lines (+11/-5)2 files modifieddebian/changelog (+6/-0)
usr/sbin/maniacs-setup (+5/-5)
summary: |
- hown: cannot access '/srv/mirrors/archive/mirror/*': No such file or + Chown: cannot access '/srv/mirrors/archive/mirror/*': No such file or directory |
Changed in maas-cert-server: | |
status: | In Progress → Fix Committed |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Here is part of the output from the install:
* Is this correct (Y/n)? .maas-cert- server/ apt-mirror. out archive/ var/clean. sh can free up some disk space. archive/ mirror/ *': No such file or directory
* Should this this computer to use the local mirror (Y/n)? n
* Do you want to mirror trusty (Y/n)? n
* Do you want to mirror xenial (Y/n)?
* Do you want to mirror artful (Y/n)? n
* Do you want to mirror bionic (Y/n)? n
* Do you want to mirror cosmic (Y/n)? n
*
* Creating archive mirror in the background. Check /home/ubuntu/
* for status information.
*
*
* Mirror operation begun.
*
* After the mirror operation completes, running
* /srv/mirrors/
chown: cannot access '/srv/mirrors/