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

    Solved uploading a profile picture results in a white “ Whoops, looks like something went wrong.” page.

    Snipe-IT
    bug snipe-it
    3
    4
    250
    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.
    • imc67
      imc67 translator last edited by

      @girish even after uninstalling the previous version and installing the new one this error is still there:

      a white “ Whoops, looks like something went wrong.” page

      1 Reply Last reply Reply Quote 0
      • BrutalBirdie
        BrutalBirdie Staff last edited by

        This may sound strange, but would you share the picture you try to upload?

        I just tried to change my profile picture with no problem.

        Like my work? Consider donating a beer 🍻 Cheers!

        1 Reply Last reply Reply Quote 0
        • girish
          girish Staff last edited by

          Uploading a random profile pic does work for me. Is there any error in the console? Error logs are at /app/data/storage/logs

          4baf28af-daa6-4d20-9c2d-a806c4a477e8-image.png

          1 Reply Last reply Reply Quote 0
          • imc67
            imc67 translator last edited by imc67

            grrr, I don't know what happened but it does work now!

            This was the error this morning:

            #74 {main}  
            [2020-09-30 07:58:02] production.ERROR: Unsupported image type. GD driver is only able to decode JPG, PNG, GIF or WebP files. {"userId":1,"email":"admin@cloudron.local","exception":"[object] (Intervention\\Image\\Exception\\NotReadableException(code: 0): Unsupported image type. GD driver is only able to decode JPG, PNG, GIF or WebP files. at /app/code/vendor/intervention/image/src/Intervention/Image/Gd/Decoder.php:59)
            [stacktrace]
            #0 /app/code/vendor/intervention/image/src/Intervention/Image/AbstractDecoder.php(339): Intervention\\Image\\Gd\\Decoder->initFromPath()
            

            The image is a jpg. Strange to see that the log numbering restarted after this error.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB