Corsinvest / cv4pve-admin

Corsinvest for Proxmox VE Web Admin Clusters - vCenter but for Proxmoxm VE
https://www.corsinvest.it/cv4pve-admin
GNU Affero General Public License v3.0
183 stars 19 forks source link

CV4PVE-ADMIN Install on CentOS 8 #66

Closed kenrmayfield closed 6 months ago

kenrmayfield commented 1 year ago

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

franklupo commented 1 year ago

Does the software work if done manually?

best regards

kenrmayfield commented 1 year ago

Frank,

What do you mean by Done Manually? Can you please Explain?

Is the Code that I Sent in the Previous Posting Correct?

Also, will CV4PVE-ADMIN install on FreeBSD?

Thanks, Kenneth

franklupo commented 1 year ago

If you try to run it from shell does it work? Yes, the creation of service in Ubuntu or Debian is correct.

kenrmayfield commented 1 year ago

Yes I did Run from the Shell. My Original First Message was done with the Shell. It does not work. I am using CentOS 8 from Shell.

Also, will CV4PVE-ADMIN install on FreeBSD?

matteocv commented 1 year ago

Hello @kenrmayfield,

Could you try to go inside /home/cv4pve-admin and run ./Corsinvest.ProxmoxVE.Admin ?

Do you get an error?

matteocv commented 1 year ago

Hello @kenrmayfield, did you tried?

kenrmayfield commented 1 year ago

Matteo,

The Services have a Problem: [root@localhost /]# systemctl status cv4pve-admin ● cv4pve-admin.service - cv4pve-admin Web Application Loaded: loaded (/etc/systemd/system/cv4pve-admin.service; enabled; vendor preset: disabled) Active: activating (auto-restart) (thawing) (Result: exit-code) since Thu 2023-07-06 21:14:40 EDT; 4s ago Process: 5346 ExecStart=/var/cv4pve-admin/Corsinvest.ProxmoxVE.Admin (code=exited, status=217/USER) Main PID: 5346 (code=exited, status=217/USER)

I did run ./Corsinvest.ProxmoxVE.Admin which Resulted with this Output: [root@localhost cv4pve-admin]# ./Corsinvest.ProxmoxVE.Admin 2023-07-06 21:41:37.683 -04:00 [INF] Start cv4pve-admin.... 2023-07-06 21:41:38.952 -04:00 [INF] Start Load Plugins... 2023-07-06 21:41:47.231 -04:00 [INF] Add Plugin from Folder /root/.net/Corsinvest.ProxmoxVE.Admin/OzUgcZV+BpMFbTzh7eeGw_BeNx4nSXQ=/ Execution 00:00:08.2461861 2023-07-06 21:41:47.260 -04:00 [INF] Start Initialize Modules.. 2023-07-06 21:41:47.292 -04:00 [INF] Module Corsinvest.AppHero.Auditing.Module@0.0.106.0 2023-07-06 21:41:47.298 -04:00 [INF] Module Corsinvest.AppHero.Auditing.MudBlazorUI.Module@0.0.106.0 2023-07-06 21:41:47.303 -04:00 [INF] Module Corsinvest.AppHero.Core.Session.Module@0.0.106.0 2023-07-06 21:41:47.317 -04:00 [INF] Module Corsinvest.AppHero.Core.Security.Module@0.0.106.0 2023-07-06 21:41:47.446 -04:00 [INF] Module Corsinvest.AppHero.Core.Options.Module@0.0.106.0 2023-07-06 21:41:47.449 -04:00 [INF] Module Corsinvest.AppHero.Core.Notification.Module@0.0.106.0 2023-07-06 21:41:47.451 -04:00 [INF] Module Corsinvest.AppHero.Core.Notification.WebHook.Module@0.0.106.0 2023-07-06 21:41:47.495 -04:00 [INF] Module Corsinvest.AppHero.Core.Notification.Email.Module@0.0.106.0 2023-07-06 21:41:47.538 -04:00 [INF] Module Corsinvest.AppHero.Core.Modularity.Module@0.0.106.0 2023-07-06 21:41:47.540 -04:00 [INF] Module Corsinvest.AppHero.Core.Hubs.Module@0.0.106.0 2023-07-06 21:41:47.543 -04:00 [INF] Module Corsinvest.AppHero.Core.Emailing.Module@0.0.106.0 2023-07-06 21:41:47.599 -04:00 [INF] Module Corsinvest.AppHero.Core.MudBlazorUI.Module@0.0.106.0 2023-07-06 21:41:47.875 -04:00 [INF] Module Corsinvest.AppHero.HangFire.Module@0.0.106.0 2023-07-06 21:41:47.942 -04:00 [INF] For more Hangfire storage, visit https://www.hangfire.io/extensions.html 2023-07-06 21:41:47.976 -04:00 [INF] Module Corsinvest.AppHero.Localization.Module@0.0.106.0 2023-07-06 21:41:48.048 -04:00 [INF] Module Corsinvest.AppHero.Localization.MudBlazorUI.Module@0.0.106.0 2023-07-06 21:41:48.050 -04:00 [INF] Module Corsinvest.AppHero.Notification.Telegram.Module@0.0.106.0 2023-07-06 21:41:48.117 -04:00 [INF] Module Corsinvest.AppHero.Serilog.Module@0.0.106.0 2023-07-06 21:41:48.119 -04:00 [INF] Module Corsinvest.AppHero.Translation.Microsoft.Module@0.0.106.0 2023-07-06 21:41:48.161 -04:00 [INF] Module Corsinvest.AppHero.Translation.Google.Module@0.0.106.0 2023-07-06 21:41:48.209 -04:00 [INF] Module Corsinvest.ProxmoxVE.Admin.AutoSnap.Module@1.0.0.0 2023-07-06 21:41:48.266 -04:00 [INF] Module Corsinvest.ProxmoxVE.Admin.Botgram.Module@1.0.0.0 2023-07-06 21:41:48.318 -04:00 [INF] Module Corsinvest.ProxmoxVE.Admin.ClusterStatus.Module@1.0.0.0 2023-07-06 21:41:48.370 -04:00 [INF] Module Corsinvest.ProxmoxVE.Admin.ClusterUsage.Module@1.0.0.0 2023-07-06 21:41:48.423 -04:00 [INF] Module Corsinvest.ProxmoxVE.Admin.Core.ModuleCore@1.0.0.0 2023-07-06 21:41:48.435 -04:00 [INF] Module Corsinvest.ProxmoxVE.Admin.Core.Options.Module@1.0.0.0 2023-07-06 21:41:48.472 -04:00 [INF] Module Corsinvest.ProxmoxVE.Admin.Diagnostic.Module@1.0.0.0 2023-07-06 21:41:48.535 -04:00 [INF] Module Corsinvest.ProxmoxVE.Admin.DisksStatus.Module@1.0.0.0 2023-07-06 21:41:48.538 -04:00 [INF] Module Corsinvest.ProxmoxVE.Admin.MetricsExporter.Module@1.0.0.0 2023-07-06 21:41:48.599 -04:00 [INF] Module Corsinvest.ProxmoxVE.Admin.NodeFreeMemory.Module@1.0.0.0 2023-07-06 21:41:48.604 -04:00 [INF] Module Corsinvest.ProxmoxVE.Admin.NodeProtect.Module@1.0.0.0 2023-07-06 21:41:48.665 -04:00 [INF] Module Corsinvest.ProxmoxVE.Admin.QemuMonitor.Module@1.0.0.0 2023-07-06 21:41:48.669 -04:00 [INF] Module Corsinvest.ProxmoxVE.Admin.VmUnlock.Module@1.0.0.0 2023-07-06 21:41:48.674 -04:00 [INF] Module Corsinvest.ProxmoxVE.Admin.VzDumpTrend.Module@1.0.0.0 2023-07-06 21:41:48.772 -04:00 [INF] End Initialize Modules.. Execution 00:00:01.5120918 2023-07-06 21:41:48.773 -04:00 [INF] End Load Plugins... Execution 00:00:09.8017728 2023-07-06 21:41:48.933 -04:00 [INF] Automatic load service IExcelWriter implementation ExcelWriter lifetime Transient 2023-07-06 21:41:48.953 -04:00 [INF] Automatic load service IFileStorageService implementation FileStorageService lifetime Transient 2023-07-06 21:41:48.953 -04:00 [INF] Automatic load service IIdentityService implementation IdentityService lifetime Transient 2023-07-06 21:41:48.954 -04:00 [INF] Automatic load service INotificationService implementation NotificationService lifetime Transient 2023-07-06 21:41:48.954 -04:00 [INF] Automatic load service IEmailTemplateService implementation EmailTemplateService lifetime Transient 2023-07-06 21:41:48.955 -04:00 [INF] Automatic load service IMailService implementation SmtpMailService lifetime Transient 2023-07-06 21:41:51.068 -04:00 [INF] Automatic load service ICurrentUserService implementation CurrentUserService lifetime Scoped 2023-07-06 21:41:51.075 -04:00 [INF] Automatic load service IPveClientService implementation PveClientService lifetime Scoped 2023-07-06 21:41:51.076 -04:00 [INF] Automatic load service IPveUtilityService implementation PveUtilityService lifetime Scoped 2023-07-06 21:41:51.076 -04:00 [INF] Automatic load service ISshService implementation SshService lifetime Scoped 2023-07-06 21:41:51.990 -04:00 [INF] Add GitHubReleaseService 2023-07-06 21:41:54.901 -04:00 [WRN] The property 'AuditTrail.NewValues' is a collection or enumeration type with a value converter but with no value comparer. Set a value comparer to ensure the collection/enumeration elements are compared correctly. 2023-07-06 21:41:54.920 -04:00 [WRN] The property 'AuditTrail.OldValues' is a collection or enumeration type with a value converter but with no value comparer. Set a value comparer to ensure the collection/enumeration elements are compared correctly. 2023-07-06 21:41:54.920 -04:00 [WRN] The property 'AuditTrail.PrimaryKey' is a collection or enumeration type with a value converter but with no value comparer. Set a value comparer to ensure the collection/enumeration elements are compared correctly. 2023-07-06 21:41:55.824 -04:00 [INF] Starting Detection version 7.4.0.0 2023-07-06 21:41:55.844 -04:00 [INF] Configure Pre module: Corsinvest.AppHero.Auditing.Module@0.0.106.0 2023-07-06 21:41:55.846 -04:00 [INF] Configure Pre module: Corsinvest.AppHero.Auditing.MudBlazorUI.Module@0.0.106.0 2023-07-06 21:41:55.847 -04:00 [INF] Configure Pre module: Corsinvest.AppHero.Core.Session.Module@0.0.106.0 2023-07-06 21:41:55.847 -04:00 [INF] Configure Pre module: Corsinvest.AppHero.Core.Security.Module@0.0.106.0 2023-07-06 21:41:55.860 -04:00 [INF] Initialize Security db 2023-07-06 21:41:58.856 -04:00 [INF] Configure Pre module: Corsinvest.AppHero.Core.Options.Module@0.0.106.0 2023-07-06 21:41:58.856 -04:00 [INF] Configure Pre module: Corsinvest.AppHero.Core.Notification.Module@0.0.106.0 2023-07-06 21:41:58.857 -04:00 [INF] Configure Pre module: Corsinvest.AppHero.Core.Notification.WebHook.Module@0.0.106.0 2023-07-06 21:41:58.857 -04:00 [INF] Configure Pre module: Corsinvest.AppHero.Core.Notification.Email.Module@0.0.106.0 2023-07-06 21:41:58.857 -04:00 [INF] Configure Pre module: Corsinvest.AppHero.Core.Modularity.Module@0.0.106.0 2023-07-06 21:41:58.857 -04:00 [INF] Configure Pre module: Corsinvest.AppHero.Core.Hubs.Module@0.0.106.0 2023-07-06 21:41:58.857 -04:00 [INF] Configure Pre module: Corsinvest.AppHero.Core.Emailing.Module@0.0.106.0 2023-07-06 21:41:58.858 -04:00 [INF] Configure Pre module: Corsinvest.AppHero.Core.MudBlazorUI.Module@0.0.106.0 2023-07-06 21:41:58.858 -04:00 [INF] Configure Pre module: Corsinvest.AppHero.HangFire.Module@0.0.106.0 2023-07-06 21:41:58.858 -04:00 [INF] Configure Pre module: Corsinvest.AppHero.Localization.Module@0.0.106.0 2023-07-06 21:41:58.858 -04:00 [INF] Configure Pre module: Corsinvest.AppHero.Localization.MudBlazorUI.Module@0.0.106.0 2023-07-06 21:41:58.859 -04:00 [INF] Configure Pre module: Corsinvest.AppHero.Notification.Telegram.Module@0.0.106.0 2023-07-06 21:41:58.859 -04:00 [INF] Configure Pre module: Corsinvest.AppHero.Serilog.Module@0.0.106.0 2023-07-06 21:41:58.859 -04:00 [INF] Configure Pre module: Corsinvest.AppHero.Translation.Microsoft.Module@0.0.106.0 2023-07-06 21:41:58.859 -04:00 [INF] Configure Pre module: Corsinvest.AppHero.Translation.Google.Module@0.0.106.0 2023-07-06 21:41:58.859 -04:00 [INF] Configure Pre module: Corsinvest.ProxmoxVE.Admin.AutoSnap.Module@1.0.0.0 2023-07-06 21:41:58.859 -04:00 [INF] Configure Pre module: Corsinvest.ProxmoxVE.Admin.Botgram.Module@1.0.0.0 2023-07-06 21:41:58.860 -04:00 [INF] Configure Pre module: Corsinvest.ProxmoxVE.Admin.ClusterStatus.Module@1.0.0.0 2023-07-06 21:41:58.860 -04:00 [INF] Configure Pre module: Corsinvest.ProxmoxVE.Admin.ClusterUsage.Module@1.0.0.0 2023-07-06 21:41:58.860 -04:00 [INF] Configure Pre module: Corsinvest.ProxmoxVE.Admin.Core.ModuleCore@1.0.0.0 2023-07-06 21:41:58.865 -04:00 [INF] Configure Pre module: Corsinvest.ProxmoxVE.Admin.Core.Options.Module@1.0.0.0 2023-07-06 21:41:58.866 -04:00 [INF] Configure Pre module: Corsinvest.ProxmoxVE.Admin.Diagnostic.Module@1.0.0.0 2023-07-06 21:41:58.866 -04:00 [INF] Configure Pre module: Corsinvest.ProxmoxVE.Admin.DisksStatus.Module@1.0.0.0 2023-07-06 21:41:58.866 -04:00 [INF] Configure Pre module: Corsinvest.ProxmoxVE.Admin.MetricsExporter.Module@1.0.0.0 2023-07-06 21:41:58.866 -04:00 [INF] Configure Pre module: Corsinvest.ProxmoxVE.Admin.NodeFreeMemory.Module@1.0.0.0 2023-07-06 21:41:58.866 -04:00 [INF] Configure Pre module: Corsinvest.ProxmoxVE.Admin.NodeProtect.Module@1.0.0.0 2023-07-06 21:41:58.867 -04:00 [INF] Configure Pre module: Corsinvest.ProxmoxVE.Admin.QemuMonitor.Module@1.0.0.0 2023-07-06 21:41:58.867 -04:00 [INF] Configure Pre module: Corsinvest.ProxmoxVE.Admin.VmUnlock.Module@1.0.0.0 2023-07-06 21:41:58.867 -04:00 [INF] Configure Pre module: Corsinvest.ProxmoxVE.Admin.VzDumpTrend.Module@1.0.0.0 2023-07-06 21:41:58.878 -04:00 [INF] Configure Normal module: Corsinvest.AppHero.Auditing.Module@0.0.106.0 2023-07-06 21:41:58.880 -04:00 [INF] Configure Normal module: Corsinvest.AppHero.Auditing.MudBlazorUI.Module@0.0.106.0 2023-07-06 21:41:58.886 -04:00 [INF] Configure Normal module: Corsinvest.AppHero.Core.Session.Module@0.0.106.0 2023-07-06 21:41:58.886 -04:00 [INF] Configure Normal module: Corsinvest.AppHero.Core.Security.Module@0.0.106.0 2023-07-06 21:41:58.889 -04:00 [INF] Configure Normal module: Corsinvest.AppHero.Core.Options.Module@0.0.106.0 2023-07-06 21:41:58.890 -04:00 [INF] Configure Normal module: Corsinvest.AppHero.Core.Notification.Module@0.0.106.0 2023-07-06 21:41:58.890 -04:00 [INF] Configure Normal module: Corsinvest.AppHero.Core.Notification.WebHook.Module@0.0.106.0 2023-07-06 21:41:58.890 -04:00 [INF] Configure Normal module: Corsinvest.AppHero.Core.Notification.Email.Module@0.0.106.0 2023-07-06 21:41:58.890 -04:00 [INF] Configure Normal module: Corsinvest.AppHero.Core.Modularity.Module@0.0.106.0 2023-07-06 21:41:58.891 -04:00 [INF] Configure Normal module: Corsinvest.AppHero.Core.Hubs.Module@0.0.106.0 2023-07-06 21:41:58.891 -04:00 [INF] Configure Normal module: Corsinvest.AppHero.Core.Emailing.Module@0.0.106.0 2023-07-06 21:41:58.891 -04:00 [INF] Configure Normal module: Corsinvest.AppHero.Core.MudBlazorUI.Module@0.0.106.0 2023-07-06 21:41:58.906 -04:00 [INF] Configure Normal module: Corsinvest.AppHero.HangFire.Module@0.0.106.0 2023-07-06 21:41:58.906 -04:00 [INF] Configure Normal module: Corsinvest.AppHero.Localization.Module@0.0.106.0 2023-07-06 21:41:59.238 -04:00 [INF] Configure Normal module: Corsinvest.AppHero.Localization.MudBlazorUI.Module@0.0.106.0 2023-07-06 21:41:59.241 -04:00 [INF] Configure Normal module: Corsinvest.AppHero.Notification.Telegram.Module@0.0.106.0 2023-07-06 21:41:59.242 -04:00 [INF] Configure Normal module: Corsinvest.AppHero.Serilog.Module@0.0.106.0 2023-07-06 21:41:59.245 -04:00 [INF] Configure Normal module: Corsinvest.AppHero.Translation.Microsoft.Module@0.0.106.0 2023-07-06 21:41:59.245 -04:00 [INF] Configure Normal module: Corsinvest.AppHero.Translation.Google.Module@0.0.106.0 2023-07-06 21:41:59.245 -04:00 [INF] Configure Normal module: Corsinvest.ProxmoxVE.Admin.AutoSnap.Module@1.0.0.0 2023-07-06 21:41:59.481 -04:00 [INF] Configure Normal module: Corsinvest.ProxmoxVE.Admin.Botgram.Module@1.0.0.0 2023-07-06 21:41:59.481 -04:00 [INF] Configure Normal module: Corsinvest.ProxmoxVE.Admin.ClusterStatus.Module@1.0.0.0 2023-07-06 21:41:59.481 -04:00 [INF] Configure Normal module: Corsinvest.ProxmoxVE.Admin.ClusterUsage.Module@1.0.0.0 2023-07-06 21:41:59.561 -04:00 [INF] Configure Normal module: Corsinvest.ProxmoxVE.Admin.Core.ModuleCore@1.0.0.0 2023-07-06 21:41:59.561 -04:00 [INF] Configure Normal module: Corsinvest.ProxmoxVE.Admin.Core.Options.Module@1.0.0.0 2023-07-06 21:41:59.561 -04:00 [INF] Configure Normal module: Corsinvest.ProxmoxVE.Admin.Diagnostic.Module@1.0.0.0 2023-07-06 21:41:59.706 -04:00 [INF] Configure Normal module: Corsinvest.ProxmoxVE.Admin.DisksStatus.Module@1.0.0.0 2023-07-06 21:41:59.706 -04:00 [INF] Configure Normal module: Corsinvest.ProxmoxVE.Admin.MetricsExporter.Module@1.0.0.0 2023-07-06 21:41:59.712 -04:00 [INF] Configure Normal module: Corsinvest.ProxmoxVE.Admin.NodeFreeMemory.Module@1.0.0.0 2023-07-06 21:41:59.712 -04:00 [INF] Configure Normal module: Corsinvest.ProxmoxVE.Admin.NodeProtect.Module@1.0.0.0 2023-07-06 21:41:59.755 -04:00 [INF] Configure Normal module: Corsinvest.ProxmoxVE.Admin.QemuMonitor.Module@1.0.0.0 2023-07-06 21:41:59.755 -04:00 [INF] Configure Normal module: Corsinvest.ProxmoxVE.Admin.VmUnlock.Module@1.0.0.0 2023-07-06 21:41:59.755 -04:00 [INF] Configure Normal module: Corsinvest.ProxmoxVE.Admin.VzDumpTrend.Module@1.0.0.0 2023-07-06 21:42:00.438 -04:00 [INF] Configure Post module: Corsinvest.AppHero.Auditing.Module@0.0.106.0 2023-07-06 21:42:00.440 -04:00 [INF] Configure Post module: Corsinvest.AppHero.Auditing.MudBlazorUI.Module@0.0.106.0 2023-07-06 21:42:00.441 -04:00 [INF] Configure Post module: Corsinvest.AppHero.Core.Session.Module@0.0.106.0 2023-07-06 21:42:00.441 -04:00 [INF] Configure Post module: Corsinvest.AppHero.Core.Security.Module@0.0.106.0 2023-07-06 21:42:00.447 -04:00 [INF] Configure Post module: Corsinvest.AppHero.Core.Options.Module@0.0.106.0 2023-07-06 21:42:00.447 -04:00 [INF] Configure Post module: Corsinvest.AppHero.Core.Notification.Module@0.0.106.0 2023-07-06 21:42:00.447 -04:00 [INF] Configure Post module: Corsinvest.AppHero.Core.Notification.WebHook.Module@0.0.106.0 2023-07-06 21:42:00.447 -04:00 [INF] Configure Post module: Corsinvest.AppHero.Core.Notification.Email.Module@0.0.106.0 2023-07-06 21:42:00.447 -04:00 [INF] Configure Post module: Corsinvest.AppHero.Core.Modularity.Module@0.0.106.0 2023-07-06 21:42:00.448 -04:00 [INF] Configure Post module: Corsinvest.AppHero.Core.Hubs.Module@0.0.106.0 2023-07-06 21:42:00.456 -04:00 [INF] Configure Post module: Corsinvest.AppHero.Core.Emailing.Module@0.0.106.0 2023-07-06 21:42:00.456 -04:00 [INF] Configure Post module: Corsinvest.AppHero.Core.MudBlazorUI.Module@0.0.106.0 2023-07-06 21:42:00.456 -04:00 [INF] Configure Post module: Corsinvest.AppHero.HangFire.Module@0.0.106.0 2023-07-06 21:42:00.512 -04:00 [INF] Configure Post module: Corsinvest.AppHero.Localization.Module@0.0.106.0 2023-07-06 21:42:00.512 -04:00 [INF] Configure Post module: Corsinvest.AppHero.Localization.MudBlazorUI.Module@0.0.106.0 2023-07-06 21:42:00.513 -04:00 [INF] Configure Post module: Corsinvest.AppHero.Notification.Telegram.Module@0.0.106.0 2023-07-06 21:42:00.513 -04:00 [INF] Configure Post module: Corsinvest.AppHero.Serilog.Module@0.0.106.0 2023-07-06 21:42:00.513 -04:00 [INF] Configure Post module: Corsinvest.AppHero.Translation.Microsoft.Module@0.0.106.0 2023-07-06 21:42:00.513 -04:00 [INF] Configure Post module: Corsinvest.AppHero.Translation.Google.Module@0.0.106.0 2023-07-06 21:42:00.513 -04:00 [INF] Configure Post module: Corsinvest.ProxmoxVE.Admin.AutoSnap.Module@1.0.0.0 2023-07-06 21:42:00.513 -04:00 [INF] Configure Post module: Corsinvest.ProxmoxVE.Admin.Botgram.Module@1.0.0.0 2023-07-06 21:42:00.514 -04:00 [INF] Configure Post module: Corsinvest.ProxmoxVE.Admin.ClusterStatus.Module@1.0.0.0 2023-07-06 21:42:00.514 -04:00 [INF] Configure Post module: Corsinvest.ProxmoxVE.Admin.ClusterUsage.Module@1.0.0.0 2023-07-06 21:42:00.514 -04:00 [INF] Configure Post module: Corsinvest.ProxmoxVE.Admin.Core.ModuleCore@1.0.0.0 2023-07-06 21:42:00.514 -04:00 [INF] Configure Post module: Corsinvest.ProxmoxVE.Admin.Core.Options.Module@1.0.0.0 2023-07-06 21:42:00.514 -04:00 [INF] Configure Post module: Corsinvest.ProxmoxVE.Admin.Diagnostic.Module@1.0.0.0 2023-07-06 21:42:00.514 -04:00 [INF] Configure Post module: Corsinvest.ProxmoxVE.Admin.DisksStatus.Module@1.0.0.0 2023-07-06 21:42:00.515 -04:00 [INF] Configure Post module: Corsinvest.ProxmoxVE.Admin.MetricsExporter.Module@1.0.0.0 2023-07-06 21:42:00.515 -04:00 [INF] Configure Post module: Corsinvest.ProxmoxVE.Admin.NodeFreeMemory.Module@1.0.0.0 2023-07-06 21:42:00.515 -04:00 [INF] Configure Post module: Corsinvest.ProxmoxVE.Admin.NodeProtect.Module@1.0.0.0 2023-07-06 21:42:00.515 -04:00 [INF] Configure Post module: Corsinvest.ProxmoxVE.Admin.QemuMonitor.Module@1.0.0.0 2023-07-06 21:42:00.515 -04:00 [INF] Configure Post module: Corsinvest.ProxmoxVE.Admin.VmUnlock.Module@1.0.0.0 2023-07-06 21:42:00.515 -04:00 [INF] Configure Post module: Corsinvest.ProxmoxVE.Admin.VzDumpTrend.Module@1.0.0.0 2023-07-06 21:42:00.745 -04:00 [INF] Starting Hangfire Server using job storage: 'Connection string: /var/cv4pve-admin/data/hangfire.db, prefix: hangfire' 2023-07-06 21:42:00.746 -04:00 [INF] Using the following options for Hangfire Server: Worker count: 10 Listening queues: 'default' Shutdown timeout: 00:00:15 Schedule polling interval: 00:00:15 2023-07-06 21:42:00.840 -04:00 [INF] Server 3ab67ae3-7ab1-4152-91cf-2faa9bd076c1 successfully announced in 52.5703 ms 2023-07-06 21:42:00.859 -04:00 [INF] Server 3ab67ae3-7ab1-4152-91cf-2faa9bd076c1 is starting the registered dispatchers: ServerWatchdog, ServerJobCancellationWatcher, ExpirationManager, CountersAggregator, Worker, DelayedJobScheduler, RecurringJobScheduler... 2023-07-06 21:42:00.881 -04:00 [INF] Removing outdated records from the 'AggregatedCounter' table... 2023-07-06 21:42:00.913 -04:00 [INF] Server 3ab67ae3-7ab1-4152-91cf-2faa9bd076c1 all the dispatchers started 2023-07-06 21:42:01.035 -04:00 [INF] Outdated records removed from the 'AggregatedCounter' table... 2023-07-06 21:42:01.035 -04:00 [INF] Removing outdated records from the 'Counter' table... 2023-07-06 21:42:01.060 -04:00 [INF] Outdated records removed from the 'Counter' table... 2023-07-06 21:42:01.060 -04:00 [INF] Removing outdated records from the 'Job' table... 2023-07-06 21:42:01.087 -04:00 [INF] Outdated records removed from the 'Job' table... 2023-07-06 21:42:01.087 -04:00 [INF] Removing outdated records from the 'List' table... 2023-07-06 21:42:01.116 -04:00 [INF] Outdated records removed from the 'List' table... 2023-07-06 21:42:01.116 -04:00 [INF] Removing outdated records from the 'Set' table... 2023-07-06 21:42:01.141 -04:00 [INF] Outdated records removed from the 'Set' table... 2023-07-06 21:42:01.142 -04:00 [INF] Removing outdated records from the 'Hash' table... 2023-07-06 21:42:01.164 -04:00 [INF] Outdated records removed from the 'Hash' table... 2023-07-06 21:42:01.164 -04:00 [INF] Removing outdated records from the 'State' table... 2023-07-06 21:42:01.211 -04:00 [INF] Outdated records removed from the 'State' table... 2023-07-06 21:42:01.212 -04:00 [INF] Removing outdated records from the 'JobParameter' table... 2023-07-06 21:42:01.233 -04:00 [INF] Outdated records removed from the 'JobParameter' table...

Kenneth

franklupo commented 1 year ago

manually it works. Open port 5000.

let's investigate why services on centos give problems

weili0677 commented 1 year ago

The service log is: cv4pve-admin[542812]: Default extraction directory [/var/www] either doesn't exist or is not accessible for read/write.

franklupo commented 1 year ago

The problem was https://learn.microsoft.com/en-us/dotnet/core/runtime-config/globalization set DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=0 and try

best regards

franklupo commented 1 year ago

export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=0

kenrmayfield commented 1 year ago

Frank,

I am using CentOS 8 not Windows.

On 2023-08-16 8:32 am, Daniele Corsini wrote:

export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=0

-- Reply to this email directly, view it on GitHub [1], or unsubscribe [2]. You are receiving this because you were mentioned.Message ID: @.***>

Links:

[1] https://github.com/Corsinvest/cv4pve-admin/issues/66#issuecomment-1680614363 [2] https://github.com/notifications/unsubscribe-auth/AVOGFIJSKMQ4OFYPF7DMNTDXVTDXFANCNFSM6AAAAAAZZ7WQB4

franklupo commented 1 year ago

I test "export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=0" on CentOS 8 and work.

kenrmayfield commented 1 year ago

Frank,

Ok.

I have no idea were this Settings needs to be placed?

On 2023-08-16 10:18 am, Daniele Corsini wrote:

I test "export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=0" on CentOS 8 and work.

-- Reply to this email directly, view it on GitHub [1], or unsubscribe [2]. You are receiving this because you were mentioned.Message ID: @.***>

Links:

[1] https://github.com/Corsinvest/cv4pve-admin/issues/66#issuecomment-1680811478 [2] https://github.com/notifications/unsubscribe-auth/AVOGFIOVOLZOKWFFYZJWOHDXVTQF3ANCNFSM6AAAAAAZZ7WQB4

franklupo commented 1 year ago

In service or shell

kenrmayfield commented 1 year ago

Frank,

I should have been more Detailed.

How do you Add to the Service?

I guess by the Shell part you mention, I would have to Run export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=0 at the Shell before I Run ./Corsinvest.ProxmoxVE.Admin..........Right?

On 2023-08-16 5:50 pm, Daniele Corsini wrote:

In service or shell

-- Reply to this email directly, view it on GitHub [1], or unsubscribe [2]. You are receiving this because you were mentioned.Message ID: @.***>

Links:

[1] https://github.com/Corsinvest/cv4pve-admin/issues/66#issuecomment-1681367150 [2] https://github.com/notifications/unsubscribe-auth/AVOGFIOH6ECTY5SBI6EVW7LXVVFC3ANCNFSM6AAAAAAZZ7WQB4

kenrmayfield commented 1 year ago

Frank,

I should have been more Detailed.

How do you Add to the Service?

I guess by the Shell part you mention, I would have to Run export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=0 at the Shell before I Run ./Corsinvest.ProxmoxVE.Admin..........Right?

My Journal Logs show: Aug 16 18:41:09 localhost.localdomain systemd[4099]: cv4pve-admin.service: Failed to determine user credentials: No such process Aug 16 18:41:09 localhost.localdomain systemd[4099]: cv4pve-admin.service: Failed at step USER spawning /home/cv4pve-admin/Corsinvest.ProxmoxVE.Admin: No such process Aug 16 18:41:09 localhost.localdomain systemd[1]: cv4pve-admin.service: Main process exited, code=exited, status=217/USER Aug 16 18:41:09 localhost.localdomain systemd[1]: cv4pve-admin.service: Failed with result 'exit-code'.

I did run export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=0 at the Shell and then Ran ./Corsinvest.ProxmoxVE.Admin and the Error is the same.

================================================================== I did also try and Add export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=0 to the /etc/skel/.bashrc as: ######## .bashrc

######## Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi

######## User specific environment if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]] then PATH="$HOME/.local/bin:$HOME/bin:$PATH" fi export PATH export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=0 ######## Uncomment the following line if you don't like systemctl's auto-paging feature: ######## export SYSTEMD_PAGER=

######## User specific aliases and functions

=========================================================================

The Error still the same.

franklupo commented 1 year ago

add DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=0 in service file

kenrmayfield commented 1 year ago

@franklupo

Do you mean Add it too the RC.CONF File?

franklupo commented 1 year ago

cv4pve-admin.service

kenrmayfield commented 1 year ago

@franklupo

Running on CentOS 8 Stream

Still same Error.

I have Added DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=0 to: /etc/systemd/system/cv4pve-admin.service

This is what My Service File for cv4pve-admin.service looks like with DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=0 added: [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 DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=0 [Install] WantedBy=multi-user.target

kenrmayfield commented 1 year ago

@franklupo

I was checking back on this?

kenrmayfield commented 1 year ago

@franklupo @matteocv

I was checking back on this?

kenrmayfield commented 1 year ago

@franklupo @matteocv

I still Receive the Same Errors that are listed on My Comments from July 6.

Running CV4PVE-ADMIN on CentOS 8 Stream.

I have Added DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=0 to: /etc/systemd/system/cv4pve-admin.service

This is what My Service File for cv4pve-admin.service looks like with DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=0 added to the Service File: [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 DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=0 [Install] WantedBy=multi-user.target

franklupo commented 1 year ago

Does using Debian or another distribution work?

have you tried using docker?

kenrmayfield commented 1 year ago

@franklupo @matteocv

Does everything look correct?

================================================================== BASHRC File :

I did also try and Add export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=0 to the /etc/skel/.bashrc as: ######## .bashrc

######## Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi

######## User specific environment if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]] then PATH="$HOME/.local/bin:$HOME/bin:$PATH" fi export PATH export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=0 ######## Uncomment the following line if you don't like systemctl's auto-paging feature: ######## export SYSTEMD_PAGER=

######## User specific aliases and functions

========================================================================= SERVICE File:

I have Added DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=0 to: /etc/systemd/system/cv4pve-admin.service

This is what My Service File for cv4pve-admin.service looks like with DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=0 added: [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 DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=0 [Install] WantedBy=multi-user.target