I would advise against installing DataGrip via the flatpack software manager. This version does not show your complete file system. Therefore you cannot acces mounted drives or symbolic links. This does work when you install DataGrip via the tar file on their own site.