Where is the data file stored on Mac?

82 views
Skip to first unread message

Lee Johnson

unread,
Mar 13, 2022, 9:52:07 PM3/13/22
to Subsurface Divelog
Where is the data file located on MacOS?

Thanks :-) 

Robert C. Helling

unread,
Mar 14, 2022, 2:46:11 AM3/14/22
to Subsurface Divelog
First of all, you can save your log to any file (as xml) and in the preferences make that your default file.

When using the Subsurface cloud, the local storage is not a single file but a whole directory structure that is synched via git. You can find its path by running Subsurface from Terminal with the -v option. In my case:

/Applications/Subsurface.app/Contents/MacOS/Subsurface -v

which gives

Subsurface v5.0.5,

built with libdivecomputer v0.8.0-devel-Subsurface-NG (b6df353752b659654919eec3e98ced02158456d1)

built with Qt Version 5.15.2, runtime from Qt Version 5.15.2

built with libgit2 0.26.0

"validateGL(): created OpenGLContext."

"validateGL(): obtained QOpenGLFunctions."

"validateGL(): detected OpenGL version 2.1."

Execution of PAC script at "%250A" failed: The operation couldn’t be completed. (NSURLErrorDomain error -1002.)

QObject::connect(QQuickWindow, QDeclarativeGeoMap_QML_5): invalid nullptr parameter

Populating font family aliases took 402 ms. Replace uses of missing font family "Bookman URW" with one that exists to avoid this cost. 

loading dive data from ("/Users/Helling/Dropbox/TalkingToMyself/Robert.HellingSubsurface.xml")

Set the current dive site: 1389887869

setupPixmap fontPrintScale 1 metrics 24 16 sz_bigger 40

Profile calculation for dive  493 took 52 ms  -- calculated ceiling preference is true


File locations:


Cloud email:hel...@atdotde.de

returning cloud URL "https://ssrf-cloud-eu.subsurface-divelog.org/git/hel...@atdotde.de[hel...@atdotde.de]"

Local git storage: /Users/Helling/Library/Application Support/Subsurface/cloudstorage/c72433d1ae87cbe0

Cloud URL: https://ssrf-cloud-eu.subsurface-divelog.org/git/hel...@atdotde.de[hel...@atdotde.de]

Image filename table: /Users/Helling/Library/Application Support/Subsurface/hashes

Local picture directory: /Users/Helling/Library/Application Support/Subsurface/picturedata/


IP used for cloud server access "82.135.80.7"




You can see that I have my default file in Dropbox while the local git storage is in /Users/Helling/Library/Application Support/Subsurface/cloudstorage/c72433d1ae87cbe0

Robert C. Helling

unread,
Mar 14, 2022, 2:47:07 AM3/14/22
to Subsurface Divelog
Forgot to mention: The cloud directory appears empty. You need to check out the branch named like your email.
Reply all
Reply to author
Forward
0 new messages