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. Invoice Ninja 5 (beta)

Invoice Ninja 5 (beta)

Scheduled Pinned Locked Moved Solved Invoice Ninja
48 Posts 12 Posters 9.0k Views 12 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.
  • luckowL Offline
    luckowL Offline
    luckow
    translator
    wrote on last edited by
    #33

    dc5ee336-c9b9-40d8-8fb8-47eef85cd708-image.png
    latest update

    Pronouns: he/him | Primary language: German

    nebulonN 1 Reply Last reply
    0
    • luckowL Offline
      luckowL Offline
      luckow
      translator
      wrote on last edited by
      #34

      500: Internal Server Error
      Quotes -> View PDF / EMail quote

      Same for Invoices.

      From the log:

      [2021-03-18 16:38:53] production.ERROR: The file "/app/data/public-storage/w5ydmyvt3smecevxmv4ahznnxdpdpk4rpqsbfreldfpzdgjk8nlcsoyikm85newy/WUFzx8BMMlNLapGCed7k1p4MtLipFTpsrTHHOV1i/quotes/0001.pdf" does not exist {"exception":"[object] (Symfony\\Component\\HttpFoundation\\File\\Exception\\FileNotFoundException(code: 0): The file \"/app/data/public-storage/w5ydmyvt3smecevxmv4ahznnxdpdpk4rpqsbfreldfpzdgjk8nlcsoyikm85newy/WUFzx8BMMlNLapGCed7k1p4MtLipFTpsrTHHOV1i/quotes/0001.pdf\" does not exist at /app/code/vendor/symfony/http-foundation/File/File.php:36)
      [stacktrace] 
      

      And yes: it's true. There is no /quotes/* in the public-storage folder. No idea why!

      Pronouns: he/him | Primary language: German

      H nebulonN 2 Replies Last reply
      0
      • luckowL luckow

        500: Internal Server Error
        Quotes -> View PDF / EMail quote

        Same for Invoices.

        From the log:

        [2021-03-18 16:38:53] production.ERROR: The file "/app/data/public-storage/w5ydmyvt3smecevxmv4ahznnxdpdpk4rpqsbfreldfpzdgjk8nlcsoyikm85newy/WUFzx8BMMlNLapGCed7k1p4MtLipFTpsrTHHOV1i/quotes/0001.pdf" does not exist {"exception":"[object] (Symfony\\Component\\HttpFoundation\\File\\Exception\\FileNotFoundException(code: 0): The file \"/app/data/public-storage/w5ydmyvt3smecevxmv4ahznnxdpdpk4rpqsbfreldfpzdgjk8nlcsoyikm85newy/WUFzx8BMMlNLapGCed7k1p4MtLipFTpsrTHHOV1i/quotes/0001.pdf\" does not exist at /app/code/vendor/symfony/http-foundation/File/File.php:36)
        [stacktrace] 
        

        And yes: it's true. There is no /quotes/* in the public-storage folder. No idea why!

        H Offline
        H Offline
        hillel369
        wrote on last edited by
        #35

        Thanks for trying out the beta!

        For the cron issue can you confirm that the crons are running? It can help to manually run the cron from the command line removing the parts after >

        cd /path-to-your-project && php artisan schedule:run

        https://invoiceninja.github.io/docs/self-host-installation/#cron-configuration-1

        For the PDF error which renderer are you using Chrome or PhantomJS? I'd be curious to know if changing between them helps.

        1 Reply Last reply
        0
        • luckowL luckow

          dc5ee336-c9b9-40d8-8fb8-47eef85cd708-image.png
          latest update

          nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #36

          @luckow if you click "Daten Aktualisieren" then the warning on the bottom left should go away. I am checking why it doesn't do this withouth. The artisan jobs should be triggered every minute.

          1 Reply Last reply
          0
          • luckowL luckow

            500: Internal Server Error
            Quotes -> View PDF / EMail quote

            Same for Invoices.

            From the log:

            [2021-03-18 16:38:53] production.ERROR: The file "/app/data/public-storage/w5ydmyvt3smecevxmv4ahznnxdpdpk4rpqsbfreldfpzdgjk8nlcsoyikm85newy/WUFzx8BMMlNLapGCed7k1p4MtLipFTpsrTHHOV1i/quotes/0001.pdf" does not exist {"exception":"[object] (Symfony\\Component\\HttpFoundation\\File\\Exception\\FileNotFoundException(code: 0): The file \"/app/data/public-storage/w5ydmyvt3smecevxmv4ahznnxdpdpk4rpqsbfreldfpzdgjk8nlcsoyikm85newy/WUFzx8BMMlNLapGCed7k1p4MtLipFTpsrTHHOV1i/quotes/0001.pdf\" does not exist at /app/code/vendor/symfony/http-foundation/File/File.php:36)
            [stacktrace] 
            

            And yes: it's true. There is no /quotes/* in the public-storage folder. No idea why!

            nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #37

            @luckow I can confirm the issue as well. I also tried to create the whole subfolder tree just to try out, but it does not fix it. Also I can't make out any permissions issue, so I think the pdf generation fails first, then triggering the 500 error, since the expected result pdf does not exist.

            Unfortunately I am not able so far to find further logs for the pdf generation.

            @hillel369 we do use phantomjs-2.1.1-linux-x86_64 here. Not actually sure how to switch to chrome

            H 1 Reply Last reply
            0
            • nebulonN Offline
              nebulonN Offline
              nebulon
              Staff
              wrote on last edited by
              #38

              [0.5.2]

              • Update InvoiceNinja to 5.1.30
              1 Reply Last reply
              0
              • luckowL Offline
                luckowL Offline
                luckow
                translator
                wrote on last edited by
                #39

                fyi: The update to the latest version ended in

                Mar 22 10:02:25 ==> Startup
                Mar 22 10:02:25 ==> Create php.ini
                Mar 22 10:02:25 ==> Update env file for database and email configs
                Mar 22 10:02:25 ==> Run db migration
                Mar 22 10:02:26
                Mar 22 10:02:26 In routes-v7.php line 12335:
                Mar 22 10:02:26
                Mar 22 10:02:26 syntax error, unexpected end of file, expecting ')' 
                

                Installing a new copy of the app works.

                Pronouns: he/him | Primary language: German

                nebulonN 1 Reply Last reply
                0
                • luckowL luckow

                  fyi: The update to the latest version ended in

                  Mar 22 10:02:25 ==> Startup
                  Mar 22 10:02:25 ==> Create php.ini
                  Mar 22 10:02:25 ==> Update env file for database and email configs
                  Mar 22 10:02:25 ==> Run db migration
                  Mar 22 10:02:26
                  Mar 22 10:02:26 In routes-v7.php line 12335:
                  Mar 22 10:02:26
                  Mar 22 10:02:26 syntax error, unexpected end of file, expecting ')' 
                  

                  Installing a new copy of the app works.

                  nebulonN Offline
                  nebulonN Offline
                  nebulon
                  Staff
                  wrote on last edited by
                  #40

                  @luckow hm I can't reproduce the issue you are seeing

                  1 Reply Last reply
                  1
                  • nebulonN nebulon

                    @luckow I can confirm the issue as well. I also tried to create the whole subfolder tree just to try out, but it does not fix it. Also I can't make out any permissions issue, so I think the pdf generation fails first, then triggering the 500 error, since the expected result pdf does not exist.

                    Unfortunately I am not able so far to find further logs for the pdf generation.

                    @hillel369 we do use phantomjs-2.1.1-linux-x86_64 here. Not actually sure how to switch to chrome

                    H Offline
                    H Offline
                    hillel369
                    wrote on last edited by
                    #41

                    @nebulon Hi, there's info here about changing PDF renderers

                    https://invoiceninja.github.io/docs/self-host-troubleshooting/#pdf-conversion-issues

                    If you need more help feel free to email us at contact@invoiceninja.com

                    nebulonN 1 Reply Last reply
                    0
                    • H hillel369

                      @nebulon Hi, there's info here about changing PDF renderers

                      https://invoiceninja.github.io/docs/self-host-troubleshooting/#pdf-conversion-issues

                      If you need more help feel free to email us at contact@invoiceninja.com

                      nebulonN Offline
                      nebulonN Offline
                      nebulon
                      Staff
                      wrote on last edited by
                      #42

                      @hillel369 ah I see, so I guess the phantomjs installed within the app is not even used anymore then with v5. I had no clue about the cloud service.

                      I will see how the configuration needs to be tweaked. Thanks for the pointer!

                      1 Reply Last reply
                      0
                      • nebulonN Offline
                        nebulonN Offline
                        nebulon
                        Staff
                        wrote on last edited by
                        #43

                        [0.5.3]

                        • Update InvoiceNinja to 5.1.31
                        • Fix snappdf usage

                        So pdf rendering should work fine now.
                        I've also added a lot more API tests, however for some reason they behave quite inconsitently when the user has never logged into the webinterface. Since the flutter UI is quite hard or remote control via selenium, I am not sure how to further automate this though.

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

                          [0.5.4]

                          • Update InvoiceNinja to 5.1.32
                          1 Reply Last reply
                          0
                          • nebulonN Offline
                            nebulonN Offline
                            nebulon
                            Staff
                            wrote on last edited by
                            #45

                            [0.5.5]

                            • Update InvoiceNinja to 5.1.34
                            1 Reply Last reply
                            0
                            • nebulonN Offline
                              nebulonN Offline
                              nebulon
                              Staff
                              wrote on last edited by
                              #46

                              [0.5.6]

                              • Update screenshots
                              1 Reply Last reply
                              0
                              • nebulonN Offline
                                nebulonN Offline
                                nebulon
                                Staff
                                wrote on last edited by
                                #47

                                [0.5.7]

                                • Update InvoiceNinja to 5.1.37
                                • Use laravel queues instead of crontab to improve performance
                                • Fix email sending
                                • Set minimum memory limit to 512MB
                                1 Reply Last reply
                                1
                                • nebulonN Offline
                                  nebulonN Offline
                                  nebulon
                                  Staff
                                  wrote on last edited by
                                  #48

                                  I will lock this thread, further updates are now posted in the main news topic of this section.

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