Proxmox : starting worker failed: unable to parse worker upid (Backup Proxmox Error)

First of all, back up the following files:

# nano /usr/share/perl5/PVE/Tools.pm
# nano /usr/share/pve-manager/ext4/pvemanagerlib.js

Now edit the files. In Tools.pm change:
Code:
if ($upid =~ m/^UPID:([a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?):([0-9A-Fa-f]{8}):([0-9A-Fa-f]{8}):([0-9A-Fa-f]{8}):([^:\s]+):([^:\s]*):([^:\s]+):$/) {
to

Code:
if ($upid =~  m/^UPID:([a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?):([0-9A-Fa-f]{8}):([0-9A-Fa-f]{8,9}):([0-9A-Fa-f]{8}):([^:\s]+):([^:\s]*):([^:\s]+):$/)  {
In pvemanagerlib.js change:

Code:
var res = upid.match(/^UPID:(\S+):([0-9A-Fa-f]{8}):([0-9A-Fa-f]{8}):([0-9A-Fa-f]{8}):([^:\s]+):([^:\s]*):([^:\s]+):$/);
to:

Code:
var res =  upid.match(/^UPID:(\S+):([0-9A-Fa-f]{8}):([0-9A-Fa-f]{8}):([0-9A-Fa-f]{8,9}):([^:\s]+):([^:\s]*):([^:\s]+):$/);
After editing these files, restart pvedaemon and apache2, then refresh the web interface. After that you should be able to create VMs again.


# /etc/init.d/pvedaemon restart

https://pve.proxmox.com/wiki/Upgrade_from_2.3_to_3.0
Share on Google Plus

About I'am Webmaster

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 comments :