Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

cloudronbackup folder disappears when trying to restore

Scheduled Pinned Locked Moved Solved Support
backups
9 Posts 4 Posters 93 Views
    • 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.
  • 32463 Offline
    32463 Offline
    3246
    wrote on last edited by
    #1

    I am trying to pull down a backup for testing but when I do it fails with the following error:

    Access denied. Create the directory and run "chown yellowtent:yellowtent /mnt/cloudronbackup" on the server
    

    Great, I'll create it. Again.

    Try again.

    And... get the same error. The directory I just created disappeared.

    This process repeats ad nauseam.

    Help!

    Cloudron-Restore.png

    Visit https://www.bebravernow.com for more

    1 Reply Last reply
    0
  • 32463 Offline
    32463 Offline
    3246
    wrote on last edited by
    #2

    Right, user error. However, I think the error messages don't help.

    I use a sub-user and the account had external reachability disabled.. hence why trying to restore off-site didn't work. Yay.

    However, the error message and disappearing folder make no sense. I would have expected an error message saying that the connection is refused as my FTP duck did... which led me to check the permissions on the backup server.

    @girish @nebulon is there a way we can improve on those messages to help slow sysadmins like myself to find the answers they need sooner? 😉

    Visit https://www.bebravernow.com for more

    1 Reply Last reply
    2
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    wrote on last edited by
    #3

    I agree this is not ideal. We use systemd-mount here and its not trivial to extract proper error messages from that. Also I believe systemd will manage the mountpoint (folder) then accordingly.

    robiR 1 Reply Last reply
    2
  • robiR Offline
    robiR Offline
    robi
    replied to nebulon on last edited by
    #4

    @nebulon it would be wise to rely less on systemd and more on Cloudron validations.

    Life of sky tech

    nebulonN 1 Reply Last reply
    0
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    replied to robi on last edited by
    #5

    @robi frankly the mount command output, to test it for real, is also terrible for proper error reporting 🙂

    robiR 1 Reply Last reply
    0
  • robiR Offline
    robiR Offline
    robi
    replied to nebulon on last edited by
    #6

    @nebulon agreed, have you considered things like rclone instead?

    Life of sky tech

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

    Tested with a variety of cases here in both volumes and backups UI:

    Incorrect hostname:

    eea78352-4295-4b8e-b149-99ea8a09ecbc-image.png

    Invalid username/password:

    a7a8d4e8-fa86-4bc7-a8dd-df6823b19bca-image.png

    Bad remote path:

    1eb63198-c31d-48e2-9ba8-7e2a8ad1f522-image.png

    Sub account and no samba:

    568e155c-25e4-4700-b02f-74bca12d09aa-image.png

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

    This took me a while to figure but when using subaccounts for CIFS, one has to use "/subaccount" as the remote directory. Thanks to https://drechsel.xyz/posts/hetzner-storage-box-how-to-mount-cifs-for-sub-user/

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

    I found the issue. Fixed in https://git.cloudron.io/cloudron/box/-/commit/b2d072f2e6d3c8f1b39842c11b70f29ed2cb1231

    1 Reply Last reply
    3
  • girishG girish marked this topic as a question on
  • girishG girish has marked this topic as solved on

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.