Proxmox Offline Mirror released!

Not much guessing required, the feature list is documented and in the initial announcement post of this thread..

Anyhow, apt-cache-ng is more a proxy hosts are directly using, and such not air-gapped from the WAN, it also cannot manage Proxmox subscriptions in an offline manner. So, the whole offline part is rather lacking there, while the proxy functionallity works out of the box, while POM would require some (small) manual setup to work similar like that.
 
Not much guessing required, the feature list is documented and in the initial announcement post of this thread..

Anyhow, apt-cache-ng is more a proxy hosts are directly using, and such not air-gapped from the WAN, it also cannot manage Proxmox subscriptions in an offline manner. So, the whole offline part is rather lacking there, while the proxy functionallity works out of the box, while POM would require some (small) manual setup to work similar like that.
I fully understood "promox" branding and features, would expect POM to be more polished and targeted application.

Thanks for the reply and and thanks to the team for ongoing research and development to the "Proxmox" suite of apps!
 
there's currently not proxy support, but it shouldn't be too hard to implement. could you maybe file an enhancement request at https://bugzilla.proxmox.com ?
 
Hi
tell me where is the mistake?
debian11 and proxmox repositories downloaded

1670492917987.png



1670492798908.png

1670492874310.png


on proxmox node added

Code:
deb [check-valid-until=false] http://proxmox-mirror/debian_bullseye_main/2022-12-07T11%3A44%3A08Z/dists/bullseye/ bullseye main contrib non-free

# security updates
deb [check-valid-until=false] http://proxmox-mirror/debian_bullseye_security/2022-12-07T11%3A42%3A44Z/dists/bullseye-security/ bullseye-security main contrib non-free

#update
deb [check-valid-until=false] http://proxmox-mirror/debian_bullseye_updates/2022-12-07T11%3A52%3A52Z/dists/bullseye-updates bullseye-updates main contrib non-free


and when apt update exits

1670493734260.png


??
 
Last edited:
dists/bullseye-security/
The dist is given after the base URL, so drop the quoted part from each sources list entry, and it should work - given there's no other configuration error.

For your case it should probably look something like:
Code:
deb [check-valid-until=false] http://proxmox-mirror/debian_bullseye_main/2022-12-07T11:42:44Z bullseye main contrib non-free

# security updates
deb [check-valid-until=false] http://proxmox-mirror/debian_bullseye_security/2022-12-07T11:42:44Z bullseye-security main contrib non-free

# update
deb [check-valid-until=false] http://proxmox-mirror/debian_bullseye_updates/2022-12-07T11:42:44Z bullseye-updates main contrib non-free
 
Last edited:
  • Like
Reactions: Kosh
The dist is given after the base URL, so drop the quoted part from each sources list entry, and it should work - given there's no other configuration error.

For your case it should probably look something like:
Code:
deb [check-valid-until=false] http://proxmox-mirror/debian_bullseye_main/2022-12-07T11:42:44Z bullseye main contrib non-free

# security updates
deb [check-valid-until=false] http://proxmox-mirror/debian_bullseye_security/2022-12-07T11:42:44Z bullseye-security main contrib non-free

# update
deb [check-valid-until=false] http://proxmox-mirror/debian_bullseye_updates/2022-12-07T11:42:44Z bullseye-updates main contrib non-free
thanks everything worked!
 
probably you set up your mirror to skip debug packages? it's the suggestion when using the setup wizard ;)
 
well, if you exclude packages they are not mirrored, and then also not available on the mirror, so yes :-P
 
Hi,

I am trying to use the offline mirror to mirror the enterprise repo. My systems are not exactly airgapped so I do not need offline subscription keys, I mainly want the mirror to control how the different clusters get updates (ie create a snaphost, update the test cluster to it and then update the prod cluster). What I haven't figured out from the docs though is if I still need to get a subscription key as described here https://pom.proxmox.com/offline-keys.html#setup-offline-mirror-key or if that is only needed to manage subscriptions for the airgapped systems.

Thanks,
Florian
 
You need a key if you want to mirror the enterprise repo.
 
  • Like
Reactions: apollo13
Hi
Can I use your mirror to download updates not related to pve/pbs/pgm ?
couldn't find the answer in the documentation
 
Yes - any/most apt-repositories should work - the docs use the bullseye security repository as one example:
https://pom.proxmox.com/offline-mirror.html#setting-up-a-mirror

I hope this helps!
Thank you
I follow the instructions and I get this error- Error: proxmox-apt error for '' - check for repository 1 - missing component(s)

added to proxmox-offline-mirror.cfg

Code:
mirror: linstor_proxmox_plugins
        architectures amd64
        architectures all
        base-dir /var/lib/proxmox-offline-mirror/mirrors/
        ignore-errors false
        key-path /etc/apt/trusted.gpg.d/linstor-proxmox-plugin.gpg
        repository deb https://packages.linbit.com/public/dists/proxmox-7/ proxmox-7
        sync true
        verify true

mirror link https://packages.linbit.com/public/dists/proxmox-7/

where am i making a mistake?
 
Last edited:
does it work if you add it with the `proxmox-offline-mirror config mirror add` command, and quote each agrument?
 
the repository line is wrong - it should be repository deb https://packages.linbit.com/public proxmox-7 drbd-9

but the repository is signed using a 1024-bit DSA key, which is consider insecure.
 
  • Like
Reactions: Kosh

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!