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. Invoice Ninja
  3. New deployment of Invoice Ninja v5 - "Failed to clear cache. Make sure you have the appropriate permissions."

New deployment of Invoice Ninja v5 - "Failed to clear cache. Make sure you have the appropriate permissions."

Scheduled Pinned Locked Moved Solved Invoice Ninja
4 Posts 3 Posters 1.0k 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.
  • d19dotcaD Offline
    d19dotcaD Offline
    d19dotca
    wrote on last edited by d19dotca
    #1

    Just did a fresh deployment of Invoice Ninja v5 (package version 1.3.49) as I start to re-attempt my migration from v4 to v5 of Invoice Ninja now that there's been a ton of migration improvements in v5, but I see this message in the logs while it's setting up:

    [...]
    May 20 10:34:53 Seeded: Database\Seeders\GatewayTypesSeeder (17.59ms)
    May 20 10:34:53 Seeding: Database\Seeders\DateFormatsSeeder
    May 20 10:34:53 Seeded: Database\Seeders\DateFormatsSeeder (74.90ms)
    May 20 10:34:53 Seeding: Database\Seeders\DesignSeeder
    May 20 10:34:53 Seeded: Database\Seeders\DesignSeeder (257.98ms)
    May 20 10:34:53 Database seeding completed successfully.
    May 20 10:34:53 Fri, 20 May 2022 17:34:53 +0000 Create Single Account...
    May 20 10:34:55 Compiled views cleared!
    May 20 10:34:55 Failed to clear cache. Make sure you have the appropriate permissions.
    May 20 10:34:55 ==> Starting InvoiceNinja
    

    Just curious if that Failed to clear cache. Make sure you have the appropriate permissions. line indicates an issue that should be fixed, but hard to know if that's related to the way it's packaged in Cloudron or if it's more of an upstream app issue.

    --
    Dustin Dauncey
    www.d19.ca

    1 Reply Last reply
    1
    • d19dotcaD Offline
      d19dotcaD Offline
      d19dotca
      wrote on last edited by
      #2

      Possibly related to this is a new issue I discovered too... in the About page in Invoice Ninja v5 > Health Check, it shows Invalid File Permissions with subtext of LICENSE.md is not writable. Screenshot attached.

      Screen Shot 2022-05-20 at 10.43.03 PM.png

      --
      Dustin Dauncey
      www.d19.ca

      humptydumptyH 1 Reply Last reply
      0
      • nebulonN nebulon marked this topic as a question on
      • d19dotcaD d19dotca

        Possibly related to this is a new issue I discovered too... in the About page in Invoice Ninja v5 > Health Check, it shows Invalid File Permissions with subtext of LICENSE.md is not writable. Screenshot attached.

        Screen Shot 2022-05-20 at 10.43.03 PM.png

        humptydumptyH Offline
        humptydumptyH Offline
        humptydumpty
        wrote on last edited by
        #3

        @d19dotca A while back I cloned an existing IN v5 app and tried setting up Stripe and had weird issues. I ended up using a fresh install and that fixed it.

        I just checked my IN v5 health check and I get the same error but with a different subtext: composer.json is not writable.

        419a3b34-be58-4875-b7ce-a0679ea6ff56-image.png

        1 Reply Last reply
        2
        • nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by nebulon
          #4

          I can only reproduce the LICENSE.md issue and tried to create a symlink for it into /app/data but apparently their health checking code is not realizing the writeability through the symlink. We have to investigate further upstream then to see what solutions may be possible.

          Edit: I created an upstream issue to gather more information on this https://github.com/invoiceninja/invoiceninja/issues/7458

          1 Reply Last reply
          3
          • 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