Corsinvest / cv4pve-autosnap

Automatic snapshot tool for Proxmox VE
https://www.corsinvest.it/cv4pve
GNU General Public License v3.0
402 stars 50 forks source link

Installation Error - Missing dependencies #14

Closed myopenflixr closed 5 years ago

myopenflixr commented 5 years ago

Hello,

I tried installing this on my Proxmox host (v. 6.0-5) and receive the following dependency errors that I cannot figure out how to resolve.

None of the missing dependencies have any installation candidates.

root@prox1-R610:~# dpkg -i cv4pve-autosnap.1.1.1.debian-x64.deb
Selecting previously unselected package cv4pve-autosnap.
(Reading database ... 54863 files and directories currently installed.)
Preparing to unpack cv4pve-autosnap.1.1.1.debian-x64.deb ...
Unpacking cv4pve-autosnap (1.1.1) ...
dpkg: dependency problems prevent configuration of cv4pve-autosnap:
 cv4pve-autosnap depends on liblttng-ust0; however:
  Package liblttng-ust0 is not installed.
 cv4pve-autosnap depends on libssl0.9.8 | libssl1.0.0 | libssl1.0.1 | libssl1.0.2; however:
  Package libssl0.9.8 is not installed.
  Package libssl1.0.0 is not installed.
  Package libssl1.0.1 is not installed.
  Package libssl1.0.2 is not installed.

dpkg: error processing package cv4pve-autosnap (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 cv4pve-autosnap

Any suggestions?

On a side note, should this be installed on the Proxmox host or another local server?

Thanks, Mike

franklupo commented 5 years ago

Hi, The idea is to install it externally and use the API of Proxmox VE. However the problem should not exist even if installed internally.

I'll check and update you.

Best regards

franklupo commented 5 years ago

Hi, temporary fix execute

sudo apt install --fix-broken

Best regards

myopenflixr commented 5 years ago

Hi,

I was able to successfully install it on another server on my home network and am now running into a new issue when trying to execute the following command:

sudo cv4pve-autosnap --host=172.16.0.6 --username=root@pam --password=mypassworsd snap --vmid=all --label='daily' --keep=2

The error I receive is: Unrecognized option '--vmid=all'

I have tried numerous times replacing "--vmid=all" with various VM & container numbers and always receive the same error. It's almost like it does not like the --vmid command, but if you leave it out completely, there of course is an error stating that it's missing the --vmid command.

I have a home lab setup with 2 proxmox servers in a cluster and would love to be able to automate a daily snapshot for my containers and VM's. Neither server are paid subscriptions (not sure if that matters).

Can you please assist with this issue as well?

Thanks!

franklupo commented 5 years ago

Hi, the correct commans is

sudo cv4pve-autosnap --host=172.16.0.6 --username=root@pam --password=mypassworsd --vmid=all snap --label='daily' --keep=2

--vmid before snap command.

Best regards

myopenflixr commented 5 years ago

That worked!

--vmid before snap command was the issue!

Thank you!