Hi Julierme,

Are you able to choose the file using the user interface Browse button?
This would indicate to me that GeoServer has the file permissions to read
the folder where the file is located.  Did you check what user account was
running GeoServer? And confirm that the user has access to
/Users/username/Documents/example.tif ?

Other than that we need to look at the geoserer.log (either the file or
using the user interface) for the stack trace describing where the read
failure occurred.

Also it is worth running gdalinfo on the GeoTIFF just to see if it is
encoded correctly and complete.

Aside: Please remember to keep conversation on the email list (as
private one-on-one support is something many of our commercial support
providers offer and I wish to respect that). By communicating in public
others can join the conversation (who may have more insight than me).
--
Jody Garnett


On Tue, Jun 11, 2024 at 2:00 PM 1520 gis <
juliermeopensourcedevelo...@gmail.com> wrote:

> Hey Mr Garnett
>
> Thank you very much for your reply. I meant, GeoServer can’t find the file
> example.tif when uploading via client side and any user can write and read
> the file.
>
> (e.g., GeoTIFF). - In the **Connection Parameters section, the file URL
> (file:///Users/username/Documents/example.tif)
>
> Do I have to change any configuration in GeoServer ?
>
> Julierme
>
> ##########################################
> *Julierme G Pinheiro*
> *SDI Expert & Geoprocessing Specialist*
> Phone: +55 61 99994-3569
> Website: GIS
> <https://www.udemy.com/course/qgis-server-para-iniciantes-instalacao-e-configuracao/>
>
>
> On Tue, 11 Jun 2024 at 16:20 Jody Garnett <jody.garn...@gmail.com> wrote:
>
>> I do not understand the question? How can users access the file?
>>
>>
>>    - Have you uploaded the file to a directory that GeoServer can
>>    access? For example the GEOSERVER_DATA_DIR or a shared file system?
>>    - Did you check permissions for the user geoserver is running as? For
>>    example a "tomcat" user would need permissions to access a shared "gis
>>    data" folder...
>>
>>
>> Shapefile and TIFF both require file system access (so the URL is a file
>> reference and there is a "browse" button to help).
>>
>> Aside: There are a few datastore like GeoTIFF with Cloud Optimized
>> GeoTIFF (COG) that can take an HTTP URL but that is a community module (ie
>> seeking funding).
>>
>> --
>> Jody Garnett
>>
>>
>> On Jun 11, 2024 at 1:07:23 PM, 1520 gis <
>> juliermeopensourcedevelo...@gmail.com> wrote:
>>
>>> Hello users and developers,
>>>
>>> I have had some issues to upload vector(shp) and raster(tif) via URL.
>>> Any user can access the files, but I GeoServer still unable to do so. Is
>>> there any Site URL configuration that I should do first in order GeoServer
>>> to retrieve the files?
>>>
>>> Thank you for your precious time in advance.
>>>
>>> Julierme
>>>
>>> ##########################################
>>> *Julierme G Pinheiro*
>>> *SDI Expert & Geoprocessing Specialist*
>>> Phone: +55 61 99994-3569
>>> Website: GIS
>>> <https://www.udemy.com/course/qgis-server-para-iniciantes-instalacao-e-configuracao/>
>>>
>> _______________________________________________
>>> 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
>>>
>>
_______________________________________________
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