[GH-ISSUE #232] Add auto json sync and auto download options #75

Closed
opened 2026-02-26 12:40:05 +03:00 by kerem · 9 comments
Owner

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:

  • The first would be to enable auto json sync using an interval (possible cron?)
  • The second would be to select if the user wants scripts to auto download/update after sync

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

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: - The first would be to enable auto json sync using an interval (possible cron?) - The second would be to select if the user wants scripts to auto download/update after sync 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
kerem 2026-02-26 12:40:05 +03:00
Author
Owner

@michelroegl-brunner commented on GitHub (Oct 23, 2025):

Yeah, great idea. Will do that.

<!-- gh-comment-id:3438047124 --> @michelroegl-brunner commented on GitHub (Oct 23, 2025): Yeah, great idea. Will do that.
Author
Owner

@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

<!-- gh-comment-id:3438121167 --> @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
Author
Owner

@michelroegl-brunner commented on GitHub (Oct 23, 2025):

Thank you for the kind feedback!
And keep the suggestions comming :)

<!-- gh-comment-id:3438661194 --> @michelroegl-brunner commented on GitHub (Oct 23, 2025): Thank you for the kind feedback! And keep the suggestions comming :)
Author
Owner

@Feramance commented on GitHub (Oct 23, 2025):

I think Apprise would be the ideal notification service to implement, but that's up to you

<!-- gh-comment-id:3438705085 --> @Feramance commented on GitHub (Oct 23, 2025): I think Apprise would be the ideal notification service to implement, but that's up to you
Author
Owner

@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

<!-- gh-comment-id:3442532336 --> @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
Author
Owner

@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 update command in the LXC container, and nothing changed.

Any ideas?

(Haven't tested notifications yet)

<!-- gh-comment-id:3443112659 --> @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 `update` command in the LXC container, and nothing changed. Any ideas? (Haven't tested notifications yet)
Author
Owner

@michelroegl-brunner 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 update command in the LXC container, and nothing changed.

Any ideas?

(Haven't tested notifications yet)

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?

<!-- gh-comment-id:3443676720 --> @michelroegl-brunner 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 `update` command in the LXC container, and nothing changed. > > Any ideas? > > (Haven't tested notifications yet) 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?
Author
Owner

@gshomelab 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 update command in the LXC container, and nothing changed.

Any ideas?

(Haven't tested notifications yet)

I'm also having issues syncing the json files. I just get a message that says "Failed to sync scripts"

<!-- gh-comment-id:3443766540 --> @gshomelab 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 `update` command in the LXC container, and nothing changed. > > Any ideas? > > (Haven't tested notifications yet) I'm also having issues syncing the json files. I just get a message that says "Failed to sync scripts"
Author
Owner

@ewfisher 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 update command in the LXC container, and nothing changed.
Any ideas?
(Haven't tested notifications yet)

I'm also having issues syncing the json files. I just get a message that says "Failed to sync scripts"

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)

<!-- gh-comment-id:3444028229 --> @ewfisher 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 `update` command in the LXC container, and nothing changed. > > Any ideas? > > (Haven't tested notifications yet) > > I'm also having issues syncing the json files. I just get a message that says "Failed to sync scripts" 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 (<anonymous>) 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)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE-Local#75
No description provided.