ayufan / pve-patches

Repository with public Proxmox patches
223 stars 54 forks source link

New Backup Features do not show up #59

Open jahknem opened 4 years ago

jahknem commented 4 years ago

Hi! System: Proxmox 6.2-4 (After downgrading from 6.2-10 by following the instructions in this comment) Expected Behaviour: After applying the patches and rebooting pve manager, the backup window should include a menu button for full backup.

Actual Behavior: The Additional options in the "Create: Backup Job" Window do not show up.

Output during install was as follows:

root@proxmox:~# ./pve-6.2-4-diff-backup-addon test
-bash: ./pve-6.2-4-diff-backup-addon: No such file or directory
root@proxmox:~# cd pve-patches/
root@proxmox:~/pve-patches# ./pve-6.2-4-diff-backup-addon test
Proxmox VE 6.2-4 - differential backup support, v3
Kamil Trzcinski, http://ayufan.eu/, ayufan@ayufan.eu

$ patch_apply / --dry-run --batch
checking file usr/share/perl5/PVE/LXC/Create.pm
checking file usr/share/perl5/PVE/QemuServer.pm
Hunk #1 succeeded at 5493 (offset -128 lines).
Hunk #2 succeeded at 6139 (offset -126 lines).
Hunk #3 succeeded at 6349 (offset -126 lines).
checking file usr/share/perl5/PVE/Storage.pm
checking file usr/share/perl5/PVE/Storage/Plugin.pm
checking file usr/share/perl5/PVE/VZDump.pm
checking file usr/share/perl5/PVE/VZDump/Common.pm
checking file usr/share/perl5/PVE/VZDump/LXC.pm
Hunk #1 succeeded at 333 (offset 16 lines).
Hunk #2 succeeded at 435 (offset 23 lines).
checking file usr/share/perl5/PVE/VZDump/QemuServer.pm
Hunk #1 succeeded at 241 (offset -2 lines).
Hunk #2 succeeded at 249 (offset -2 lines).
Hunk #3 succeeded at 473 (offset 1 line).
Hunk #4 succeeded at 548 (offset 1 line).
checking file usr/share/pve-manager/js/pvemanagerlib.js
root@proxmox:~/pve-patches# ./pve-6.2-4-diff-backup-addon apply
Proxmox VE 6.2-4 - differential backup support, v3
Kamil Trzcinski, http://ayufan.eu/, ayufan@ayufan.eu

checking file usr/share/perl5/PVE/LXC/Create.pm
checking file usr/share/perl5/PVE/QemuServer.pm
Hunk #1 succeeded at 5493 (offset -128 lines).
Hunk #2 succeeded at 6139 (offset -126 lines).
Hunk #3 succeeded at 6349 (offset -126 lines).
checking file usr/share/perl5/PVE/Storage.pm
checking file usr/share/perl5/PVE/Storage/Plugin.pm
checking file usr/share/perl5/PVE/VZDump.pm
checking file usr/share/perl5/PVE/VZDump/Common.pm
checking file usr/share/perl5/PVE/VZDump/LXC.pm
Hunk #1 succeeded at 333 (offset 16 lines).
Hunk #2 succeeded at 435 (offset 23 lines).
checking file usr/share/perl5/PVE/VZDump/QemuServer.pm
Hunk #1 succeeded at 241 (offset -2 lines).
Hunk #2 succeeded at 249 (offset -2 lines).
Hunk #3 succeeded at 473 (offset 1 line).
Hunk #4 succeeded at 548 (offset 1 line).
checking file usr/share/pve-manager/js/pvemanagerlib.js
$ patch_apply /
patching file usr/share/perl5/PVE/LXC/Create.pm
patching file usr/share/perl5/PVE/QemuServer.pm
Hunk #1 succeeded at 5493 (offset -128 lines).
Hunk #2 succeeded at 6139 (offset -126 lines).
Hunk #3 succeeded at 6349 (offset -126 lines).
patching file usr/share/perl5/PVE/Storage.pm
patching file usr/share/perl5/PVE/Storage/Plugin.pm
patching file usr/share/perl5/PVE/VZDump.pm
patching file usr/share/perl5/PVE/VZDump/Common.pm
patching file usr/share/perl5/PVE/VZDump/LXC.pm
Hunk #1 succeeded at 333 (offset 16 lines).
Hunk #2 succeeded at 435 (offset 23 lines).
patching file usr/share/perl5/PVE/VZDump/QemuServer.pm
Hunk #1 succeeded at 241 (offset -2 lines).
Hunk #2 succeeded at 249 (offset -2 lines).
Hunk #3 succeeded at 473 (offset 1 line).
Hunk #4 succeeded at 548 (offset 1 line).
patching file usr/share/pve-manager/js/pvemanagerlib.js
APPLIED

$ service pveproxy restart
$ service pvedaemon restart
root@proxmox:~/pve-patches# 
ventra007 commented 4 years ago

Hi,

Encountered this myself a while back, turns out I just had to reload my browser (CTRL+F5) for the new interface to show up.

Hope this helps