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. Logo not appearing on PDF after Cloudron server migration

Logo not appearing on PDF after Cloudron server migration

Scheduled Pinned Locked Moved Solved Invoice Ninja
11 Posts 4 Posters 1.7k Views 4 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.
  • N Offline
    N Offline
    nickm
    wrote on last edited by
    #1

    I recently migrated my cloudron server from DigitalOcean to on prem. I am using the same version of Ubuntu server and restored directly from the cloudron created backup. Since restoring, when I generate a PDF my logo just appears as a broken image link. I have tried deleting the logo and changing the logo, but nothing seems to fix it. Old invoices still have the logo (as to be expected), but anything new doesnt have the logo. Is there something I am missing or something I could have done wrong? Please help!!

    Screenshot 2023-03-25 123834.png

    humptydumptyH 1 Reply Last reply
    0
    • N nickm

      I recently migrated my cloudron server from DigitalOcean to on prem. I am using the same version of Ubuntu server and restored directly from the cloudron created backup. Since restoring, when I generate a PDF my logo just appears as a broken image link. I have tried deleting the logo and changing the logo, but nothing seems to fix it. Old invoices still have the logo (as to be expected), but anything new doesnt have the logo. Is there something I am missing or something I could have done wrong? Please help!!

      Screenshot 2023-03-25 123834.png

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

      @nickm it might be a permission issue. Use cloudrons file manager and check the permissions for the media folder. I’m not sure where that location is (I’m on my phone) but a quick look might give you an idea. Another thing you can try is to use a different template and then reupload your logo with a different file name than the original and then create a new invoice.

      N 1 Reply Last reply
      1
      • humptydumptyH humptydumpty

        @nickm it might be a permission issue. Use cloudrons file manager and check the permissions for the media folder. I’m not sure where that location is (I’m on my phone) but a quick look might give you an idea. Another thing you can try is to use a different template and then reupload your logo with a different file name than the original and then create a new invoice.

        N Offline
        N Offline
        nickm
        wrote on last edited by
        #3

        @humptydumpty all of the permissions look exactly like the old install on DigitalOcean. I did also try using a different template already, but that didn't seem to help. I was super excited to see how easy it was to move a cloudron install over until i ran into this issue. 🤣 🤣 🤣

        1 Reply Last reply
        1
        • N Offline
          N Offline
          nickm
          wrote on last edited by
          #4

          It must actually be something with cloudron. I created a completely new instance of invoiceninja and the problem still persists. Hmm

          humptydumptyH 1 Reply Last reply
          1
          • N nickm

            It must actually be something with cloudron. I created a completely new instance of invoiceninja and the problem still persists. Hmm

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

            @nickm my production instance is working fine so I fired up a fresh instance and that's working fine too. It doesn't seem like it's a packaging issue. InvoiceNinja has been receiving a ton of updates lately. Maybe they broke something upstream.

            N 1 Reply Last reply
            1
            • humptydumptyH humptydumpty

              @nickm my production instance is working fine so I fired up a fresh instance and that's working fine too. It doesn't seem like it's a packaging issue. InvoiceNinja has been receiving a ton of updates lately. Maybe they broke something upstream.

              N Offline
              N Offline
              nickm
              wrote on last edited by
              #6

              @humptydumpty I slapped a band-aid on this for now. It's still not working for whatever reason. I have tried everything I know to try. Even gone as far as re-installing cloudron. For the tine being I just replaced the src=$company.logo with a link to my logo on my website. I'm sure this may cause problems down the line (or not), but I have logos on my invoices again. I'm definitely going to throw this up as a possible bug on the ninja forum.

              Thanks for the help!!

              1 Reply Last reply
              2
              • dsp76D Offline
                dsp76D Offline
                dsp76
                wrote on last edited by
                #7

                I moved location of InvoiceNinja on the same server to another domain. Also Logo was broken until I deleted and re uploaded.

                (Ask me about B2B marketing automation & low code business solutions, if thats interesting for you.)

                1 Reply Last reply
                1
                • nebulonN Away
                  nebulonN Away
                  nebulon
                  Staff
                  wrote on last edited by
                  #8

                  @dsp76 maybe the upload code triggers some static asset building where they put the curren absolute URL for the logo?

                  dsp76D 1 Reply Last reply
                  0
                  • nebulonN nebulon

                    @dsp76 maybe the upload code triggers some static asset building where they put the curren absolute URL for the logo?

                    dsp76D Offline
                    dsp76D Offline
                    dsp76
                    wrote on last edited by
                    #9

                    @nebulon I'm just a beginner with it, so not sure 😉 But also the client portal URL in the settings wasn't changed:

                    0ef5c2ce-ed10-45ea-a816-59e52115413a-image.png

                    Can be found at DOMAIN/settings/client_portal

                    I'm just experiencing another issue with the API calls after I moved the location, which I will open another thread.

                    (Ask me about B2B marketing automation & low code business solutions, if thats interesting for you.)

                    1 Reply Last reply
                    0
                    • nebulonN nebulon marked this topic as a question on
                    • nebulonN Away
                      nebulonN Away
                      nebulon
                      Staff
                      wrote on last edited by
                      #10

                      Ok so there are at least two issues with changing the domain of an invoiceninja instance:

                      1. The company dataset in the database contains the domain and there is no UI setting to change that
                      2. as mentioned the client portal domain is also set in database, but at least there is a UI

                      Given that invoiceninja can work with multiple domains, it is not clear if we should blindly tamper with the database here as we can't really know which domain is use for which company dataset. Also I think the app is developed with the intention that those links sent out are somewhat permanent links. I think we just have to document this for cases where one wants to change the domain, but mostly I would suggest to not break those links by changing the location from Cloudron dashboard.

                      1 Reply Last reply
                      2
                      • nebulonN Away
                        nebulonN Away
                        nebulon
                        Staff
                        wrote on last edited by
                        #11

                        I have added a docs section with information on how to change the domain within InvoiceNinja now https://docs.cloudron.io/apps/invoiceninja/#changing-domain

                        1 Reply Last reply
                        1
                        • nebulonN nebulon has marked this topic as solved on
                        • nebulonN nebulon referenced this topic 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