mirror of
https://github.com/community-scripts/ProxmoxVE-Local.git
synced 2026-04-25 04:35:50 +03:00
[GH-ISSUE #232] Add auto json sync and auto download options #75
Labels
No labels
bug
enhancement
enhancement
feature
in progress
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ProxmoxVE-Local#75
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 @Feramance on GitHub (Oct 23, 2025).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE-Local/issues/232
🌟 Briefly describe the feature
Add auto json sync and auto download options
📝 Detailed description
I would really like it if there was two tick boxes:
Lastly, maybe some form of notification service, or push request to a url with the new/updated scripts after synchronisation is complete
💡 Why is this useful?
Reducing the need to manually sync every time the user wants to check for new scripts and allows for discoverability of new scripts as they become available
@michelroegl-brunner commented on GitHub (Oct 23, 2025):
Yeah, great idea. Will do that.
@Feramance commented on GitHub (Oct 23, 2025):
Thank you so much, I won't ever use the actual community scripts site again, also overall, loving the project, especially the generate ssh keys features (chef's kiss). Keep up the great work
@michelroegl-brunner commented on GitHub (Oct 23, 2025):
Thank you for the kind feedback!
And keep the suggestions comming :)
@Feramance commented on GitHub (Oct 23, 2025):
I think Apprise would be the ideal notification service to implement, but that's up to you
@michelroegl-brunner commented on GitHub (Oct 24, 2025):
I implemented it using Apprise, i testet it on my side with a simple mail enpoint, maybe you can test with something else. you can test it in version 0.4.8
@Feramance commented on GitHub (Oct 24, 2025):
So, I first updated using the built in update tool, and after that the json sync and auto sync always failed, with the error for the automated one being
JSON sync failed: Invalid time value.I then updated using the
updatecommand in the LXC container, and nothing changed.Any ideas?
(Haven't tested notifications yet)
@michelroegl-brunner commented on GitHub (Oct 24, 2025):
Hmh that is odd. (upate in the shell dose basicly the same as the in app updat) Can you maybe share the server logs when you try the manaul sync in the settings?
@gshomelab commented on GitHub (Oct 24, 2025):
I'm also having issues syncing the json files. I just get a message that says "Failed to sync scripts"
@ewfisher commented on GitHub (Oct 24, 2025):
Same here. "Failed to sync scripts" on the web UI, and the logs show:
Oct 24 12:35:38 pve-scripts-local npm[3854]: Starting fast incremental JSON sync...
Oct 24 12:35:38 pve-scripts-local npm[3854]: Fetching file list from GitHub...
Oct 24 12:35:39 pve-scripts-local npm[3854]: Found 404 JSON files in repository
Oct 24 12:35:39 pve-scripts-local npm[3854]: Looking for local files in: /opt/ProxmoxVE-Local/scripts/json
Oct 24 12:35:39 pve-scripts-local npm[3854]: Found 408 files in local directory
Oct 24 12:35:39 pve-scripts-local npm[3854]: Found 408 local JSON files
Oct 24 12:35:39 pve-scripts-local npm[3854]: JSON sync failed: RangeError: Invalid time value
Oct 24 12:35:39 pve-scripts-local npm[3854]: at Date1.toISOString ()
Oct 24 12:35:39 pve-scripts-local npm[3854]: at h.syncJsonFiles (.next/server/chunks/217.js:1:2420)
Oct 24 12:35:39 pve-scripts-local npm[3854]: at async (.next/server/app/api/trpc/[trpc]/route.js:25:20193)
Oct 24 12:35:39 pve-scripts-local npm[3854]: at async bC.middlewares (.next/server/app/api/trpc/[trpc]/route.js:22:7722)
Oct 24 12:35:39 pve-scripts-local npm[3854]: at async bG (.next/server/app/api/trpc/[trpc]/route.js:25:69)
Oct 24 12:35:39 pve-scripts-local npm[3854]: at async b (.next/server/app/api/trpc/[trpc]/route.js:22:7958)
Oct 24 12:35:39 pve-scripts-local npm[3854]: at async (.next/server/app/api/trpc/[trpc]/route.js:18:57308)
Oct 24 12:35:39 pve-scripts-local npm[3854]: at async (.next/server/app/api/trpc/[trpc]/route.js:22:1377)