Added a discussion 

I moved my UNA installation to a new server but since the restore some images don't appear in some views.

For instance in the timeline view instead of seeing some images I see a "broken link" icon. If if I click the broken link icon the image appears.

Also for some users there is a grey background instead of their profile image. The same for some events with an event image.

Any idea how to fix?

I believe I still have all the image files in the storage folder so think maybe some sort of database mismatch.

  • 711
Comments
    • I highly  doubt the una version has anything to do with your issue, but just out of curiosity, what una version do you have?

      💓0 😆0 😲0 😥0 😠0 0
      • I have v10.1.0

        💓0 😆0 😲0 😥0 😠0 0
        • I have v10.1.0

          Oh ok

          💓0 😆0 😲0 😥0 😠0 0
          • By the way are you using http or https?


            💓0 😆0 😲0 😥0 😠0 0
            • You probably have incorrect permissions on the Storage files.
              Try to run these commands in a shell from your UNA installation directory:
              find ./storage/ -type d -exec chmod 777 {} \;
              find ./storage/ -type f -exec chmod 666 {} \;

              💓0 😆0 😲0 😥0 😠0 0
              • Also, these commands may be needed to run, too:
                chmod 777 inc cache cache_public logs tmp storage
                rm -rf ./cache/* ./cache_public/* ./logs/* ./tmp/*

                💓0 😆0 😲0 😥0 😠0 0
                • Thanks, re-permission'ing under the storage folder seems to have fixed the problem.

                  💓0 😆0 😲0 😥0 😠0 0
                  Not logged in users can't 'Comments Post'.
                  Info

                  UNA - Network Infrastructure for Communities

                  Close