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
  • Brite
  • 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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Surfer
  3. Download of files not possible via _admin interface

Download of files not possible via _admin interface

Scheduled Pinned Locked Moved Surfer
adminuidownloaderror
4 Posts 3 Posters 29 Views 3 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.
  • nottheendN Offline
    nottheendN Offline
    nottheend
    wrote last edited by
    #1

    I am facing an unexpected behaviour. Steps to reproduce:

    1. Open the /_admin interface of an installed surfer app
    2. Select index.html (or any file)
    3. Click on 'Download'

    Expected result:
    File downloads

    Actual result:
    Screen shows: This app is currently not responding. Please try refreshing the page in a few minutes.

    In the logs I see this error:

    Jun 05 04:38:24 get: /app/data/public
    Jun 05 04:38:44 2026-06-05T03:38:44Z 
    Jun 05 04:38:44 2026-06-05T03:38:44Z 
    Jun 05 04:38:44     at FSReqCallback.oncomplete (node:fs:199:5)
    Jun 05 04:38:44     at SendStream.emit (node:events:518:28)
    Jun 05 04:38:44 Node.js v22.14.0
    Jun 05 04:38:44 TypeError: contentDisposition is not a function
    Jun 05 04:38:44 ^
    Jun 05 04:38:44 at SendStream.send (/app/code/node_modules/send/index.js:508:8)
    Jun 05 04:38:44 at SendStream.setHeader (/app/code/node_modules/send/index.js:739:8)
    Jun 05 04:38:44 at SendStream.setServMiddlewareHeaders (file:///app/code/server.js:58:75)
    Jun 05 04:38:44 at onstat (/app/code/node_modules/send/index.js:615:10)
    Jun 05 04:38:44 file:///app/code/server.js:58
    Jun 05 04:38:44 if ('download' in res.req.query) res.setHeader('Content-Disposition', contentDisposition(path));
    Jun 05 04:38:45 2026-06-05T03:38:45Z 
    Jun 05 04:38:45 => Ensure permissions
    Jun 05 04:38:45 => Start the server
    Jun 05 04:38:45 Base path: /app/data/public
    Jun 05 04:38:45 Config file /app/data/.surfer.json not found
    Jun 05 04:38:45 Listening on http://localhost:3000
    Jun 05 04:38:45 Loading rich mime-types from /usr/share/mime/globs2
    Jun 05 04:38:45 Using config file at: /app/data/.surfer.json
    Jun 05 04:38:45 Using tokenstore file at: /app/data/tokens.json
    Jun 05 04:38:45 Warning: connect.session() MemoryStore is not
    Jun 05 04:38:45 designed for a production environment, as it will leak
    Jun 05 04:38:45 memory, and will not scale past a single process.
    

    Additional information:

    • I tried to restart the app many times
    • I recently restored the app from a backup
    • the app version is on Surfer 6.6.1. Same behaviour was on 6.6.0
    • Downloading the file from the Files Manager works seamlessly

    Additional wish: is it possible that releases contain some hint on what changed in a package update? The latest update 6.6.1 didn't contain information. Neither on Github nor directly in the notes. I also checked the notes in https://git.cloudron.io/packages/surfer-app. I found changelog which was maintained until 9.4.7

    1 Reply Last reply
    1
    • jamesJ Online
      jamesJ Online
      james
      Staff
      wrote last edited by
      #2

      Hello @nottheend
      Thanks for the report, I could reproduce this issue.

      1 Reply Last reply
      2
      • girishG Do not disturb
        girishG Do not disturb
        girish
        Staff
        wrote last edited by
        #3

        I broke it with the new release. Fix is coming...

        1 Reply Last reply
        1
        • girishG Do not disturb
          girishG Do not disturb
          girish
          Staff
          wrote last edited by
          #4

          Fixed in the latest package.

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          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