Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] I Dont have permission to the only folder I gave it permission to #67

Closed
1 task done
P0PTARTPOUND3R opened this issue Jul 24, 2023 · 5 comments
Closed
1 task done

Comments

@P0PTARTPOUND3R
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Failed to create folder root directory mkdir /Server2: permission denied

Expected Behavior

Make shared Folder

Steps To Reproduce

make a shared folder in Server2

Environment

- OS: Linux Debian 64x
- How docker service was installed: OMV 6

CPU architecture

x86-64

Docker creation

---
version: "2.1"
services:
  syncthing:
    image: lscr.io/linuxserver/syncthing:latest
    container_name: syncthing
    environment:
      - PUID=1000
      - PGID=100
      - TZ=America/Los_Angeles
    volumes:
      - /Docker/syncthing:/config
      - /Server2:/data1
    ports:
      - 8384:8384
      - 22000:22000/tcp
      - 22000:22000/udp
      - 21027:21027/udp
    restart: unless-stopped

Container logs

[4PFT4] 2023/07/23 17:10:57 INFO: No stored folder metadata for "default"; recalculating
[4PFT4] 2023/07/23 17:10:57 INFO: Using discovery mechanism: global discovery server https://discovery.syncthing.net/v2/?noannounce&id=LYXKCHX-VI3NYZR-ALCJBHF-WMZYSPK-QG6QJA3-MPFYMSO-U56GTUK-NA2MIAW
[4PFT4] 2023/07/23 17:10:57 INFO: Relay listener (dynamic+https://relays.syncthing.net/endpoint) starting
[4PFT4] 2023/07/23 17:10:57 INFO: Using discovery mechanism: global discovery server https://discovery-v4.syncthing.net/v2/?nolookup&id=LYXKCHX-VI3NYZR-ALCJBHF-WMZYSPK-QG6QJA3-MPFYMSO-U56GTUK-NA2MIAW
[4PFT4] 2023/07/23 17:10:57 INFO: Using discovery mechanism: global discovery server https://discovery-v6.syncthing.net/v2/?nolookup&id=LYXKCHX-VI3NYZR-ALCJBHF-WMZYSPK-QG6QJA3-MPFYMSO-U56GTUK-NA2MIAW
[4PFT4] 2023/07/23 17:10:57 INFO: Loading HTTPS certificate: open /config/https-cert.pem: no such file or directory
[4PFT4] 2023/07/23 17:10:57 INFO: Creating new HTTPS certificate
[4PFT4] 2023/07/23 17:10:57 INFO: Using discovery mechanism: IPv4 local broadcast discovery on port 21027
2023/07/23 17:10:57 failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Receive-Buffer-Size for details.
[4PFT4] 2023/07/23 17:10:57 INFO: Using discovery mechanism: IPv6 local multicast discovery on address [ff12::8384]:21027
[4PFT4] 2023/07/23 17:10:57 INFO: TCP listener ([::]:22000) starting
[4PFT4] 2023/07/23 17:10:57 INFO: QUIC listener ([::]:22000) starting
[4PFT4] 2023/07/23 17:10:57 INFO: Ready to synchronize "Default Folder" (default) (sendreceive)
[4PFT4] 2023/07/23 17:10:57 INFO: Completed initial scan of sendreceive folder "Default Folder" (default)
[4PFT4] 2023/07/23 17:10:57 INFO: GUI and API listening on [::]:8384
[4PFT4] 2023/07/23 17:10:57 INFO: Access the GUI via the following URL: http://127.0.0.1:8384/
[4PFT4] 2023/07/23 17:10:57 INFO: My name is "520fc7acae36"
[ls.io-init] done.
[4PFT4] 2023/07/23 17:11:11 INFO: Detected 1 NAT service
[4PFT4] 2023/07/23 17:11:17 INFO: quic://0.0.0.0:22000 detected NAT type: Port restricted NAT
[4PFT4] 2023/07/23 17:11:17 INFO: quic://0.0.0.0:22000 resolved external address quic://50.158.237.219:22000 (via stun.syncthing.net:3478)
[4PFT4] 2023/07/23 17:11:34 INFO: Sent usage report (version 3)
[4PFT4] 2023/07/23 17:12:05 INFO: Joined relay relay://96.43.94.218:22067
[4PFT4] 2023/07/23 17:12:31 INFO: GUI and API listening on [::]:8384
[4PFT4] 2023/07/23 17:12:31 INFO: Access the GUI via the following URL: http://127.0.0.1:8384/
[4PFT4] 2023/07/23 17:15:25 INFO: Adding folder "Minecraft Backups" (rxxpa-swl26)
[4PFT4] 2023/07/23 17:15:25 INFO: No stored folder metadata for "rxxpa-swl26"; recalculating
[4PFT4] 2023/07/23 17:15:25 WARNING: Failed to create folder root directory mkdir /Server2: permission denied
[4PFT4] 2023/07/23 17:15:25 INFO: Ready to synchronize "Minecraft Backups" (rxxpa-swl26) (sendreceive)
[4PFT4] 2023/07/23 17:15:25 INFO: Failed initial scan of sendreceive folder "Minecraft Backups" (rxxpa-swl26)
[4PFT4] 2023/07/23 17:15:25 WARNING: Error on folder "Minecraft Backups" (rxxpa-swl26): folder path missing
[4PFT4] 2023/07/23 17:17:12 INFO: Paused folder "Minecraft Backups" (rxxpa-swl26) (sendreceive)
[4PFT4] 2023/07/23 17:17:14 WARNING: Failed to create folder root directory mkdir /Server2: permission denied
[4PFT4] 2023/07/23 17:17:14 INFO: Ready to synchronize "Minecraft Backups" (rxxpa-swl26) (sendreceive)
[4PFT4] 2023/07/23 17:17:14 INFO: Unpaused folder "Minecraft Backups" (rxxpa-swl26) (sendreceive)
[4PFT4] 2023/07/23 17:17:14 INFO: Failed initial scan of sendreceive folder "Minecraft Backups" (rxxpa-swl26)
[4PFT4] 2023/07/23 17:17:14 WARNING: Error on folder "Minecraft Backups" (rxxpa-swl26): folder path missing
[4PFT4] 2023/07/23 17:19:09 WARNING: Failed to create folder root directory mkdir /Server2: permission denied
[4PFT4] 2023/07/23 17:19:09 INFO: Ready to synchronize "Minecraft Backups" (rxxpa-swl26) (sendreceive)
[4PFT4] 2023/07/23 17:19:09 INFO: Restarted folder "Minecraft Backups" (rxxpa-swl26) (sendreceive)
[4PFT4] 2023/07/23 17:19:09 INFO: Failed initial scan of sendreceive folder "Minecraft Backups" (rxxpa-swl26)
[4PFT4] 2023/07/23 17:19:09 WARNING: Error on folder "Minecraft Backups" (rxxpa-swl26): folder path missing
[4PFT4] 2023/07/23 17:19:12 INFO: Paused folder "Minecraft Backups" (rxxpa-swl26) (sendreceive)
[4PFT4] 2023/07/23 17:19:13 WARNING: Failed to create folder root directory mkdir /Server2: permission denied
[4PFT4] 2023/07/23 17:19:13 INFO: Ready to synchronize "Minecraft Backups" (rxxpa-swl26) (sendreceive)
[4PFT4] 2023/07/23 17:19:13 INFO: Unpaused folder "Minecraft Backups" (rxxpa-swl26) (sendreceive)
[4PFT4] 2023/07/23 17:19:13 INFO: Failed initial scan of sendreceive folder "Minecraft Backups" (rxxpa-swl26)
[4PFT4] 2023/07/23 17:19:13 WARNING: Error on folder "Minecraft Backups" (rxxpa-swl26): folder path missing
[4PFT4] 2023/07/23 17:19:59 INFO: Paused folder "Default Folder" (default) (sendreceive)
[4PFT4] 2023/07/23 17:19:59 INFO: Paused folder "Minecraft Backups" (rxxpa-swl26) (sendreceive)
[4PFT4] 2023/07/23 17:19:59 INFO: Ready to synchronize "Default Folder" (default) (sendreceive)
[4PFT4] 2023/07/23 17:19:59 INFO: Unpaused folder "Default Folder" (default) (sendreceive)
[4PFT4] 2023/07/23 17:19:59 WARNING: Failed to create folder root directory mkdir /Server2: permission denied
[4PFT4] 2023/07/23 17:19:59 INFO: Ready to synchronize "Minecraft Backups" (rxxpa-swl26) (sendreceive)
[4PFT4] 2023/07/23 17:19:59 INFO: Unpaused folder "Minecraft Backups" (rxxpa-swl26) (sendreceive)
[4PFT4] 2023/07/23 17:19:59 INFO: Failed initial scan of sendreceive folder "Minecraft Backups" (rxxpa-swl26)
[4PFT4] 2023/07/23 17:19:59 WARNING: Error on folder "Minecraft Backups" (rxxpa-swl26): folder path missing
[4PFT4] 2023/07/23 17:19:59 INFO: Completed initial scan of sendreceive folder "Default Folder" (default)
[4PFT4] 2023/07/23 17:22:06 INFO: Adding folder hp2vi-dizl3
[4PFT4] 2023/07/23 17:22:06 INFO: No stored folder metadata for "hp2vi-dizl3"; recalculating
[4PFT4] 2023/07/23 17:22:06 WARNING: Failed to create folder root directory mkdir /mnt/syncthing_data: permission denied
[4PFT4] 2023/07/23 17:22:06 INFO: Ready to synchronize hp2vi-dizl3 (sendreceive)
[4PFT4] 2023/07/23 17:22:06 INFO: Failed initial scan of sendreceive folder hp2vi-dizl3
[4PFT4] 2023/07/23 17:22:06 WARNING: Error on folder hp2vi-dizl3: folder path missing
[4PFT4] 2023/07/23 17:22:13 INFO: Paused folder hp2vi-dizl3 (sendreceive)
[4PFT4] 2023/07/23 17:22:14 WARNING: Failed to create folder root directory mkdir /mnt/syncthing_data: permission denied
[4PFT4] 2023/07/23 17:22:14 INFO: Ready to synchronize hp2vi-dizl3 (sendreceive)
[4PFT4] 2023/07/23 17:22:14 INFO: Unpaused folder hp2vi-dizl3 (sendreceive)
[4PFT4] 2023/07/23 17:22:14 INFO: Failed initial scan of sendreceive folder hp2vi-dizl3
[4PFT4] 2023/07/23 17:22:14 WARNING: Error on folder hp2vi-dizl3: folder path missing
[4PFT4] 2023/07/23 17:24:14 INFO: Paused folder hp2vi-dizl3 (sendreceive)
[4PFT4] 2023/07/23 17:24:16 INFO: Paused folder "Minecraft Backups" (rxxpa-swl26) (sendreceive)
[4PFT4] 2023/07/23 17:24:17 WARNING: Failed to create folder root directory mkdir /Server2: permission denied
[4PFT4] 2023/07/23 17:24:17 INFO: Ready to synchronize "Minecraft Backups" (rxxpa-swl26) (sendreceive)
[4PFT4] 2023/07/23 17:24:17 INFO: Unpaused folder "Minecraft Backups" (rxxpa-swl26) (sendreceive)
[4PFT4] 2023/07/23 17:24:17 INFO: Failed initial scan of sendreceive folder "Minecraft Backups" (rxxpa-swl26)
[4PFT4] 2023/07/23 17:24:17 WARNING: Error on folder "Minecraft Backups" (rxxpa-swl26): folder path missing
[4PFT4] 2023/07/23 17:30:17 INFO: Paused folder "Minecraft Backups" (rxxpa-swl26) (sendreceive)
[4PFT4] 2023/07/23 17:30:18 WARNING: Failed to create folder root directory mkdir /Server2: permission denied
[4PFT4] 2023/07/23 17:30:18 INFO: Ready to synchronize "Minecraft Backups" (rxxpa-swl26) (sendreceive)
[4PFT4] 2023/07/23 17:30:18 INFO: Unpaused folder "Minecraft Backups" (rxxpa-swl26) (sendreceive)
[4PFT4] 2023/07/23 17:30:18 INFO: Failed initial scan of sendreceive folder "Minecraft Backups" (rxxpa-swl26)
[4PFT4] 2023/07/23 17:30:18 WARNING: Error on folder "Minecraft Backups" (rxxpa-swl26): folder path missing
[4PFT4] 2023/07/23 17:32:38 INFO: Paused folder "Minecraft Backups" (rxxpa-swl26) (sendreceive)
[4PFT4] 2023/07/23 17:32:39 WARNING: Failed to create folder root directory mkdir /Server2: permission denied
[4PFT4] 2023/07/23 17:32:39 INFO: Ready to synchronize "Minecraft Backups" (rxxpa-swl26) (sendreceive)
[4PFT4] 2023/07/23 17:32:39 INFO: Unpaused folder "Minecraft Backups" (rxxpa-swl26) (sendreceive)
[4PFT4] 2023/07/23 17:32:39 INFO: Failed initial scan of sendreceive folder "Minecraft Backups" (rxxpa-swl26)
[4PFT4] 2023/07/23 17:32:39 WARNING: Error on folder "Minecraft Backups" (rxxpa-swl26): folder path missing
[4PFT4] 2023/07/23 17:37:37 INFO: Adding folder "what" (oakxc-hdmcg)
[4PFT4] 2023/07/23 17:37:37 INFO: No stored folder metadata for "oakxc-hdmcg"; recalculating
[4PFT4] 2023/07/23 17:37:37 WARNING: Failed to create folder root directory mkdir /Server2: permission denied
[4PFT4] 2023/07/23 17:37:37 INFO: Ready to synchronize "what" (oakxc-hdmcg) (sendreceive)
[4PFT4] 2023/07/23 17:37:37 INFO: Failed initial scan of sendreceive folder "what" (oakxc-hdmcg)
[4PFT4] 2023/07/23 17:37:37 WARNING: Error on folder "what" (oakxc-hdmcg): folder path missing
[4PFT4] 2023/07/23 17:38:27 INFO: Adding folder "whoi" (7h6jx-feefp)
[4PFT4] 2023/07/23 17:38:27 INFO: No stored folder metadata for "7h6jx-feefp"; recalculating
[4PFT4] 2023/07/23 17:38:27 WARNING: Some protected files may be overwritten and cause issues. See https://docs.syncthing.net/users/config.html#syncing-configuration-files for more information. The at risk files are: /config/index-v0.14.0.db, /config/config.xml, /config/cert.pem, /config/key.pem
[4PFT4] 2023/07/23 17:38:27 INFO: Ready to synchronize "whoi" (7h6jx-feefp) (sendreceive)
[4PFT4] 2023/07/23 17:38:27 INFO: Completed initial scan of sendreceive folder "whoi" (7h6jx-feefp)
@github-actions
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@LinuxServer-CI
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@drizuid
Copy link
Member

drizuid commented Oct 11, 2023

  1. What is the filesystem on /server2?
  2. Is /server2 a local mount or remote mount?
  3. what is the output of ls -asln /server2
  4. Did you use portainer (which we do not support/recommend) to create this container?

@LinuxServer-CI
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

bmillemathias added a commit to bmillemathias/docker-syncthing that referenced this issue Dec 10, 2023
Add a new directory /data to put the shares in and config where the
config stays.
Do not create default share by default

Fixes linuxserver#67
bmillemathias added a commit to bmillemathias/docker-syncthing that referenced this issue Dec 10, 2023
Add a new directory /data to put the shares in and config where the
config stays.
Do not create default share by default

Fixes linuxserver#67
bmillemathias added a commit to bmillemathias/docker-syncthing that referenced this issue Dec 10, 2023
Add a new directory /data to put the shares in and config where the
config stays.
Do not create default share by default

Fixes linuxserver#67
@LinuxServer-CI LinuxServer-CI closed this as not planned Won't fix, can't repro, duplicate, stale Jan 12, 2024
@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Jan 12, 2024
Copy link

This issue is locked due to inactivity

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants