Where should I put a .ics calendar file on a Cloudron server such that it's accessible from the web?
-
HI!
I've got a script that generates an updated .ics calendar file for me every day. I have a website (Wordpress / Cloudron / my own domain).
I'd like to put the script on the same VPS as Cloudron and run it as a cron job. How should I do this? Where should I put the file such that the script can access it and update it without messing it up, AND it will be accessible via URL?
I just don't 100% understand how Cloudron works and I don't want to mess it up by tinkering with its insides

I could use Wordpress's Media Library feature to upload a single .ics, then ssh into the server, find it on disc, and have the script update it there...?
Pete
-
You can install the surfer app and put the ics file there. Surfer app simply hosts static files. There is also a CLI tool that your cron jobs can run to update the ics file. For the cron job, maybe you can put it in surfer's cron itself (not sure) - https://docs.cloudron.io/apps/#cron
-
That sounds like a great solution, thanks!
When I try to install I see: Manifest error: Unknown property (not in schema) @ /addons/oidc
So there's something in Surfer's manifest my Cloudron doesn't recognize?
-
7.2.2 ... hmmm, if it requires 7.5.2 then it obviously hasn't been updating! I will investigate.
-
Updates have been failing because not enough disk space. Now time to see what can be eliminated...
@81ewlska said in Where should I put a .ics calendar file on a Cloudron server such that it's accessible from the web?:
Now time to see what can be eliminated...
And/ or time to upgrade to a larger server

-
There were a bunch of dangling images. Deleted those. Update failed because you no longer use AWS (....lol), but after https://forum.cloudron.io/post/59939
Update is complete. Well, 5 or 10 updates. Hey, everything kept working for years...!
Surfer installed successfully. Thank you for your help!
Note to anyone doing this in the future: the updates will result in a lot of backups (which can be removed via the web interface or at /var/backups) and a bunch of dangling or unused docker images which can be removed with
docker system prune
or
docker system prune -a -
G girish marked this topic as a question on
-
G girish has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login