Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Where should I put a .ics calendar file on a Cloudron server such that it's accessible from the web?

Where should I put a .ics calendar file on a Cloudron server such that it's accessible from the web?

Scheduled Pinned Locked Moved Solved Support
9 Posts 3 Posters 830 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 8 Offline
      8 Offline
      81ewlska
      wrote on last edited by 81ewlska
      #1

      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

      1 Reply Last reply
      1
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        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

        1 Reply Last reply
        2
        • 8 Offline
          8 Offline
          81ewlska
          wrote on last edited by
          #3

          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?

          girishG 1 Reply Last reply
          0
          • 8 81ewlska

            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?

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #4

            @81ewlska Oh, that's a bug in our package. OIDC requires Cloudron 7.5.2. I guess you need to update your Cloudron . Which version are you on?

            1 Reply Last reply
            0
            • 8 Offline
              8 Offline
              81ewlska
              wrote on last edited by 81ewlska
              #5

              7.2.2 ... hmmm, if it requires 7.5.2 then it obviously hasn't been updating! I will investigate.

              girishG 1 Reply Last reply
              0
              • 8 81ewlska

                7.2.2 ... hmmm, if it requires 7.5.2 then it obviously hasn't been updating! I will investigate.

                girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #6

                @81ewlska 7.2.2 is very old!

                1 Reply Last reply
                0
                • 8 Offline
                  8 Offline
                  81ewlska
                  wrote on last edited by
                  #7

                  Updates have been failing because not enough disk space. Now time to see what can be eliminated...

                  jdaviescoatesJ 1 Reply Last reply
                  1
                  • 8 81ewlska

                    Updates have been failing because not enough disk space. Now time to see what can be eliminated...

                    jdaviescoatesJ Offline
                    jdaviescoatesJ Offline
                    jdaviescoates
                    wrote on last edited by
                    #8

                    @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 🙂

                    I use Cloudron with Gandi & Hetzner

                    1 Reply Last reply
                    0
                    • 8 Offline
                      8 Offline
                      81ewlska
                      wrote on last edited by 81ewlska
                      #9

                      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

                      1 Reply Last reply
                      3
                      • girishG girish marked this topic as a question on
                      • girishG girish has marked this topic as solved on
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Bookmarks
                        • Search