respect
(Respect)
January 5, 2024, 2:33am
1
Hey there folks. I got this issue resolved before here: Obsidian .md created date missing when using rclone?
I created a file right after and the metadata was correct.
Today, I tried to create a new file from Obsidian in the mount dir again, and it seems to have regressed.
The version is up-to-date.
➜ rclone version
rclone v1.65.0
os/version: fedora 39 (64 bit)
os/kernel: 6.6.8-200.fc39.x86_64 (x86_64)
os/type: linux
os/arch: amd64
go/version: go1.21.4
go/linking: static
go/tags: none
❯ rclone config redacted
[gdrive]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = XXX
team_drive =
I'm not sure what could be the cause there. Looking forward to your help yet again.
Can you provide clear example what the issue is? It is not clear at all what you are doing (including linked post).
respect
(Respect)
January 5, 2024, 1:49pm
3
Okay, an example was in the previous post. But let me try again.
[Desktop Entry]
Name=gDrive
Exec=sh -c "rclone mount --daemon gdrive: /home/somename/gDrive --vfs-cache-mode full"
Terminal=false
Type=Application
X-GNOME-Autostart-enabled=true
X-Desktop-File-Install-Version=0.24
I use Obsidian to access the notes that are stored in Google Drive. I can access the files pretty nicely.
However, when creating a new note in Obsidian, the metadata for the created date is missing. So the date that the note pulls is from 1969. Please refer to the screenshot below to see that the "create" date is simply null.
Here is a test note where the date is default to 1969:
In the previous post , it was fixed by updating to the latest version of rclone. But when I tried to create a new note yesterday, the issue happened again. And it's unclear to me why it's happening.
1 Like
ncw
(Nick Craig-Wood)
January 5, 2024, 2:41pm
4
Is the created date pulled straight from the file?
If so can you run this (fill in the full path as appropriate) and send the result please?
stat /home/somename/gDrive/.../Testing.md
That will get us started in the debug process.
respect
(Respect)
January 5, 2024, 3:18pm
5
Correct, it gets pulled from the metadata of the file.
I created a new file since I deleted the old.
gDrive/Obsidian Notes/Notes
➜ stat Testing.md
File: Testing.md
Size: 81 Blocks: 1 IO Block: 4096 regular file
Device: 0,84 Inode: 15801491792350393281 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1000/ somename) Gid: ( 1000/ somename)
Context: system_u:object_r:fusefs_t:s0
Access: 2024-01-05 10:14:45.052000000 -0500
Modify: 2024-01-05 10:14:45.052000000 -0500
Change: 2024-01-05 10:14:45.052000000 -0500
Birth: -
ncw
(Nick Craig-Wood)
January 6, 2024, 12:11am
6
respect:
Birth: -
That is the problem.
I don't think FUSE supports creation/birth times. Birth times are a relatively new feature on Linux and not all file systems support them.
respect
(Respect)
January 6, 2024, 1:00am
7
Oh no. Well, it was strange that it worked for a bit after the update.
Guess I'll have to find a workaround for this then. Thanks for the help on this
1 Like
system
(system)
Closed
February 5, 2024, 1:01am
8
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.