Hi Andrea,

None of that works, including the read_only option.
I guess my question would be: is this a functionality shortcoming or is it my 
system that’s at fault somehow?
Is GeoServer suppose to see shared/network folders/drives? Am I wasting my time 
with something it is not designed to work with?
Anyone on the mailing list has successfully done this?

Thanks,
Armando


From: Andrea Aime <andrea.a...@geosolutionsgroup.com>
Sent: 18 April 2024 13:17
To: Armando Forlani <armando.forl...@tfl.gov.uk>
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] invisible mapped/share drives in Store creation

And oh,
for the second error, the path can be accessed, but SQLITE states it cannot 
open the file.
Maybe it's due to write permissions? Try checking the "read only" flag.


Regards,

Andrea Aime



==
GeoServer Professional Services from the experts!

Visit 
http://bit.ly/gs-services-us<http://webdefence.global.blackspider.com/urlwrap/?q=AXicBcFNDsIgEAbQz_QM3sCVsUMNRqMrjf9Lj4CIlTiAGShJb-97aDBrgMd0AuFxvXSUpVIwnm2KRRKTTQErfT_eTtdzp7e62-AgwcRXoksSNtHvy5upT5WGLz6l_HZKPX0hHlWf2-ykeutyO2QA8wXwB22LIjY&Z>
 for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions Group
phone: +39 0584 962313

fax:     +39 0584 1660272

mob:   +39  339 8844549


https://www.geosolutionsgroup.com/

http://twitter.com/geosolutions_it

-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa 
che ogni circostanza inerente alla presente email (il suo contenuto, gli 
eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i 
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per 
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei 
comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed 
and may contain information that is privileged, confidential or otherwise 
protected from disclosure. We remind that - as provided by European Regulation 
2016/679 “GDPR” - copying, dissemination or use of this e-mail or the 
information herein by anyone other than the intended recipient is prohibited. 
If you have received this email by mistake, please notify us immediately by 
telephone or e-mail


On Thu, Apr 18, 2024 at 2:15 PM Andrea Aime 
<andrea.a...@geosolutionsgroup.com<mailto:andrea.a...@geosolutionsgroup.com>> 
wrote:
HI Armando,
the errors seem telling, "J: does not exist". If it's really there, then I 
would assume GeoServer is really
not seeing it.

See for example: 
https://superuser.com/questions/1758898/service-is-not-able-to-access-a-network-drive-mapping-despite-running-under-the



Regards,

Andrea Aime



==
GeoServer Professional Services from the experts!

Visit 
http://bit.ly/gs-services-us<http://webdefence.global.blackspider.com/urlwrap/?q=AXicBcFNDsIgEAbQz_QM3sCVsUMNRqMrjf9Lj4CIlTiAGShJb-97aDBrgMd0AuFxvXSUpVIwnm2KRRKTTQErfT_eTtdzp7e62-AgwcRXoksSNtHvy5upT5WGLz6l_HZKPX0hHlWf2-ykeutyO2QA8wXwB22LIjY&Z>
 for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions Group
phone: +39 0584 962313

fax:     +39 0584 1660272

mob:   +39  339 8844549


https://www.geosolutionsgroup.com/

http://twitter.com/geosolutions_it

-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa 
che ogni circostanza inerente alla presente email (il suo contenuto, gli 
eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i 
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per 
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei 
comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed 
and may contain information that is privileged, confidential or otherwise 
protected from disclosure. We remind that - as provided by European Regulation 
2016/679 “GDPR” - copying, dissemination or use of this e-mail or the 
information herein by anyone other than the intended recipient is prohibited. 
If you have received this email by mistake, please notify us immediately by 
telephone or e-mail


On Thu, Apr 18, 2024 at 1:44 PM Armando Forlani 
<armando.forl...@tfl.gov.uk<mailto:armando.forl...@tfl.gov.uk>> wrote:
Hi,

I’m creating a new Store using a GeoPackage file as data source (database). It 
works fine with a gpkg file saved locally i.e. anywhere on the C: drive. I’m 
unable to make it work with files stored on a share drive, either the full path 
or a logical drive letter.

file://J:/folder/data.gpkg<file:///J:/folder/data.gpkg>
  Error creating data store, check the parameters. Error message: Unable to 
obtain connection: path to 'J:\folder\data.gpkg': 'J:\' does not exist

file:\\J:\folder\data.gpkg<file:///J:/folder/data.gpkg>
  Error creating data store, check the parameters. Error message: Unable to 
obtain connection: path to 'J:\folder\data.gpkg': 'J:\' does not exist

file:////DOMAIN.LOCAL/SHARED/shared_folder/folder/data.gpkg<file://DOMAIN.LOCAL/SHARED/shared_folder/folder/data.gpkg>
  Error creating data store, check the parameters. Error message: Unable to 
obtain connection: [SQLITE_CANTOPEN] Unable to open the database file (unable 
to open database file)

file:\\\\DOMAIN.LOCAL\SHARED\shared_folder\folder\data.gpkg<file://DOMAIN.LOCAL/SHARED/shared_folder/folder/data.gpkg>
  Error creating data store, check the parameters. Error message: Unable to 
obtain connection: [SQLITE_CANTOPEN] Unable to open the database file (unable 
to open database file)

It is also impossible making use of the ‘Browse…’ link next to the ‘database’ 
edit box. It won’t list any mapped drives in the drop down list. Only ‘Data 
directory’, ‘Home directory’, A:\, ‘OS Disk (C:)’, D:\ are shown.

Moving data locally is not an option.

Running:
Windows 10 Enterprise
VMware Virtual Platform
Eclipse Adoptium: 17.0.10 (OpenJDK 64-Bit Server VM)
GeoServer 2.24.2 as a Windows service

Any help would be really appreciated.

Thanks,
Armando




This message has been scanned for malware by Forcepoint. 
www.forcepoint.com<http://www.forcepoint.com/>
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to