← Back to team overview

dhis2-devs team mailing list archive

Re: Unable to create resource of type "File"

 

Okay. Got it. Will check that.

Archana Chillala
Application Developer
Email archanac@xxxxxxxxxxxxxxxx
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Tue, Nov 8, 2016 at 5:41 PM, Jason Pickering <jason.p.pickering@xxxxxxxxx
> wrote:

> No, I am talking about the system user on the operating system.
>
> So, if you DHIS2 server is running as the user "dhis", then this user
> needs access to be able to write to that directory mentioned in your file.
>
> This has nothing to do with users in DHIS2, but is potentially an
> operating system issue with the permissions of the directory which the
> server needs to write to.
>
> Regards,
> Jason
>
>
> On Tue, Nov 8, 2016 at 1:09 PM, Archana Chillala <
> archanac@xxxxxxxxxxxxxxxx> wrote:
>
>> Hi Jason,
>>
>> The user has been given all the authorities that include the following:
>>     Add/Update Private Document
>>     Add/update Public Document
>>     Delete Document
>>
>> Even though, the issue exists.
>>
>>
>>
>>
>> Archana Chillala
>> Application Developer
>> Email archanac@xxxxxxxxxxxxxxxx
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> On Tue, Nov 8, 2016 at 4:58 PM, Jason Pickering <
>> jason.p.pickering@xxxxxxxxx> wrote:
>>
>>> Are you certain that the user which is running the DHIS2 server has
>>> access to write to
>>>
>>> /home/dhis/documents/ ?
>>>
>>> Regards,
>>> Jason
>>>
>>>
>>> On Tue, Nov 8, 2016 at 12:18 PM, Archana Chillala <
>>> archanac@xxxxxxxxxxxxxxxx> wrote:
>>>
>>>> Hi Lars,
>>>>
>>>> Yes, it works fine on the play server. But somehow, not on ours. We're
>>>> using DHIS version 2.25 build - 66c1fc0. Please have a look at the
>>>> logs attached herewith.
>>>>
>>>>
>>>>
>>>> Archana Chillala
>>>> Application Developer
>>>> Email archanac@xxxxxxxxxxxxxxxx
>>>> Telephone +91 9100960533 <+91+9100960533>
>>>> [image: ThoughtWorks]
>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>
>>>> On Fri, Nov 4, 2016 at 7:18 PM, Lars Helge Øverland <lars@xxxxxxxxx>
>>>> wrote:
>>>>
>>>>> Hi Archana,
>>>>>
>>>>> I just tested this on the demo instance for 2.25 and it works there.
>>>>>
>>>>> Can you please provide the tomcat log?
>>>>>
>>>>> regards,
>>>>>
>>>>> Lars
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Nov 4, 2016 at 1:44 PM, Archana Chillala <
>>>>> archanac@xxxxxxxxxxxxxxxx> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> We are using DHIS version 2.25. In the Reports module, we have *Resources
>>>>>> *of types "File" and "URL". We are able to create a resource of type
>>>>>> 'URL'. But when we try to create one with type - 'File', the application
>>>>>> throws an exception. This used to get saved in 2.24 and earlier versions.
>>>>>> But doesn't work in 2.25.
>>>>>>
>>>>>> See the screenshot attached.
>>>>>>
>>>>>>
>>>>>>
>>>>>> *Cheers,*
>>>>>>
>>>>>> Archana Chillala
>>>>>> Application Developer
>>>>>> Email archanac@xxxxxxxxxxxxxxxx
>>>>>> Telephone +91 9100960533 <+91+9100960533>
>>>>>> [image: ThoughtWorks]
>>>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Lars Helge Øverland
>>>>> Lead developer, DHIS 2
>>>>> University of Oslo
>>>>> Skype: larshelgeoverland
>>>>> lars@xxxxxxxxx
>>>>> http://www.dhis2.org <https://www.dhis2.org/>
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>>
>>> --
>>> Jason P. Pickering
>>> email: jason.p.pickering@xxxxxxxxx
>>> tel:+46764147049
>>>
>>
>>
>
>
> --
> Jason P. Pickering
> email: jason.p.pickering@xxxxxxxxx
> tel:+46764147049
>

Follow ups

References