mirror of
https://github.com/community-scripts/ProxmoxVE-Local.git
synced 2026-03-31 06:23:54 -04:00
Application error after upgrading to 0.4.11 #105
Reference in New Issue
Block a user
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 @jmcruvellier on GitHub (Nov 13, 2025).
✅ Have you read and understood the above guidelines?
yes
📝 Provide a clear and concise description of the issue.
I'm no more able to log into PVE Script Local instance after the upgrade to version 0.4.11
🔄 Steps to reproduce the issue.
Update from 0.4.10 to version 0.4.11
❌ Paste the full error output (if available).
Application error: a client-side exception has occurred while loading my.domain.com (see the browser console for more information).
🖼️ Additional context (optional).
@smartkid808 commented on GitHub (Nov 13, 2025):
same issue here, rolled back for now. Thanks for all you do!
@michelroegl-brunner commented on GitHub (Nov 13, 2025):
Question: Do you access by IP or by Domain with a Proxy before the App? If so, can you try accessing via IP:3000?
@smartkid808 commented on GitHub (Nov 13, 2025):
Hi, I was accessing locally via IP:3000, no proxy in between. I can update again, and give you more details or whatever you need. One thing I noticed, was the update took a bit to do. wasn't as quick as previous ones
@jmcruvellier commented on GitHub (Nov 13, 2025):
I have installed the update when I was connected remotely from work via Cloudflared tunnel.
Just tried to connect locally from IP:3000 and same error :
Here is the error in the browser DEV console:
FYI this is happening just after entering login information
@jmcruvellier commented on GitHub (Nov 13, 2025):
Nothing wrong at service level, everything is ok:
@michelroegl-brunner commented on GitHub (Nov 13, 2025):
One last thing would be awesom if you can try: go inder /opt/ProxmoxVE-Local and change in the .env file AUTH_ENABLED to false, and see if you have access again?
@jmcruvellier commented on GitHub (Nov 13, 2025):
OK, si I have re-installed v0.4.11, updated /opt/ProxmoxVE-Local/.env by setting AUTH_ENABLED=false :
@michelroegl-brunner commented on GitHub (Nov 13, 2025):
It even happens with a new install? That is truly odd. I turn on my debugger tomorrow and have a deep dive what the cause might be.
@jmcruvellier commented on GitHub (Nov 13, 2025):
Updated from a backup, not a fresh install
@xb00tt commented on GitHub (Nov 13, 2025):
Same here and I don't use any auth.
Page actually loads but the error appears immediately after the Release Notes modal window tries to load and the console is pointing to selectedRepositories.length as the error.
Edit: Fresh install works just fine. 👍
@jmcruvellier commented on GitHub (Nov 13, 2025):
I've re-installed from scratch and then v0.4.1 works => there's something wrong in the upgrade process
@jwtoler commented on GitHub (Nov 13, 2025):
Yeah, same upgrade issue
@jwtoler commented on GitHub (Nov 13, 2025):
Just fyi - did not work for me. Remember a previous upgrade that doing this, did fix a login issue. However, appears to not fix this time.
@michelroegl-brunner commented on GitHub (Nov 14, 2025):
After investigation the Problem seems to be with the Database Migrations. For some, to me at this point not really known, reasons, this seems to be happening on "older" installs wich never had a migration with Prisma happen. (Installs before Version
0.4.3). So the migrations fails gracefully and the update dose not stop. I am not able to reporduce the error on my end atm, but i have a tester @Kaputtnique, and he helps me trying to understand the Problem. Best course of action will most likley be to install a new instance. But i keep you guys posted if i can come up with a solution to it.@michelroegl-brunner commented on GitHub (Nov 14, 2025):
Scratch the above, Migrations are not the Issue, but i found it! The Problem is with the Filters. I added some more filtering Options, and those options are missing in the .env File.
To solve the issue do the following: open the shell of the LXC and navigate to
cd /opt/ProxmoxVE-local/in there open the .env file:nano .env. In this file delete the two linesSAVE_FILTER=*andFILTERS=*or comment them out. There after the applications is running again, as far as i was able to test.Feedback is welcome, and fix will be implemented to prevent this behaviour.
@jmcruvellier commented on GitHub (Nov 14, 2025):
Will try it during the week-end, or earlier if I can find a slot because I need to rollback to v0.4.10 from a backup as yesterday I re-installed from scratch. Coming back to you to let you know if this is a sustainable fix or not.
@jwtoler commented on GitHub (Nov 14, 2025):
Just had to comment out
SAVE_FILTERto get it working. Thank you!@Kaputtnique commented on GitHub (Nov 14, 2025):
Application Error is done, but main repo doesnt apply :(
Invalidprisma.repository.findUnique()invocation: The tablemain.repositoriesdoes not exist in the current database.@smartkid808 commented on GitHub (Nov 14, 2025):
looks like commenting out SAVE_FILTER worked for me as well!
@Blue0ctober commented on GitHub (Nov 14, 2025):
Commenting out
SAVE_FILTERno longer gives me a 404 after login.Unfortunately now there's no scripts that load; trying to refresh json fails. PVE servers previously configured are no longer loading giving
Failed to fetch serversand trying to add a new PVE returnsFailed to create Server..envalso has about a half dozenJWT_SECRETvars in it.and looking at journalctl i see the following:
I don't mind doing a fresh install, but hopefully the above help with troubleshooting the upgraded instances.
@michelroegl-brunner commented on GitHub (Nov 17, 2025):
There is a wired error with prisma migratin wich i was not yet able to recreate fully. Best course of action would be to reinsall the lxc tbh.
@jwtoler commented on GitHub (Nov 17, 2025):
Any update on a release that fixes this?
@michelroegl-brunner commented on GitHub (Nov 18, 2025):
New release will come today.
@mrinaldi commented on GitHub (Nov 18, 2025):
I was able to fix it without reinstalling by running
and then rebooting the lxc. I'm not sure if I will have any issues upgrading to the next version that has a migration, though
@michelroegl-brunner commented on GitHub (Nov 19, 2025):
It should not happen again, as now there was a migration already running. I hope at least^^