Giter Site home page Giter Site logo

corsinvest / cv4pve-admin Goto Github PK

View Code? Open in Web Editor NEW
126.0 126.0 12.0 15.96 MB

Corsinvest for Proxmox VE Web Admin Clusters - vCenter but for Proxmoxm VE

Home Page: https://www.corsinvest.it/cv4pve-admin

License: GNU Affero General Public License v3.0

PowerShell 0.60% HTML 41.53% C# 57.21% Smarty 0.56% Dockerfile 0.10%
admin admin-dashboard administration-interface autosnap cluster dashboard manager proxmox proxmox-ve qemu vcluster virtualization web

cv4pve-admin's People

Contributors

franklupo avatar matteocv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cv4pve-admin's Issues

Seems one of my Proxmox Nodes doesn't report properly, failing with "Sequence contains no elements"

Bug type

Other

Component name

No response

What happened?

Getting:

image

FYI: On this node I did install:

root@ai01:~# cv4pve-autosnap --version
1.14.8

should I remove this?

Expected behavior

Load Home

Relevant log output

Details:
at System.Linq.ThrowHelper.ThrowNoElementsException() at System.Linq.Enumerable.Average[TSource,TSelector,TAccumulator,TResult](IEnumerable`1 source, Func`2 selector) at Corsinvest.ProxmoxVE.Admin.Core.Models.ResourceUsage.GetUsages(IEnumerable`1 data, IStringLocalizer L) at Corsinvest.ProxmoxVE.Admin.ClusterStatus.Components.WidgetCluster.WidgetBase.OnInitializedAsync() at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync() at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)

Proxmox VE Version

7-4.14

Version (bug)

v1.0.0-rc.2

Version (working)

No response

What browsers are you seeing the problem on?

Firefox

On what operating system are you experiencing the issue?

Mac OSX, Linux

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

Improve documentation

Feature request type

Other

Component name

Any

Is your feature request related to a problem?

No response

Describe the solution you'd like

Improve documentation

Have you seen this feature anywhere else?

No response

Describe alternatives you've considered

No response

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

Darkmode

Bug type

Component

Component name

DarkModeChange

What happened?

I just downloaded it compile it and darkmode wont let me even see the web admin

Expected behavior

.

Relevant log output

[ERR] Unhandled exception in circuit 'psLOdUgUROQM3PnYFRD_H_9_bGIZvpEGdKpCFZdtiCg'.  anonymous <s:Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost>
Microsoft.JSInterop.JSException: Could not find 'darkModeChange' ('darkModeChange' was undefined).
Error: Could not find 'darkModeChange' ('darkModeChange' was undefined).

Proxmox VE Version

7.3.6

Version (bug)

v1.0.0-rc.3

Version (working)

No response

What browsers are you seeing the problem on?

Chrome, Safari

On what operating system are you experiencing the issue?

Windows

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

Recurring Jobs error

Bug type

Component

Component name

Recurring Jobs

What happened?

Hi.
I've installed latest version in docker , configured access to my pve cluster.
added few Recurring Jobs but somethink fails.
logs from recurring job attached below.

RecurringJobId | "Corsinvest.ProxmoxVE.Admin.Diagnostic.Job-pve-cluster"

how can diagnose this ?

Expected behavior

recurring job works as it should.

Relevant log output

2023-06-15 16:02:33.691 +02:00 [INF] Starting to perform job 3   <s:Corsinvest.AppHero.HangFire.LogJobFilter>                                                                                 
2023-06-15 16:02:33.700 +02:00 [INF] * Start Execute diagnostic cluster 'pve-cluster'   <s:Corsinvest.ProxmoxVE.Admin.Diagnostic.Helper>                                                      
2023-06-15 16:02:33.700 +02:00 [INF] * Start Collect data from cluster   <s:Corsinvest.ProxmoxVE.Admin.Diagnostic.Helper>                                                                     
2023-06-15 16:02:37.776 +02:00 [INF] * End Collect data from cluster Execution 00:00:04.0761700   <s:Corsinvest.ProxmoxVE.Admin.Diagnostic.Helper>                                            
2023-06-15 16:02:37.776 +02:00 [INF] * End Execute diagnostic cluster 'pve-cluster' Execution 00:00:04.0763198   <s:Corsinvest.ProxmoxVE.Admin.Diagnostic.Helper>                  
2023-06-15 16:02:37.777 +02:00 [INF] Job 3 has been performed   <s:Corsinvest.AppHero.HangFire.LogJobFilter>                                                                                  
2023-06-15 16:02:37.791 +02:00 [WRN] Job '3' has been failed due to an exception Newtonsoft.Json.JsonReaderException: Input string '1.04' is not a valid integer. Path '[0].dedup', line 1, po
sition 14.                                                                                                                                                                                    
   at Newtonsoft.Json.JsonTextReader.ParseReadNumber(ReadType readType, Char firstChar, Int32 initialPosition)                                  
   at Newtonsoft.Json.JsonTextReader.ReadNumberValue(ReadType readType)                                                                                                                       
   at Newtonsoft.Json.JsonTextReader.ReadAsInt32()                                                                                                                                            
   at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)                                                                                                     
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)             
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)                                                                                                                                  
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)                                                                                                                           
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)  
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)                                                                                                                           
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)                                                                                                  
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)                                                                                 
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)                                                                                         
   at Corsinvest.ProxmoxVE.Api.ResultExtension.ToModel[T](Result result)                                                                                                                      
   at Corsinvest.ProxmoxVE.Api.Extension.ModelsExtensionsAutoGen.Get(PveZfs item)                                                                                                             
   at Corsinvest.ProxmoxVE.Api.Extension.Utils.InfoHelper.ReadNodes(PveClient client, Boolean removeSecurity, Int32 tasksDay, Boolean tasksOnlyErrors, Boolean nodeReport)                    
   at Corsinvest.ProxmoxVE.Api.Extension.Utils.InfoHelper.Collect(PveClient client, Boolean removeSecurity, Int32 tasksDay, Boolean tasksOnlyErrors, Boolean nodeReport)                      
   at Corsinvest.ProxmoxVE.Admin.Diagnostic.Helper.Create(IServiceScope scope, String clusterName) in /src/src/Corsinvest.ProxmoxVE.Admin.Diagnostic/Helper.cs:line 128                       
   at Corsinvest.ProxmoxVE.Admin.Diagnostic.Job.Create(String clusterName) in /src/src/Corsinvest.ProxmoxVE.Admin.Diagnostic/Job.cs:line 17                                                   
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)                                                                                                                               
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)   <s:Corsinvest.AppHero.HangFire.LogJobFilter>

Proxmox VE Version

7.4

Version (bug)

v1.0.0-rc.1

Version (working)

No response

What browsers are you seeing the problem on?

Firefox

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

No definition for 'data'

Bug type

Component

Component name

Autosnap

What happened?

Tried using Snapshot

Expected behavior

Back up files

Relevant log output

2024-04-06 07:41:20.129 -05:00 [ERR] 'System.Dynamic.ExpandoObject' does not contain a definition for 'data'   <s:Corsinvest.ProxmoxVE.AutoSnap.Api.Application>
Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: 'System.Dynamic.ExpandoObject' does not contain a definition for 'data'

Proxmox VE Version

8.1

Version (bug)

1.1.0

Version (working)

No response

What browsers are you seeing the problem on?

Firefox

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

If enable background esecution show information

Bug type

Component

Component name

Any components use scheduler

What happened?

There is no info about background jobs

Expected behavior

Info about Job Background

Relevant log output

No response

Proxmox VE Version

Any

Version (bug)

0.0.5-beta

Version (working)

No response

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

PDF Export

Bug type

Component

Component name

Diagnostic

What happened?

Doesn't work

Expected behavior

Works

Relevant log output

No response

Proxmox VE Version

6.4

Version (bug)

1.0.0-rc.2

Version (working)

No response

What browsers are you seeing the problem on?

Chrome, Microsoft Edge

On what operating system are you experiencing the issue?

Windows, Linux

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

CV4PVE-ADMIN Install on CentOS 8

I installed CV4PVE-ADMIN on CentOS 8. However the Install is not working. I did use the Linux Instruction from the Guide CV4PVE-ADMIN v1.0.0-rc.3.

On the Services for CV4PVE-ADMIN I receive the Errors:

  1. cv4pve-admin.service: Failed to determine user credentials: No such process
  2. cv4pve-admin.service: Failed at step USER spawning /home/cv4pve-admin/Corsinvest.ProxmoxVE.Admin: No
    such process
  3. cv4pve-admin.service: Main process exited, code=exited, status=217/USER
  4. cv4pve-admin.service: Failed with result 'exit-code'.

This is the Code I used to Install:
wget https://github.com/Corsinvest/cv4pve-admin/releases/download/vXX.XX.XX/cv4pve-admin-linux-x64.zip
unzip /home/cv4pve-admin-linux-x64.zip -d /home/cv4pve-admin
chmod 777 /home/cv4pve-admin/Corsinvest.ProxmoxVE.Admin
chmod -R 0755 /home/cv4pve-admin/wwwroot

Use vi Editor to Edit:
/etc/systemd/system/cv4pve-admin.service

[Unit]
Description=cv4pve-admin Web Application
[Service]
WorkingDirectory=/home/cv4pve-admin
ExecStart=/home/cv4pve-admin/Corsinvest.ProxmoxVE.Admin
Restart=always
RestartSec=10
SyslogIdentifier=cv4pve-admin
User=www-data
Environment=ASPNETCORE_ENVIRONMENT=Production
[Install]
WantedBy=multi-user.target

Start the Service:
systemctl enable cv4pve-admin.service
systemctl start cv4pve-admin.service

I also tried with the Original VAR variables from the Guide however it is the same Errors.

Also, will CV4PVE-ADMIN install on FreeBSD?

Thanks,

Kenneth

Timeout connection

Feature request type

Other

Component name

Option cluster

Is your feature request related to a problem?

Error: timeout problem connection host 10.92.90.101 with port 8006 For more information, contact your system administrator

Describe the solution you'd like

Timeout cluster depend of connection example via vpn.
Create parameter timout for any cluster

Have you seen this feature anywhere else?

No response

Describe alternatives you've considered

No response

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

No HTTPS for CV4PVE-ADMIN

The URL for CV4PVE-ADMIN can only be HTTP? HTTPS will not work. I can not use
CV4PVE-ADMIN in a Live Business Environment if only HTTP is used to reach the URL for CV4PVE-ADMIN.

There also No Option to Turn OFF HTTP and Turn ON HTTPS or just use HTTPS completely.

When you try the URL with HTTPS, you will Receive the Error:
Secure Connection Failed
An error occurred during a connection to 192.168.1.143:5000. SSL received a record that exceeded the maximum permissible length.
Error code: SSL_ERROR_RX_RECORD_TOO_LONG
The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem.
Learn more…

I did also try Editing the the File appsettings.json and change "urls": "http://0.0.0.0:5000", to "urls": "https://0.0.0.0:5000",
however the Page will not come up.

This is a Great Tool however I can not use this in the Live Business Environment with the URL being HTTP due to the fact that anyone could SNIFF the Username and Password to the Tool since HTTP is Non Encrypted.

Thanks,
Kenneth

New job can't save

Bug type

Component

Component name

Autosnap

What happened?

Jobs - add new job can't save (show "The VmIds field is required." But I do this field entered)

Expected behavior

no

Relevant log output

No response

Proxmox VE Version

7.4.-3

Version (bug)

7.4.-3

Version (working)

No response

What browsers are you seeing the problem on?

Chrome, Microsoft Edge

On what operating system are you experiencing the issue?

Windows

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

Update GUI - english

Feature request type

Enhance component

Describe the solution you'd like

Update the wording on the GUI to better suit the applicable meaning.
For example:

**Creating an Auto Snapshot, the toggle options of
Vm Status = Include RAM
Only Runs = While VM/CT Running

**Menu>>Safe>>Node Protect
Schedulation not active! = [Scheduling / Schedule] not active!

**Menu>>Utilities>>Free Memory Node
Free Memory Node = Memory Cleanup

I'll add more as I pick them up.

Date/Time - Timezone set to UTC and shows AutoSnap next scheduled snapshot time not in my timezone

Feature request type

Enhance component

Component name

AutoSnap

Is your feature request related to a problem?

The time on the next run of Autosnap is showing 5 hours ahead of my time.

Describe the solution you'd like

I did some research and it appears cv4pve-admin uses UTC time. Is there a way to adjust in the settings my timezone so the next run time will be in my timezone.

Have you seen this feature anywhere else?

No response

Describe alternatives you've considered

No response

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

net7.0 does not exist

Bug type

Component

Component name

Net7.0

What happened?

I have Net7.0 installed but visual studio says I dont

Expected behavior

.

Relevant log output

No response

Proxmox VE Version

7.3.6

Version (bug)

v1.0.0-rc.3

Version (working)

No response

What browsers are you seeing the problem on?

Chrome

On what operating system are you experiencing the issue?

Windows

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

GetPveClient error! authentication failure

Bug type

Other

Component name

No response

What happened?

After logging into the web application, "nodes finder" and clicking "next" after giving my ProxMox VE Cluster address produces the error:
GetPveClient error! authentication failure

I have provided the correct root credentials, and I can access the Proxmox VE site from my pc.

Pinging the ProxMox VE Cluster from the provisioned VT returns OK.

Expected behavior

It should log in.

Relevant log output

No response

Proxmox VE Version

pve-manager/7.4-3/9002ab8a

Version (bug)

0.0.7-beta

Version (working)

No response

What browsers are you seeing the problem on?

Firefox

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

Replication Trend Link VzDump Trend

Bug type

Component

Component name

Replication Trend

What happened?

.

Expected behavior

New component like VzDump Trend for replication

Relevant log output

No response

Proxmox VE Version

6.4.0

Version (bug)

0.0.6-beta

Version (working)

No response

What browsers are you seeing the problem on?

No response

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

In docker not recognize new release avaible

Bug type

Other

Component name

Software Release

What happened?

The new version does not appear

Expected behavior

The new version appears

Relevant log output

No response

Proxmox VE Version

6.4.0

Version (bug)

0.0.6-beta

Version (working)

No response

What browsers are you seeing the problem on?

No response

On what operating system are you experiencing the issue?

Windows

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

Install on the PVE host will let PVE web can't access

Bug type

Other

Component name

No response

What happened?

1、install cv4pve-admin on PVE host
2、open PVE website(8006 port)
3、open cv4pve-admin(5000 port) and login.
4、refresh PVE website will get connect fail error.

If I use another browser will open PVE website success.when I restart browser and only access PVE website it is good.

Expected behavior

fix this bugs.

Relevant log output

No response

Proxmox VE Version

8.0.3

Version (bug)

1.0.0

Version (working)

No response

What browsers are you seeing the problem on?

Chrome, Microsoft Edge

On what operating system are you experiencing the issue?

Windows

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

Docker image 1.1.0 wont start

Bug type

Other

Component name

Docker

What happened?

Following the steps for preparing docker, i created the folder and file like mentioned in the documentation.
The container starts up and stops immediately.

Expected behavior

That the container would start.

Relevant log output

text  error  warn  system  array  login  

The command could not be loaded, possibly because:
  * You intended to execute a .NET application:
      The application 'Corsinvest.ProxmoxVE.Admin.dll' does not exist.
  * You intended to execute a .NET SDK command:
      No .NET SDKs were found.

Download a .NET SDK:
https://aka.ms/dotnet/download

Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found

** Press ANY KEY to close this window **

Proxmox VE Version

8.0

Version (bug)

1.1.0

Version (working)

No response

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

Who's using cv4pve-admin? 🥇

If you or your company uses cv4pve-admin, we would like to display this on our website.

Clusters Number:
Proxmox VE Version:
Host Number:
VM/CT Number:
Company (optional):
Only post your data/question here, please don't comment or ask questions.

Improve VzDump Trend

Feature request type

Enhance component

Component name

VzDump Trend

Is your feature request related to a problem?

Improve

Describe the solution you'd like

  • Change backcolor charts to transparent
  • Add search with highlight in log single vm/ct and full
  • Send mail if size/speed/duration is not normal respect history (add parameter to options)

Have you seen this feature anywhere else?

No response

Describe alternatives you've considered

No response

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

Slow loading "nodes update" on first install

Bug type

Component

Component name

Home

What happened?

the square loads the data after the others

Expected behavior

all at the same time

Relevant log output

No response

Proxmox VE Version

7.3

Version (bug)

1.0.0-rc.2

Version (working)

No response

What browsers are you seeing the problem on?

Microsoft Edge

On what operating system are you experiencing the issue?

Windows, Linux

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

Power Off/On Cluster Nodes

Feature request type

New component

Component name

No response

Is your feature request related to a problem?

No response

Describe the solution you'd like

Add a new section where you could power off/on your cluster's nodes.

Have you seen this feature anywhere else?

No response

Describe alternatives you've considered

No response

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

Cannot export excel/pdf file

Bug type

Component

Component name

Diagnostic

What happened?

Crash

Expected behavior

excel and pdf files

Relevant log output

No response

Proxmox VE Version

7.4

Version (bug)

0.0.4

Version (working)

No response

What browsers are you seeing the problem on?

No response

On what operating system are you experiencing the issue?

Windows, Mac OSX, Linux

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

Excel Export

Bug type

Component

Component name

No response

What happened?

In docker container
MicrosoftTeams-image (2)

Expected behavior

Excel File

Relevant log output

No response

Proxmox VE Version

6.4

Version (bug)

1.0.0-rc.1

Version (working)

No response

What browsers are you seeing the problem on?

No response

On what operating system are you experiencing the issue?

Windows

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

install cv4pve-admin on debian 11

Hi, do you have any suggestion on the below install issue on debian 11 / Proxmox 7.4-3:

root@machinex64:~/temp# systemctl status cv4pve-admin
● cv4pve-admin.service - cv4pve-admin Web Application
     Loaded: loaded (/etc/systemd/system/cv4pve-admin.service; enabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Thu 2023-05-11 16:43:12 CEST; 7s ago
    **Process: 744966 ExecStart=/var/cv4pve-admin/Corsinvest.ProxmoxVE.Admin (code=exited, status=159)**
   Main PID: 744966 (code=exited, status=159)
        CPU: 5ms

with the following error message:

DOTNET_BUNDLE_EXTRACT_BASE_DIR is not set, and a read-write cache directory couldn't be created.

as-per:

May 11 17:05:42 ai01 cv4pve-admin[791137]: Default extraction directory [/var/www] either doesn't exist or is not accessible for read/write.
May 11 17:05:42 ai01 cv4pve-admin[791137]: Failure processing application bundle.
May 11 17:05:42 ai01 cv4pve-admin[791137]: Failed to determine location for extracting embedded files.
May 11 17:05:42 ai01 cv4pve-admin[791137]: DOTNET_BUNDLE_EXTRACT_BASE_DIR is not set, and a read-write cache directory couldn't be created.
May 11 17:05:42 ai01 systemd[1]: cv4pve-admin.service: Main process exited, code=exited, status=159/n/a
May 11 17:05:42 ai01 systemd[1]: cv4pve-admin.service: Failed with result 'exit-code'.

my breadcrums:

1.) Install cv4pve-admin:Code:

apt update && apt install unzip wget
cd /temp
wget https://github.com/Corsinvest/cv4pve-admin/releases/download/v0.0.2-beta/cv4pve-admin-linux-x64.zip
unzip /temp/cv4pve-admin-linux-x64.zip -d /var/cv4pve-admin
chmod 777 /var/cv4pve-admin/Corsinvest.ProxmoxVE.Admin

and created /etc/systemd/system/cv4pve-admin.service:

[Unit]
Description=cv4pve-admin Web Application
[Service]
WorkingDirectory=/var/cv4pve-admin
ExecStart=/var/cv4pve-admin/Corsinvest.ProxmoxVE.Admin
Restart=always
RestartSec=10
SyslogIdentifier=cv4pve-admin
User=www-data
Environment=ASPNETCORE_ENVIRONMENT=Production
[Install]
WantedBy=multi-user.target

followed by:

systemctl enable cv4pve-admin
systemctl start cv4pve-admin

Now I expect the pve-admin is running but i can not access the application through ip with port 5000 /5001. The web interface can be reached via https://youripaddress:5000/ (default login is: admin@local, and the password is Password123!).

Can not get nvme disk status In Utilities->Disks Status

Bug type

Component

Component name

Disk Status

What happened?

image image

Expected behavior

show correct smart info for nvme disk

Relevant log output

2024-04-19 15:23:41.773 +08:00 [ERR]  192.168.88.159 admin@local
System.ArgumentNullException: Value cannot be null. (Parameter 'source')
   at System.ArgumentNullException.Throw(String paramName)
   at System.Linq.Queryable.AsQueryable[TElement](IEnumerable`1 source)
   at Corsinvest.AppHero.Core.MudBlazorUI.Shared.Components.DataGrid.DataGridManager`1.LoadServerData(GridState`1 state)
   at MudBlazor.MudDataGrid`1.InvokeServerLoadFunc()
   at MudBlazor.MudDataGrid`1.OnAfterRenderAsync(Boolean firstRender)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
2024-04-19 15:23:41.774 +08:00 [WRN] Unhandled exception rendering component: Value cannot be null. (Parameter 'source') 192.168.88.159 admin@local
System.ArgumentNullException: Value cannot be null. (Parameter 'source')
   at System.ArgumentNullException.Throw(String paramName)
   at System.Linq.Queryable.AsQueryable[TElement](IEnumerable`1 source)
   at Corsinvest.AppHero.Core.MudBlazorUI.Shared.Components.DataGrid.DataGridManager`1.LoadServerData(GridState`1 state)
   at MudBlazor.MudDataGrid`1.InvokeServerLoadFunc()
   at MudBlazor.MudDataGrid`1.OnAfterRenderAsync(Boolean firstRender)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
2024-04-19 15:23:41.775 +08:00 [ERR] Value cannot be null. (Parameter 'source') 192.168.88.159 admin@local
System.ArgumentNullException: Value cannot be null. (Parameter 'source')
   at System.ArgumentNullException.Throw(String paramName)
   at System.Linq.Queryable.AsQueryable[TElement](IEnumerable`1 source)
   at Corsinvest.AppHero.Core.MudBlazorUI.Shared.Components.DataGrid.DataGridManager`1.LoadServerData(GridState`1 state)
   at MudBlazor.MudDataGrid`1.InvokeServerLoadFunc()
   at MudBlazor.MudDataGrid`1.OnAfterRenderAsync(Boolean firstRender)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)

Proxmox VE Version

8.1

Version (bug)

1.1.0

Version (working)

no

What browsers are you seeing the problem on?

Chrome

On what operating system are you experiencing the issue?

Mac OSX

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

WebHook notification

Bug type

Component

Component name

WebHook Notification

What happened?

Doesn't work as expected, furthermore, the test failed

wh_err

P.S. set credential input (if required by service)

Expected behavior

should works

Relevant log output

No response

Proxmox VE Version

7.3

Version (bug)

1.0.0-rc.2

Version (working)

No response

What browsers are you seeing the problem on?

Chrome, Microsoft Edge

On what operating system are you experiencing the issue?

Windows, Linux

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

Corsinvest.ProxmoxVE.Admin.Diagnostic.Job-pve-cluster error

Bug type

Component

Component name

Corsinvest.ProxmoxVE.Admin.Diagnostic.Job-pve-cluster

What happened?

after enabled scheduled job Corsinvest.ProxmoxVE.Admin.Diagnostic.Job-pve-cluster there is a error.

Expected behavior

job finish ok.

Relevant log output

2023-06-19 08:20:58.348 +02:00 [INF] Job 193 has been performed   <s:Corsinvest.AppHero.HangFire.LogJobFilter>                                                                                
2023-06-19 08:20:58.363 +02:00 [WRN] Job '193' has been failed due to an exception System.NullReferenceException: Object reference not set to an instance of an object.                       
   at Corsinvest.ProxmoxVE.Diagnostic.Api.Application.<>c__9`2.<CheckCommonVm>b__9_4(ClusterBackup a)                                                                                         
   at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()                                                                                                                    
   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)                                                                                                             
   at Corsinvest.ProxmoxVE.Diagnostic.Api.Application.CheckCommonVm[TDetail,TConfig](Info info, List`1 result, SettingsThresholdHost thresholdHost, VmBaseInfo`2 vm, DiagnosticResultContext c
ontext, NodeInfo node, String id)                                                                                                                                                             
   at Corsinvest.ProxmoxVE.Diagnostic.Api.Application.CheckQemu(Info info, List`1 result, IEnumerable`1 resources, Settings settings)                                                         
   at Corsinvest.ProxmoxVE.Diagnostic.Api.Application.Analyze(Info info, Settings settings, List`1 ignoredIssues)                                                                             
   at Corsinvest.ProxmoxVE.Admin.Diagnostic.Helper.Analyze(ExecutionData executionData, ModuleClusterOptions moduleClusterOptions, IEnumerable`1 ignoreIssues) in /src/src/Corsinvest.ProxmoxV
E.Admin.Diagnostic/Helper.cs:line 71                                                                                                                                                          
   at Corsinvest.ProxmoxVE.Admin.Diagnostic.Helper.Create(IServiceScope scope, String clusterName) in /src/src/Corsinvest.ProxmoxVE.Admin.Diagnostic/Helper.cs:line 128                       
   at Corsinvest.ProxmoxVE.Admin.Diagnostic.Job.Create(String clusterName) in /src/src/Corsinvest.ProxmoxVE.Admin.Diagnostic/Job.cs:line 16                                                   
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)                                                                                                                               
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)   <s:Corsinvest.AppHero.HangFire.LogJobFilter>                                                
2023-06-19 08:20:58.376 +02:00 [WRN] Failed to process the job '193': an exception occurred. Retry attempt 1 of 10 will be performed in 00:00:24.   <s:Hangfire.AutomaticRetryAttribute>      
System.NullReferenceException: Object reference not set to an instance of an object.                                                                                                          
   at Corsinvest.ProxmoxVE.Diagnostic.Api.Application.<>c__9`2.<CheckCommonVm>b__9_4(ClusterBackup a)                                                                                         
   at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()                                                                                                                    
   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)                                                                                                             
   at Corsinvest.ProxmoxVE.Diagnostic.Api.Application.CheckCommonVm[TDetail,TConfig](Info info, List`1 result, SettingsThresholdHost thresholdHost, VmBaseInfo`2 vm, DiagnosticResultContext c
ontext, NodeInfo node, String id)                                                                                                                                                             
   at Corsinvest.ProxmoxVE.Diagnostic.Api.Application.CheckQemu(Info info, List`1 result, IEnumerable`1 resources, Settings settings)                                                         
   at Corsinvest.ProxmoxVE.Diagnostic.Api.Application.Analyze(Info info, Settings settings, List`1 ignoredIssues)                                                                             
   at Corsinvest.ProxmoxVE.Admin.Diagnostic.Helper.Analyze(ExecutionData executionData, ModuleClusterOptions moduleClusterOptions, IEnumerable`1 ignoreIssues) in /src/src/Corsinvest.ProxmoxV
E.Admin.Diagnostic/Helper.cs:line 71                                                                                                                                                          
   at Corsinvest.ProxmoxVE.Admin.Diagnostic.Helper.Create(IServiceScope scope, String clusterName) in /src/src/Corsinvest.ProxmoxVE.Admin.Diagnostic/Helper.cs:line 128                       
   at Corsinvest.ProxmoxVE.Admin.Diagnostic.Job.Create(String clusterName) in /src/src/Corsinvest.ProxmoxVE.Admin.Diagnostic/Job.cs:line 16                                                   
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)                                                                                                                                  at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Proxmox VE Version

7.4

Version (bug)

1.0.0-rc.2

Version (working)

No response

What browsers are you seeing the problem on?

Firefox

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

Options Module

Bug type

Component

Component name

Options

What happened?

when I go into settings and click the "save" button it doesn't stay in the current section but takes me back to "general"

Expected behavior

stay in the section I just saved

Relevant log output

No response

Proxmox VE Version

7.3-3

Version (bug)

1.0.0-rc.2

Version (working)

No response

What browsers are you seeing the problem on?

Chrome, Microsoft Edge

On what operating system are you experiencing the issue?

Windows, Linux

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

Job run in Utc TimeZone

Bug type

Other

Component name

Background Job

What happened?

Jobs are scheduled in Utc TimeZone

Expected behavior

Jobs are scheduled in Local TimeZone

Relevant log output

No response

Proxmox VE Version

6.4.0

Version (bug)

0.0.5-beta

Version (working)

No response

What browsers are you seeing the problem on?

Chrome, Other

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

Disgnostic export pdf

Bug type

Component

Component name

DIAGNOSTIC

What happened?

MicrosoftTeams-image (3)

Expected behavior

PDF OUTPUT

Relevant log output

No response

Proxmox VE Version

6.4

Version (bug)

1.0.0-rc.1

Version (working)

No response

What browsers are you seeing the problem on?

Chrome, Microsoft Edge

On what operating system are you experiencing the issue?

Windows

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

systemctl start cv4pve-admin bug.

Bug type

Other

Component name

No response

What happened?

I run command with https://htmlpreview.github.io/?https://github.com/Corsinvest/cv4pve-admin/blob/main/src/Corsinvest.ProxmoxVE.Admin/wwwroot/doc/index.html#chapter_installation_update (The "Linux Configure Service")
and I also put cv4pve-admin files in the "/var/cv4pve-admin" path.
when I run "systemctl start cv4pve-admin" I got error with "journalctl -u cv4pve-admin".

Expected behavior

the error log is:

Aug 14 19:21:23 hbscpve systemd[1]: Started cv4pve-admin.service - cv4pve-admin Web Application.
Aug 14 19:21:23 hbscpve cv4pve-admin[3865485]: Default extraction directory [/var/www] either doesn't exist or is not accessible for read/write.
Aug 14 19:21:23 hbscpve cv4pve-admin[3865485]: Failure processing application bundle.
Aug 14 19:21:23 hbscpve cv4pve-admin[3865485]: Failed to determine location for extracting embedded files.
Aug 14 19:21:23 hbscpve cv4pve-admin[3865485]: DOTNET_BUNDLE_EXTRACT_BASE_DIR is not set, and a read-write cache directory couldn't be created.
Aug 14 19:21:23 hbscpve systemd[1]: cv4pve-admin.service: Main process exited, code=exited, status=159/n/a
Aug 14 19:21:23 hbscpve systemd[1]: cv4pve-admin.service: Failed with result 'exit-code'.
Aug 14 19:21:33 hbscpve systemd[1]: cv4pve-admin.service: Scheduled restart job, restart counter is at 104.
Aug 14 19:21:33 hbscpve systemd[1]: Stopped cv4pve-admin.service - cv4pve-admin Web Application.
Aug 14 19:21:33 hbscpve systemd[1]: Started cv4pve-admin.service - cv4pve-admin Web Application.
Aug 14 19:21:33 hbscpve cv4pve-admin[3865514]: Default extraction directory [/var/www] either doesn't exist or is not accessible for read/write.
Aug 14 19:21:33 hbscpve cv4pve-admin[3865514]: Failure processing application bundle.
Aug 14 19:21:33 hbscpve cv4pve-admin[3865514]: Failed to determine location for extracting embedded files.
Aug 14 19:21:33 hbscpve cv4pve-admin[3865514]: DOTNET_BUNDLE_EXTRACT_BASE_DIR is not set, and a read-write cache directory couldn't be created.
Aug 14 19:21:33 hbscpve systemd[1]: cv4pve-admin.service: Main process exited, code=exited, status=159/n/a
Aug 14 19:21:33 hbscpve systemd[1]: cv4pve-admin.service: Failed with result 'exit-code'.
Aug 14 19:21:43 hbscpve systemd[1]: cv4pve-admin.service: Scheduled restart job, restart counter is at 105.
Aug 14 19:21:43 hbscpve systemd[1]: Stopped cv4pve-admin.service - cv4pve-admin Web Application.

Relevant log output

No response

Proxmox VE Version

8.0.3

Version (bug)

1.0.1

Version (working)

No response

What browsers are you seeing the problem on?

Microsoft Edge

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

Diagnostic Notifications

Bug type

Component

Component name

Diagnostic

What happened?

Notification channel doesn't work as expected

Expected behavior

report via email

Relevant log output

No response

Proxmox VE Version

7.3

Version (bug)

1.0.0-rc.2

Version (working)

No response

What browsers are you seeing the problem on?

Chrome, Microsoft Edge

On what operating system are you experiencing the issue?

Windows, Linux

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

User creation password system only works when entering password, making password manager useless

Bug type

Other

Component name

No response

What happened?

I created a new user (in cv4pve-admin), when I got to the password, I copied in a 42 character random password generated by 1Password. When I tried to create the user, it get:

PasswordTooShort - Passwords must be at least 6 characters. PasswordRequiresUniqueChars - Passwords must use at least 1 different characters.

This is the password used: !eHP2peChN6ysjs4RtD-KybhE9zH89HD-ddmpP_Tb.

When creating a new user, you MUST enter the password by hand or add a space to the end then delete it for the password to be accepted. This is not a standard way to check password length.

I experience the same issue (no error, just won't let you change the password) when changing the password from the user list option.

Expected behavior

I expected to be able to paste the password in and it work

Relevant log output

PasswordTooShort - Passwords must be at least 6 characters. PasswordRequiresUniqueChars - Passwords must use at least 1 different characters.

Proxmox VE Version

8.0.4

Version (bug)

1.0.2

Version (working)

No response

What browsers are you seeing the problem on?

Firefox, Chrome, Other

On what operating system are you experiencing the issue?

Windows, Linux

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

Health Check is giving false flags

Bug type

Component

Component name

Health -> Diagnostic

What happened?

Hello,

I recently found this and am starting to play around with it to understand how useful it can be. I appreciate your hard work.

I found some issues that I wanted to bring to your attention.

I ran a health check under Health -> Diagnostic. When I looked at the PDF that was generated, I noticed many minor issues that were incorrect.

False Flags:

  • cv4pve-autosnap is not configured.
    • It is and it is running just fine. I even tested a recovery with them.
  • Service 'syslog.service' not running
    • Proxmox 8 uses journald so this is not applicable
  • Disk '/dev/sda' S.M.A.R.T. status problem
    • This one is a bit tricky. I have a hardware RAID that is on a Dell server so it is using megaraid. This may be a Proxmox issue and I haven't identified this yet but I use other tools for SMART. So I should probably just ignore this one.
  • Disk ssd '/dev/sda' wearout not valid.
    • May be related to the above SMART issue.
  • Image Orphaned 4 MB file vm-100-disk-2
    • I have this for every TPM disk. These are not orphaned and are used. I have 5 VMs using TPM so all 5 give this error.

One more thing to note, the PDF is 2 pages but only 1 page was enough. The second page is empty with just header and footer. Not an issue really, just an FYI.

Expected behavior

While the SMART issues I expected, the other issues I did not.

While the report is useful, with the false flags, this is not something I would run again until further updates are provided.

Relevant log output

No response

Proxmox VE Version

8.1.3

Version (bug)

8.1.3

Version (working)

No response

What browsers are you seeing the problem on?

Firefox, Chrome

On what operating system are you experiencing the issue?

Windows, Linux

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

App Crash Randomnly on Windows Machine

Bug type

Other

Component name

No response

What happened?

The App randomnly crashes on the window machine.

logs.zip

Expected behavior

The App randomnly crashes on the window machine.

Relevant log output

No response

Proxmox VE Version

7.x.x

Version (bug)

1.0.1

Version (working)

No response

What browsers are you seeing the problem on?

Chrome

On what operating system are you experiencing the issue?

Windows

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

Docker said: latest not found: manifest unknown: manifest unknown

Bug type

Other

Component name

No response

What happened?

Tried to used the docker but got error

Expected behavior

Expected to get the app up and running.

Relevant log output

docker pull corsinvest/cv4pve-admin
Using default tag: latest
Error response from daemon: manifest for corsinvest/cv4pve-admin:latest not found: manifest unknown: manifest unknown

Proxmox VE Version

7

Version (bug)

v0.0.7-beta

Version (working)

No response

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

Hello,I want know how to reset my password

Feature request type

Other

Component name

No response

Is your feature request related to a problem?

No response

Describe the solution you'd like

Hello, I have deployed cve-admin on Docker, but I have forgotten the login password and I haven't configured any email-related services. Could you please tell me how to reset the password within the Docker container?

Have you seen this feature anywhere else?

No response

Describe alternatives you've considered

No response

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.