Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade from eve4pve-autosnap to cv4pve-autosnap #19

Closed
plant75 opened this issue Sep 12, 2019 · 13 comments
Closed

Upgrade from eve4pve-autosnap to cv4pve-autosnap #19

plant75 opened this issue Sep 12, 2019 · 13 comments
Labels

Comments

@plant75
Copy link

plant75 commented Sep 12, 2019

Hello,
what is the best way to upgrade from eve4pve to cv4pve ?
We have a multi node cluster and i have notice eve4pve doas'nt delete old snap any more..
Maybe:
dpkg -r eve4pve-autosnap_0.1.8_all.deb
dpkg -i cv4pve-autosnap_?.?.?-?_all.deb

hav i to delete the old cron file ? ( /etc/pve/eve/autosnap/eve4pve-autosnap.cron )

Many Thanks

@franklupo
Copy link
Member

Hi,
The new version works directly with the native Web APIs.
It is no longer necessary to install it internally to the Proxmox VE host but it can be on an external host. The new version works on all available VM/CT, so if you see all the VMs / CTs, in a cluster from any node you see all the VMs / CTs

Remove old version uninstall and remove cron files
Best regards

@woody4165
Copy link

I'm trying to install cv4pve-autosnap on the root proxmox

I downloaded https://github.com/Corsinvest/cv4pve-autosnap/releases/download/v1.2.0/cv4pve-autosnap.1.2.0.debian-x64.deb and tried
dpkg -i cv4pve-autosnap.1.2.0.debian-x64.deb
but I get

root@pve:~# dpkg -i cv4pve-autosnap.1.2.0.debian-x64.deb 
Selecting previously unselected package cv4pve-autosnap.
(Reading database ... 43391 files and directories currently installed.)
Preparing to unpack cv4pve-autosnap.1.2.0.debian-x64.deb ...
Unpacking cv4pve-autosnap (1.2.0) ...
dpkg: dependency problems prevent configuration of cv4pve-autosnap:
 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

I've tried to install via apt-get install libssl1.0.2 but I get

root@pve:~# apt-get install libssl1.0.2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libssl1.0.2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libssl1.0.2' has no installation candidate

any suggestion?

Thanks

@franklupo
Copy link
Member

sudo apt install --fix-broken

@woody4165
Copy link

thanks, already done, but same situation

root@pve:~# apt install --fix-broken
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 70 not upgraded.
root@pve:~# dpkg -i cv4pve-autosnap.1.2.0.debian-x64.deb 
Selecting previously unselected package cv4pve-autosnap.
(Reading database ... 43391 files and directories currently installed.)
Preparing to unpack cv4pve-autosnap.1.2.0.debian-x64.deb ...
Unpacking cv4pve-autosnap (1.2.0) ...
dpkg: dependency problems prevent configuration of cv4pve-autosnap:
 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

@franklupo
Copy link
Member

sudo apt install --fix-broken

After dpkg not before.

@woody4165
Copy link

thanks again.

in this case the command remove cv4pve-autosnap

root@pve:~# dpkg -i cv4pve-autosnap.1.2.0.debian-x64.deb 
(Reading database ... 43583 files and directories currently installed.)
Preparing to unpack cv4pve-autosnap.1.2.0.debian-x64.deb ...
Unpacking cv4pve-autosnap (1.2.0) over (1.2.0) ...
dpkg: dependency problems prevent configuration of cv4pve-autosnap:
 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
root@pve:~# apt install --fix-broken
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  cv4pve-autosnap
0 upgraded, 0 newly installed, 1 to remove and 70 not upgraded.
1 not fully installed or removed.
After this operation, 75.4 MB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 43582 files and directories currently installed.)
Removing cv4pve-autosnap (1.2.0) ...
root@pve:~# 

@franklupo
Copy link
Member

Which version of proxmox use?

@woody4165
Copy link

It's latest, Virtual Environment 6.0-4

@franklupo
Copy link
Member

franklupo commented Sep 13, 2019

root@pve01:~# pveversion
pve-manager/6.0-7/28984024 (running kernel: 5.0.21-1-pve)

I install now without problem

root@pve01:~# dpkg -i cv4pve-autosnap.1.2.0.debian-x64.deb
Selecting previously unselected package cv4pve-autosnap.
(Reading database ... 74551 files and directories currently installed.)
Preparing to unpack cv4pve-autosnap.1.2.0.debian-x64.deb ...
Unpacking cv4pve-autosnap (1.2.0) ...
Setting up cv4pve-autosnap (1.2.0) ...

@woody4165
Copy link

I've tried to upgrade to 6.0-7, but i didn't.

My version is
pve-manager/6.0-4/2a719255 (running kernel: 5.0.15-1-pve)

I tried also via cli with apt dist-upgrade

Maybe you have the Enterprise version, while I have the free version.

I will wait and see.

Thanks

@woody4165
Copy link

Hi

I've upgraded to 6.0-7 but I still have same issue

root@pve:~# dpkg -i cv4pve-autosnap.1.2.0.debian-x64.deb 
Selecting previously unselected package cv4pve-autosnap.
(Reading database ... 49824 files and directories currently installed.)
Preparing to unpack cv4pve-autosnap.1.2.0.debian-x64.deb ...
Unpacking cv4pve-autosnap (1.2.0) ...
dpkg: dependency problems prevent configuration of cv4pve-autosnap:
 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
root@pve:~# apt install --fix-broken
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  cv4pve-autosnap
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 75.4 MB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 50015 files and directories currently installed.)
Removing cv4pve-autosnap (1.2.0) ...

root@pve:~# pveversion
pve-manager/6.0-7/28984024 (running kernel: 5.0.21-1-pve)

Is there a way to install the missing package manually?

I can try to backup my VM (only one) and try to reinstall, but consider that I've already installed Proxmox from scratch just before install this tool.

Should I downgrade to Proxmox version 5?

Thanks

@franklupo
Copy link
Member

In any case you can execute autosnap external Pve.

@franklupo
Copy link
Member

the new version in development will be a single file

franklupo added a commit that referenced this issue Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants