Closed Karmalakas closed 2 months ago
OK, so apprently I had wrong mapping. Instead of directly mounting my datasets, I had to mount them to /storage/dataSet1
, /sorage/dataSet2
, etc. But there's still a problem. When I navigate to a mounted dataset, I can now see all the folders inside it, but that's it - only 1st level folders are shown. If I go inside any of these 1st level folders, they are all empty. I expect to see deeper folders and files, but nothing's there 😞
If I get into container shell and navigate to these datasets/folders, all subfolders and files are there 😕
Are you sure your files have the correct ownership and/or permissions ? Did you set USER_ID
and GROUP_ID
variables correctly ?
In case you didn't see it: https://github.com/jlesage/docker-crashplan-pro?tab=readme-ov-file#usergroup-ids
I didn't have those env vars set, but now I added (it's 1000
) and it didn't change anything.
Let me clarify maybe, because I don't think that's the issue.
/storage
|- /Dataset_1
| |- Folder_1_1
| | |- File_1_1_1.txt
| | '- File_1_1_2.txt
| |- Folder_1_2
| '- Folder_1_3
| | |- Folder_1_3_1
| | |- Folder_1_3_2
| | | '- File_1_3_2_1.txt
| | '- Folder_1_3_3
'- /Dataset_2
|- Folder_2_1
'- Folder_2_2
|- File_2_2_1.txt
'- File_2_2_2.txt
I can access all the structure from container shell, but on the UI I only see:
/storage
|- /Dataset_1
| |- Folder_1_1
| |- Folder_1_2
| '- Folder_1_3
'- /Dataset_2
|- Folder_2_1
'- Folder_2_2
All the folders are empty
Do you have an example of what ls -l /storage/Dataset_1/Folder_1_1
would output ?
Here's output from a container shell:
Just to be clear, in UI /storage/Media/Audio
is empty. As all other folders in /Media
regardless of permissions. All these folders were created in Windows - /Media
is an SMB share.
So you see that most folders can be read/written only by the owner, which is user ID 568. If you have setup the container to run as user ID 1000, then this is the reason why it can't see the directories.
~But it does see the directories and I can browse inside them, but only two levels deep. The same behavior if I install with user 568~
If I explicitly define UID/GID as 568
, then it half works... I couldn't browse some folders, but I noticed they were 3000/root
or root/root
. So I just recreated these folders (same as before - on Windows) and it seems to be working now 🤷♂️
Thanks for helping to figure this out 🙏 I'll try to be more cautious about permissions in the future
Current Behavior
I managed to deploy CP and sign in on the web GUI, but
/storage
and all my mounted datasets are empty. I see them in a list, but there's just nothing inside. I saw same questions here about similar issues, but I don't think it's the sameBTW, when I restart app/container after editing the config, CP says I'm adding a new device again. Is this expected? If not, will create a new issue
Expected Behavior
When I click on my mounted dataset, which contains files, it should list those files and allow to backup to CP
Steps To Reproduce
jlesage/crashplan-pro
with taglatest
/storage
Environment
In container logs I see:
Container creation
Described in steps to reproduce
Container log
Container inspect
No response
Anything else?
I'm new to Linux and TrueNAS, but familiar with the concepts. Will try to help figure this out as much as I can