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. Koel
  3. Cannot upload Album/Artist cover art. Fresh install

Cannot upload Album/Artist cover art. Fresh install

Scheduled Pinned Locked Moved Koel
5 Posts 2 Posters 1.1k Views 2 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.
  • P Offline
    P Offline
    proxy21
    wrote on last edited by
    #1

    Hi everyone. Fresh install of both Cloudron then Koel via Linode So far everything is working well except two features.

    versions
    App Title and VersionKoel 5.1.13
    Package Versiondev.koel.cloudronapp@1.1.9
    

    First I cannot upload any image files to albums or artist via the web interface(drag and drop). If I upload a img file via FTP to the library folder then scan it. It will no be detected. I've tried both file name (cover/folder) and both file types .jpg/.png along with large and small file sizes and no luck whatsoever.

    Secondly I can upload music files both .flac/.mp3 via the web interface but I have a file size limit of around 2MB. If I upload song files via FTP the scan will detect the albums and song no issue no matter the size.

    looking through some old github issues there might be an issue around folder permissions but I can only speculate.

    Let me know if there are any logs I can pull or if any additional info is needed. Thanks

    girishG 1 Reply Last reply
    0
    • P proxy21

      Hi everyone. Fresh install of both Cloudron then Koel via Linode So far everything is working well except two features.

      versions
      App Title and VersionKoel 5.1.13
      Package Versiondev.koel.cloudronapp@1.1.9
      

      First I cannot upload any image files to albums or artist via the web interface(drag and drop). If I upload a img file via FTP to the library folder then scan it. It will no be detected. I've tried both file name (cover/folder) and both file types .jpg/.png along with large and small file sizes and no luck whatsoever.

      Secondly I can upload music files both .flac/.mp3 via the web interface but I have a file size limit of around 2MB. If I upload song files via FTP the scan will detect the albums and song no issue no matter the size.

      looking through some old github issues there might be an issue around folder permissions but I can only speculate.

      Let me know if there are any logs I can pull or if any additional info is needed. Thanks

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @proxy21 Indeed, I see an error in the logs:

      [2022-02-01 05:36:16] production.ERROR: Intervention\Image\Exception\NotWritableException: Can't write image data to path (/app/code/public/img/covers/655a4594d76f164bfdce95c03b93f6b3f4869b23.jpeg) in /app/code/vendor/intervention/image/src/Intervention/Image/Image.php:150
      Stack trace:
      #0 /app/code/app/Services/ImageWriter.php(37): Intervention\Image\Image->save()
      #1 /app/code/app/Services/MediaMetadataService.php(42): App\Services\ImageWriter->writeFromBinaryData()
      #2 /app/code/app/Http/Controllers/API/AlbumCoverController.php(25): App\Services\MediaMetadataService->writeAlbumCover()
      #3 /app/code/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\Http\Controllers\API\AlbumCoverController->update()
      #4 /app/code/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\Routing\Controller->callAction()
      #5 /app/code/vendor/laravel/framework/src/Illuminate/Routing/Route.php(262): Illuminate\Routing\ControllerDispatcher->dispatch()
      #6 /app/code/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\Routing\Route->runController()
      #7 /app/code/vendor/laravel/framework/src/Illuminate/Routing/Router.php(695): Illuminate\Routing\Route->run()
      
      1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        Deja vu... I already reported this a while ago - https://github.com/koel/koel/issues/1254

        1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          I started a thread here - https://forum.cloudron.io/topic/6424/deploying-apps-that-treat-code-as-data to figure what to do for such situations.

          P 1 Reply Last reply
          1
          • girishG girish

            I started a thread here - https://forum.cloudron.io/topic/6424/deploying-apps-that-treat-code-as-data to figure what to do for such situations.

            P Offline
            P Offline
            proxy21
            wrote on last edited by
            #5

            @girish Thanks! This helped a lot.

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