Union not showing remote files / directories

What is the problem you are having with rclone?

One of my unions (runion1) does not show remote files/directories, despite using the same remotes as another union (runion2). I have tried recreating the union, and the same behaviour occurs. Is this expected behaviour given the configuration?

Runion1

  • Local: ent1:nc ent2:nc
  • ff/ff/all

Runion2

  • Local:ro ent1: ent2:
  • eplfs/eplfs/all

Behaviour

  • Runion1 is not showing any remote files or directories. Files and directories stored in Local appear fine.

  • Runion2 (in contrast) shows all files and directories as expected.

Thank you in advance.

Run the command 'rclone version' and share the full output of the command.

rclone v1.69.1

  • os/version: ubuntu 22.04 (64 bit)
  • os/kernel: 6.8.0-1024-oracle (aarch64)
  • os/type: linux
  • os/arch: arm64 (ARMv8 compatible)
  • go/version: go1.24.0
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

OneDrive
(ent1 and ent2 are aliases of OneDrive remotes)

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone ls runion1:

The rclone config contents with secrets removed.

Name                 Type
====                 ====
ent1                 alias
ent2                 alias
local                alias
od                   combine
od1                  onedrive
od2                  onedrive
od3                  onedrive
runion1              union
runion2              union

A log from the command with the -vv flag

--vv not applicable for ls command

welcome to the forum,

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

Paste config here
1 Like

Thanks, see below:

[ent1]
type = alias
remote = od1:/Ent

[ent2]
type = alias
remote = od2:/Ent2

[local]
type = alias
remote = /home/ubuntu/dl

[od1]
type = onedrive
token = XXX
drive_id = XXX
drive_type = personal

[od2]
type = onedrive
token = XXX
drive_id = XXX
drive_type = personal

[runion1]
type = union
upstreams = local: ent1:nc ent2:nc
action_policy = ff
create_policy = ff
search_policy = all

[runion2]
type = union
upstreams = local:ro ent1: ent2:
action_policy = eplfs
create_policy = eplfs
search_policy = all
min_free_space = 1Gi

(updated)

ok, now that we have basic info, @kapitainsky ?

1 Like

Possibly there is no content in ro directory. Or maybe it does not exist.

Unless your intention was to make local remote read only but then you should configure it as:
upstreams = local::ro ent1: ent2:

1 Like

Thank you, this was it.

In fact both Unions were set up wrong, it should have been:

[runion1]
type = union
upstreams = local: ent1::nc ent2::nc
action_policy = ff
create_policy = ff
search_policy = all

[runion2]
type = union
upstreams = local::ro ent1: ent2:
action_policy = eplfs
create_policy = eplfs
search_policy = all

Thanks both again

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.