mirror of
https://github.com/Corsinvest/cv4pve-autosnap.git
synced 2026-04-25 08:55:49 +03:00
[GH-ISSUE #18] Problem after upgrade Proxmox to v6 #14
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cv4pve-autosnap#14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @paolo-pf on GitHub (Sep 10, 2019).
Original GitHub issue: https://github.com/Corsinvest/cv4pve-autosnap/issues/18
Hi there,
we've a problem with cv4pve-autosnap after upgrading to Proxmox v6.0.7 (coming from 5.4.13 that was working perfectly).
When we try to do anything, even just using "status" command, we get an exception error. We attach ths error here below.
errore cv4pve.txt
Best regards,
Paolo
@franklupo commented on GitHub (Sep 10, 2019):
Hi Paolo,
what versions do you use?
Best regards
@paolo-pf commented on GitHub (Sep 11, 2019):
Hi Frank,
I used version 1.1.1 then I noticed there's version 1.2.0, I've downloaded and installed it, but I always get the same error in attachment.
errore cv4pve.txt
Best regards,
Paolo
@franklupo commented on GitHub (Sep 11, 2019):
Hi,
Execute whit --debug and send me output.
Attention In output are present password.
Best regards
@paolo-pf commented on GitHub (Sep 12, 2019):
Here there is output with --debug:
Method: POST, Url: https://localhost:8006/api2/json/access/ticket
Parameters:
password : xxxxxxxxxx
username : root
realm : pam
================ EXCEPTION ================
System.AggregateException
One or more errors occurred. (The SSL connection could not be established, see inner exception.)
at System.Threading.Tasks.Task
1.GetResultCore(Boolean waitCompletionNotification) at Corsinvest.ProxmoxVE.Api.ClientBase.ExecuteAction(String resource, HttpMethod method, IDictionary2 parameters)at Corsinvest.ProxmoxVE.Api.ClientBase.Login(String userName, String password, String realm)
at Corsinvest.ProxmoxVE.Api.ClientBase.Login(String userName, String password)
at Corsinvest.ProxmoxVE.Api.Extension.Utils.Shell.CommandOptionExtension.ClientTryLogin(CommandLineApplication command)
at Corsinvest.ProxmoxVE.AutoSnap.ShellCommands.CreateApp(CommandLineApplication parent) in C:\Users\Daniele\source\repos\OpenSource\ProxmoxVE\cv4pve-autosnap\src\dotnet\Corsinvest.ProxmoxVE.AutoSnap\ShellCommands.cs:line 32
at Corsinvest.ProxmoxVE.AutoSnap.ShellCommands.<>c__DisplayClass4_1.b__1() in C:\Users\Daniele\source\repos\OpenSource\ProxmoxVE\cv4pve-autosnap\src\dotnet\Corsinvest.ProxmoxVE.AutoSnap\ShellCommands.cs:line 69
at McMaster.Extensions.CommandLineUtils.CommandLineApplicationExtensions.<>c__DisplayClass9_0.b__0()
at Corsinvest.ProxmoxVE.Api.Extension.Utils.Shell.ShellHelper.ExecuteConsoleApp(CommandLineApplication app, TextWriter stdOut, String[] args)
Best regards
@franklupo commented on GitHub (Sep 12, 2019):
you have enabled 2-factor authentication?
@paolo-pf commented on GitHub (Sep 12, 2019):
Nope. No two factor auth enable.
Regards
@franklupo commented on GitHub (Sep 12, 2019):
how to run the command line?
if you execute on extrenal host proxmox work?
@paolo-pf commented on GitHub (Sep 12, 2019):
Via command line I always get the same error.
@franklupo commented on GitHub (Sep 12, 2019):
Write the command line here
Best regards
@paolo-pf commented on GitHub (Sep 12, 2019):
cv4pve-autosnap --host=localhost --username=root@pam --password=xxxxxxxxxxxxx --vmid=100 status
@franklupo commented on GitHub (Sep 13, 2019):
Hi,
Now I understand. Run inside Proxmox VE.
I also have the same mistake.
I try to understand how to solve.
Best regards
@franklupo commented on GitHub (Sep 13, 2019):
Ok the problem is a package.
Temporary fix add export:
see
https://steamcommunity.com/groups/archiasf/discussions/1/1642041106361436166/
@paolo-pf commented on GitHub (Sep 14, 2019):
Thanks. Where should I add that export? Which file?
Regards
@franklupo commented on GitHub (Sep 14, 2019):
In cron file or bash file
@paolo-pf commented on GitHub (Sep 14, 2019):
Okkkk thanks!
@franklupo commented on GitHub (Sep 14, 2019):
Considers execution outside Poxmox VE, it can be a virtual machine.
Remember donation to support project.
Best regards