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. Surfer
  3. Surfer - SFTP

Surfer - SFTP

Scheduled Pinned Locked Moved Solved Surfer
25 Posts 5 Posters 4.0k Views 5 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.
  • jdaviescoatesJ jdaviescoates

    Ah

    a7cd9949-c90a-4750-9a55-bdada447dd3f-image.png

    I guess that's the issue...

    But, actually, no, can't be. That must've been a temporary glitch because next time I tried:

    2a8baab0-f990-4210-96b9-38af77431dc0-image.png

    Moreover, as shown in my previous post the files are there, just nothing is displayed when visiting https://wiki.safejust.space

    Confused.

    timconsidineT Offline
    timconsidineT Offline
    timconsidine
    App Dev
    wrote on last edited by
    #16

    @jdaviescoates could be !

    1 Reply Last reply
    0
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #17

      Not sure if that is the issue, but SFTP is on the platform side and thus for surfer to work, the files have to be put into the public folder. This is where surfer will serve up files from.

      jdaviescoatesJ 1 Reply Last reply
      2
      • nebulonN nebulon

        Not sure if that is the issue, but SFTP is on the platform side and thus for surfer to work, the files have to be put into the public folder. This is where surfer will serve up files from.

        jdaviescoatesJ Online
        jdaviescoatesJ Online
        jdaviescoates
        wrote on last edited by
        #18

        @nebulon said in Surfer - SFTP:

        files have to be put into the public folder

        That was it! Please could you add these exceedingly important information in the docs? Thanks!

        Basically, as soon as I put /public/ in this field it all just worked as expected

        4a282413-cd81-4807-b7ba-070362d76a63-image.png

        I use Cloudron with Gandi & Hetzner

        nebulonN 1 Reply Last reply
        1
        • jdaviescoatesJ jdaviescoates

          @nebulon said in Surfer - SFTP:

          files have to be put into the public folder

          That was it! Please could you add these exceedingly important information in the docs? Thanks!

          Basically, as soon as I put /public/ in this field it all just worked as expected

          4a282413-cd81-4807-b7ba-070362d76a63-image.png

          nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #19

          @jdaviescoates I put that info now at https://docs.cloudron.io/apps/surfer/#folder-structure

          jdaviescoatesJ 1 Reply Last reply
          2
          • nebulonN nebulon

            @jdaviescoates I put that info now at https://docs.cloudron.io/apps/surfer/#folder-structure

            jdaviescoatesJ Online
            jdaviescoatesJ Online
            jdaviescoates
            wrote on last edited by jdaviescoates
            #20

            @nebulon thanks! But I think it be even clearer by mentioning SFTP too and explicitly stating that that is where files need to go.

            Something like:

            The app will serve up all files from the public/ folder, so if you're uploading files using SFTP or some other method (e.g. to generate a static website) you need to put the files in the /public/ folder. If an index.html or index.htm file is located there, it will serve that one, otherwise it will show a placeholder page or, if directory listing is enabled, a listing of files and folders.

            I use Cloudron with Gandi & Hetzner

            1 Reply Last reply
            1
            • S Offline
              S Offline
              Shaun Snapp
              wrote on last edited by
              #21

              I had the same issue with a configuration in the FTP client I have used for around 1.5 years. All of a sudden it did not accept the password and or username. I restarted the SFTP server in Surfer, but it did not change anything. I have no problem getting in through the web interface using the same credentials (that fail in the FTP client), however.

              nebulonN robiR 2 Replies Last reply
              0
              • S Shaun Snapp

                I had the same issue with a configuration in the FTP client I have used for around 1.5 years. All of a sudden it did not accept the password and or username. I restarted the SFTP server in Surfer, but it did not change anything. I have no problem getting in through the web interface using the same credentials (that fail in the FTP client), however.

                nebulonN Offline
                nebulonN Offline
                nebulon
                Staff
                wrote on last edited by
                #22

                @Shaun-Snapp do you still have the issue? Also I wonder what kind of SFTP you have restarted in the app, as the SFTP service is implemented in the sftp addon service of the platform not in surfer.

                S 1 Reply Last reply
                0
                • nebulonN nebulon

                  @Shaun-Snapp do you still have the issue? Also I wonder what kind of SFTP you have restarted in the app, as the SFTP service is implemented in the sftp addon service of the platform not in surfer.

                  S Offline
                  S Offline
                  Shaun Snapp
                  wrote on last edited by
                  #23

                  @nebulon Yes -- and to your question. I just typed this in at the Surfer prompt. /etc/init.d/ssh restart

                  I am no expert in restarting services -- but it responded with this.

                  root@5995ab0f-bf9c-46b0-9095-XXX:/app/code# /etc/init.d/ssh restart

                  • Restarting OpenBSD Secure Shell server sshd [ OK ]
                    root@5995ab0f-bf9c-46b0-9095-XXX:/app/code#

                  But I have the same problem. I want to emphasize I made no change. At first I thought the library WiFi I was on was blocking the FTP. But then I switched to my phone as the hotspot and had the same issue.

                  nebulonN 1 Reply Last reply
                  0
                  • S Shaun Snapp

                    @nebulon Yes -- and to your question. I just typed this in at the Surfer prompt. /etc/init.d/ssh restart

                    I am no expert in restarting services -- but it responded with this.

                    root@5995ab0f-bf9c-46b0-9095-XXX:/app/code# /etc/init.d/ssh restart

                    • Restarting OpenBSD Secure Shell server sshd [ OK ]
                      root@5995ab0f-bf9c-46b0-9095-XXX:/app/code#

                    But I have the same problem. I want to emphasize I made no change. At first I thought the library WiFi I was on was blocking the FTP. But then I switched to my phone as the hotspot and had the same issue.

                    nebulonN Offline
                    nebulonN Offline
                    nebulon
                    Staff
                    wrote on last edited by
                    #24

                    @Shaun-Snapp well that sshd is not used at all and I am surprised this script didn't fail as there is nothing to restart 🙂

                    Can you check the logs of the sftp service in the services view of you Cloudron dashboard? sftp itself is provided as a service to apps and some apps like surfer enable that, but the sftp service is not really attached to the surfer app instance or such.

                    1 Reply Last reply
                    0
                    • S Shaun Snapp

                      I had the same issue with a configuration in the FTP client I have used for around 1.5 years. All of a sudden it did not accept the password and or username. I restarted the SFTP server in Surfer, but it did not change anything. I have no problem getting in through the web interface using the same credentials (that fail in the FTP client), however.

                      robiR Offline
                      robiR Offline
                      robi
                      wrote on last edited by
                      #25

                      @Shaun-Snapp Check the logs of the FTP client you use.

                      Sometimes it's set to use a certain protocol or security feature, but over the years that becomes obsolete and is replaced with a new one.

                      You can also try creating a new connection and see if it picks up new settings.

                      Conscious tech

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