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

scan job error after update to 1.2.0 #127

Open
1 of 2 tasks
tradeitsolutions opened this issue Feb 7, 2025 · 12 comments
Open
1 of 2 tasks

scan job error after update to 1.2.0 #127

tradeitsolutions opened this issue Feb 7, 2025 · 12 comments
Assignees

Comments

@tradeitsolutions
Copy link

Bug type

Component

Component name

Corsinvest.ProxmoxVE.Admin.ReplicationTrend

What happened?

Job.Scan
An exception occurred during performance of the job. [Fewer details...](http://10.x

Image

:5000/BackgroundJobs-HangFire/jobs/failed#)
an hour ago
System.ArgumentOutOfRangeException
Index and length must refer to a location within the string. (Parameter 'length')

System.ArgumentOutOfRangeException: Index and length must refer to a location within the string. (Parameter 'length')
at System.String.ThrowSubstringArgumentOutOfRange(Int32 startIndex, Int32 length)
at Corsinvest.ProxmoxVE.Admin.ReplicationTrend.Helper.PopulateDb(PveClient client, ModuleClusterOptions moduleClusterOptions, IRepository`1 replicationResultRepo, String clusterName) in /src/src/Corsinvest.ProxmoxVE.Admin.ReplicationTrend/Helper.cs:line 60
at Corsinvest.ProxmoxVE.Admin.ReplicationTrend.Helper.Scan(IServiceScope scope, String clusterName) in /src/src/Corsinvest.ProxmoxVE.Admin.ReplicationTrend/Helper.cs:line 31
at Corsinvest.ProxmoxVE.Admin.ReplicationTrend.Job.Scan(String clusterName) in /src/src/Corsinvest.ProxmoxVE.Admin.ReplicationTrend/Job.cs:line 16
at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Expected behavior

succeded

Relevant log output

Proxmox VE Version

8.3.3

Version (bug)

1.2.0

Version (working)

1.1

What browsers are you seeing the problem on?

Chrome

On what operating system are you experiencing the issue?

Linux

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct
@franklupo
Copy link
Member

Delete old job and retry

@tradeitsolutions
Copy link
Author

hi, thanks for your help. Ive upgraded 2 weeks ago and try to delete job many times without result. do i have to check something else ?

@franklupo
Copy link
Member

I'm investigating if there is a bug

@franklupo franklupo self-assigned this Feb 7, 2025
@franklupo
Copy link
Member

the replication fails on proxmox?

@tradeitsolutions
Copy link
Author

no, it seem ok

@franklupo
Copy link
Member

Hi,
could you attach the replication logs?

best regards

@tradeitsolutions
Copy link
Author

hi, in attach first 100 exported rows (5665 total) dome days ago i had a strage row with date 1970 but now i cannot find it

Jobs.xlsx

Image

@franklupo
Copy link
Member

log in proxmox

@tradeitsolutions
Copy link
Author

somethin like attached ?

logs.tar.gz

@tradeitsolutions
Copy link
Author

hi, perhaps i found the problem
there was 2 replication disabled but in progress to be removed. i deleted it and for now the error disappear

@franklupo
Copy link
Member

Hi,
wow many jobs had problems?

best regards

@tradeitsolutions
Copy link
Author

seem no real problems only error on scan jobs (see attached) if i requeue all run ok

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants