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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

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

    Invoice Ninja
    3
    4
    177
    Loading More Posts
    • 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.
    • d19dotca
      d19dotca last edited by d19dotca

      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 Reply Quote 1
      • d19dotca
        d19dotca last edited by

        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

        humptydumpty 1 Reply Last reply Reply Quote 0
        • Topic has been marked as a question  nebulon nebulon 
        • humptydumpty
          humptydumpty @d19dotca last edited by

          @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 Reply Quote 2
          • nebulon
            nebulon Staff last edited by nebulon

            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 Reply Quote 3
            • First post
              Last post
            Powered by NodeBB