Dear Bob,
I am still having issue with the dhis2-tool. After replacing the file
/etc/nginx/sites-enabled/dhis2
with the link you provided nginx failed to start:
You should not touch /etc/nginx/nginx.conf at all. All customisation
is done under sites-enabled.
If your nginx is failing to start the chances are that
/var/log/nginx/error.log will tell you what the problem is.
Bob
···
On 25 July 2016 at 21:08, gerald thomas <gerald17006@gmail.com> wrote:
Dear Bob,
I am still having issue with the dhis2-tool. After replacing the file
/etc/nginx/sites-enabled/dhis2
with the link you provided nginx failed to start:
On 26 July 2016 at 10:46, gerald thomas <gerald17006@gmail.com> wrote:
Yes Morten it returns an error stating nginx failed.
On Jul 26, 2016 9:21 AM, "Morten Olav Hansen" <morten@dhis2.org> wrote:
If it's config related, it can also be good to run "nginx -t" which will
test the config and return any errors it can see
--
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo http://www.dhis2.org
On Tue, Jul 26, 2016 at 11:15 AM, Bob Jolliffe <bobjolliffe@gmail.com> >> wrote:
Hi Gerald
You should not touch /etc/nginx/nginx.conf at all. All customisation
is done under sites-enabled.
If your nginx is failing to start the chances are that
/var/log/nginx/error.log will tell you what the problem is.
Bob
On 25 July 2016 at 21:08, gerald thomas <gerald17006@gmail.com> wrote:
> Dear Bob,
> I am still having issue with the dhis2-tool. After replacing the file
> /etc/nginx/sites-enabled/dhis2
> with the link you provided nginx failed to start:
>
> wget
> https://github.com/dhis2/dhis2-tools/blob/master/dhis2-tools/dhis2-tools/usr/share/dhis2-tools/samples/nginx/dhis2
>
> Kindly note that i replaced all dhis with hmis on
> /etc/nginx/nginx.conf file but i am still having issues.
>
> Please i need help. This is the only procedure I had NOT successfully
> create an instance on.
> --
> Regards,
>
> Gerald
>
> _______________________________________________
> Mailing list: DHIS 2 Users in Launchpad
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : DHIS 2 Users in Launchpad
> More help : https://help.launchpad.net/ListHelp
inveneo@NMCP:~$ sudo nginx -t
nginx: [emerg] unknown directive "<!DOCTYPE" in
/etc/nginx/sites-enabled/dhis2:41
nginx: configuration file /etc/nginx/nginx.conf test failed
···
On 7/26/16, Bob Jolliffe <bobjolliffe@gmail.com> wrote:
What error?
On 26 July 2016 at 10:46, gerald thomas <gerald17006@gmail.com> wrote:
Yes Morten it returns an error stating nginx failed.
On Jul 26, 2016 9:21 AM, "Morten Olav Hansen" <morten@dhis2.org> wrote:
If it's config related, it can also be good to run "nginx -t" which will
test the config and return any errors it can see
--
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo http://www.dhis2.org
On Tue, Jul 26, 2016 at 11:15 AM, Bob Jolliffe <bobjolliffe@gmail.com> >>> wrote:
Hi Gerald
You should not touch /etc/nginx/nginx.conf at all. All customisation
is done under sites-enabled.
If your nginx is failing to start the chances are that
/var/log/nginx/error.log will tell you what the problem is.
Bob
On 25 July 2016 at 21:08, gerald thomas <gerald17006@gmail.com> wrote:
> Dear Bob,
> I am still having issue with the dhis2-tool. After replacing the file
> /etc/nginx/sites-enabled/dhis2
> with the link you provided nginx failed to start:
>
> wget
> https://github.com/dhis2/dhis2-tools/blob/master/dhis2-tools/dhis2-tools/usr/share/dhis2-tools/samples/nginx/dhis2
>
> Kindly note that i replaced all dhis with hmis on
> /etc/nginx/nginx.conf file but i am still having issues.
>
> Please i need help. This is the only procedure I had NOT successfully
> create an instance on.
> --
> Regards,
>
> Gerald
>
> _______________________________________________
> Mailing list: DHIS 2 Users in Launchpad
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : DHIS 2 Users in Launchpad
> More help : https://help.launchpad.net/ListHelp
Dear Morten,
Yes i did because Bob said i am using the old version of the tool.
Please can you send a link where i can get the latest version of the
tool because i want to start all over again.
···
On 7/26/16, Morten Olav Hansen <morten@dhis2.org> wrote:
Hi Gerald
What I'm guessing has happened here is that you have download the dhis2
nginx config embedded in github (you can see the doctype there)
--
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo http://www.dhis2.org
On Tue, Jul 26, 2016 at 3:17 PM, gerald thomas <gerald17006@gmail.com> > wrote:
Dear Bob,
This is the error:
inveneo@NMCP:~$ sudo nginx -t
nginx: [emerg] unknown directive "<!DOCTYPE" in
/etc/nginx/sites-enabled/dhis2:41
nginx: configuration file /etc/nginx/nginx.conf test failed
On 7/26/16, Bob Jolliffe <bobjolliffe@gmail.com> wrote:
> What error?
>
> On 26 July 2016 at 10:46, gerald thomas <gerald17006@gmail.com> wrote:
>> Yes Morten it returns an error stating nginx failed.
>>
>> On Jul 26, 2016 9:21 AM, "Morten Olav Hansen" <morten@dhis2.org> >> >> wrote:
>>>
>>> If it's config related, it can also be good to run "nginx -t" which
will
>>> test the config and return any errors it can see
>>>
>>> --
>>> Morten Olav Hansen
>>> Senior Engineer, DHIS 2
>>> University of Oslo
>>> http://www.dhis2.org
>>>
>>> On Tue, Jul 26, 2016 at 11:15 AM, Bob Jolliffe >> >>> <bobjolliffe@gmail.com> >> >>> wrote:
>>>>
>>>> Hi Gerald
>>>>
>>>> You should not touch /etc/nginx/nginx.conf at all. All
>>>> customisation
>>>> is done under sites-enabled.
>>>>
>>>> If your nginx is failing to start the chances are that
>>>> /var/log/nginx/error.log will tell you what the problem is.
>>>>
>>>> Bob
>>>>
>>>> On 25 July 2016 at 21:08, gerald thomas <gerald17006@gmail.com> >> wrote:
>>>> > Dear Bob,
>>>> > I am still having issue with the dhis2-tool. After replacing the
file
>>>> > /etc/nginx/sites-enabled/dhis2
>>>> > with the link you provided nginx failed to start:
>>>> >
>>>> > wget
>>>> > https://github.com/dhis2/dhis2-tools/blob/master/dhis2-tools/dhis2-tools/usr/share/dhis2-tools/samples/nginx/dhis2
>>>> >
>>>> > Kindly note that i replaced all dhis with hmis on
>>>> > /etc/nginx/nginx.conf file but i am still having issues.
>>>> >
>>>> > Please i need help. This is the only procedure I had NOT
successfully
>>>> > create an instance on.
>>>> > --
>>>> > Regards,
>>>> >
>>>> > Gerald
>>>> >
>>>> > _______________________________________________
>>>> > Mailing list: DHIS 2 Users in Launchpad
>>>> > Post to : dhis2-users@lists.launchpad.net
>>>> > Unsubscribe : DHIS 2 Users in Launchpad
>>>> > More help : https://help.launchpad.net/ListHelp
>>>>
>>>> _______________________________________________
>>>> Mailing list: DHIS 2 Users in Launchpad
>>>> Post to : dhis2-users@lists.launchpad.net
>>>> Unsubscribe : DHIS 2 Users in Launchpad
>>>> More help : https://help.launchpad.net/ListHelp
>>>
>>>
>
The link is correct, but as Morten says it links to the html page
which contains the config file. Go with your browser and you will
see. What you need is the raw file as per Morten's link.
Bob
···
On 26 July 2016 at 14:24, gerald thomas <gerald17006@gmail.com> wrote:
Dear Morten,
Yes i did because Bob said i am using the old version of the tool.
Please can you send a link where i can get the latest version of the
tool because i want to start all over again.
On 7/26/16, Morten Olav Hansen <morten@dhis2.org> wrote:
Hi Gerald
What I'm guessing has happened here is that you have download the dhis2
nginx config embedded in github (you can see the doctype there)
--
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo http://www.dhis2.org
On Tue, Jul 26, 2016 at 3:17 PM, gerald thomas <gerald17006@gmail.com> >> wrote:
Dear Bob,
This is the error:
inveneo@NMCP:~$ sudo nginx -t
nginx: [emerg] unknown directive "<!DOCTYPE" in
/etc/nginx/sites-enabled/dhis2:41
nginx: configuration file /etc/nginx/nginx.conf test failed
On 7/26/16, Bob Jolliffe <bobjolliffe@gmail.com> wrote:
> What error?
>
> On 26 July 2016 at 10:46, gerald thomas <gerald17006@gmail.com> wrote:
>> Yes Morten it returns an error stating nginx failed.
>>
>> On Jul 26, 2016 9:21 AM, "Morten Olav Hansen" <morten@dhis2.org> >>> >> wrote:
>>>
>>> If it's config related, it can also be good to run "nginx -t" which
will
>>> test the config and return any errors it can see
>>>
>>> --
>>> Morten Olav Hansen
>>> Senior Engineer, DHIS 2
>>> University of Oslo
>>> http://www.dhis2.org
>>>
>>> On Tue, Jul 26, 2016 at 11:15 AM, Bob Jolliffe >>> >>> <bobjolliffe@gmail.com> >>> >>> wrote:
>>>>
>>>> Hi Gerald
>>>>
>>>> You should not touch /etc/nginx/nginx.conf at all. All
>>>> customisation
>>>> is done under sites-enabled.
>>>>
>>>> If your nginx is failing to start the chances are that
>>>> /var/log/nginx/error.log will tell you what the problem is.
>>>>
>>>> Bob
>>>>
>>>> On 25 July 2016 at 21:08, gerald thomas <gerald17006@gmail.com> >>> wrote:
>>>> > Dear Bob,
>>>> > I am still having issue with the dhis2-tool. After replacing the
file
>>>> > /etc/nginx/sites-enabled/dhis2
>>>> > with the link you provided nginx failed to start:
>>>> >
>>>> > wget
>>>> > https://github.com/dhis2/dhis2-tools/blob/master/dhis2-tools/dhis2-tools/usr/share/dhis2-tools/samples/nginx/dhis2
>>>> >
>>>> > Kindly note that i replaced all dhis with hmis on
>>>> > /etc/nginx/nginx.conf file but i am still having issues.
>>>> >
>>>> > Please i need help. This is the only procedure I had NOT
successfully
>>>> > create an instance on.
>>>> > --
>>>> > Regards,
>>>> >
>>>> > Gerald
>>>> >
>>>> > _______________________________________________
>>>> > Mailing list: DHIS 2 Users in Launchpad
>>>> > Post to : dhis2-users@lists.launchpad.net
>>>> > Unsubscribe : DHIS 2 Users in Launchpad
>>>> > More help : https://help.launchpad.net/ListHelp
>>>>
>>>> _______________________________________________
>>>> Mailing list: DHIS 2 Users in Launchpad
>>>> Post to : dhis2-users@lists.launchpad.net
>>>> Unsubscribe : DHIS 2 Users in Launchpad
>>>> More help : https://help.launchpad.net/ListHelp
>>>
>>>
>
Dear Morten & Bob,
Thanks for your help. I had finally successfully install DHIS2 using
the dhis2-tool.
Morten & Bob,
This is the beginning of a long journey: Our Malaria control program
is running DHIS2 version 2.5 and i will like to upgrade it to version
2.22; then export these information to our National server.
Can i have technical advice on how to achieve this task successfully?
Secondly i want to send the logview to see if there are any errors or
limitation of resource to achieve my goal.
···
On 7/26/16, gerald thomas <gerald17006@gmail.com> wrote:
Dear Morten,
Yes i did because Bob said i am using the old version of the tool.
Please can you send a link where i can get the latest version of the
tool because i want to start all over again.
On 7/26/16, Morten Olav Hansen <morten@dhis2.org> wrote:
Hi Gerald
What I'm guessing has happened here is that you have download the dhis2
nginx config embedded in github (you can see the doctype there)
--
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo http://www.dhis2.org
On Tue, Jul 26, 2016 at 3:17 PM, gerald thomas <gerald17006@gmail.com> >> wrote:
Dear Bob,
This is the error:
inveneo@NMCP:~$ sudo nginx -t
nginx: [emerg] unknown directive "<!DOCTYPE" in
/etc/nginx/sites-enabled/dhis2:41
nginx: configuration file /etc/nginx/nginx.conf test failed
On 7/26/16, Bob Jolliffe <bobjolliffe@gmail.com> wrote:
> What error?
>
> On 26 July 2016 at 10:46, gerald thomas <gerald17006@gmail.com> wrote:
>> Yes Morten it returns an error stating nginx failed.
>>
>> On Jul 26, 2016 9:21 AM, "Morten Olav Hansen" <morten@dhis2.org> >>> >> wrote:
>>>
>>> If it's config related, it can also be good to run "nginx -t" which
will
>>> test the config and return any errors it can see
>>>
>>> --
>>> Morten Olav Hansen
>>> Senior Engineer, DHIS 2
>>> University of Oslo
>>> http://www.dhis2.org
>>>
>>> On Tue, Jul 26, 2016 at 11:15 AM, Bob Jolliffe >>> >>> <bobjolliffe@gmail.com> >>> >>> wrote:
>>>>
>>>> Hi Gerald
>>>>
>>>> You should not touch /etc/nginx/nginx.conf at all. All
>>>> customisation
>>>> is done under sites-enabled.
>>>>
>>>> If your nginx is failing to start the chances are that
>>>> /var/log/nginx/error.log will tell you what the problem is.
>>>>
>>>> Bob
>>>>
>>>> On 25 July 2016 at 21:08, gerald thomas <gerald17006@gmail.com> >>> wrote:
>>>> > Dear Bob,
>>>> > I am still having issue with the dhis2-tool. After replacing the
file
>>>> > /etc/nginx/sites-enabled/dhis2
>>>> > with the link you provided nginx failed to start:
>>>> >
>>>> > wget
>>>> > https://github.com/dhis2/dhis2-tools/blob/master/dhis2-tools/dhis2-tools/usr/share/dhis2-tools/samples/nginx/dhis2
>>>> >
>>>> > Kindly note that i replaced all dhis with hmis on
>>>> > /etc/nginx/nginx.conf file but i am still having issues.
>>>> >
>>>> > Please i need help. This is the only procedure I had NOT
successfully
>>>> > create an instance on.
>>>> > --
>>>> > Regards,
>>>> >
>>>> > Gerald
>>>> >
>>>> > _______________________________________________
>>>> > Mailing list: DHIS 2 Users in Launchpad
>>>> > Post to : dhis2-users@lists.launchpad.net
>>>> > Unsubscribe : DHIS 2 Users in Launchpad
>>>> > More help : https://help.launchpad.net/ListHelp
>>>>
>>>> _______________________________________________
>>>> Mailing list: DHIS 2 Users in Launchpad
>>>> Post to : dhis2-users@lists.launchpad.net
>>>> Unsubscribe : DHIS 2 Users in Launchpad
>>>> More help : https://help.launchpad.net/ListHelp
>>>
>>>
>
That's a bigger chunk of upgrade than most of us would have experience
of. The folk I know who come relatively close to having done this are
in HISP India. Perhaps one of them will reach out with advice.
Cheers
Bob
···
On 26 July 2016 at 14:44, gerald thomas <gerald17006@gmail.com> wrote:
Dear Morten & Bob,
Thanks for your help. I had finally successfully install DHIS2 using
the dhis2-tool.
Morten & Bob,
This is the beginning of a long journey: Our Malaria control program
is running DHIS2 version 2.5 and i will like to upgrade it to version
2.22; then export these information to our National server.
Can i have technical advice on how to achieve this task successfully?
Secondly i want to send the logview to see if there are any errors or
limitation of resource to achieve my goal.
On 7/26/16, gerald thomas <gerald17006@gmail.com> wrote:
Dear Morten,
Yes i did because Bob said i am using the old version of the tool.
Please can you send a link where i can get the latest version of the
tool because i want to start all over again.
On 7/26/16, Morten Olav Hansen <morten@dhis2.org> wrote:
Hi Gerald
What I'm guessing has happened here is that you have download the dhis2
nginx config embedded in github (you can see the doctype there)
--
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo http://www.dhis2.org
On Tue, Jul 26, 2016 at 3:17 PM, gerald thomas <gerald17006@gmail.com> >>> wrote:
Dear Bob,
This is the error:
inveneo@NMCP:~$ sudo nginx -t
nginx: [emerg] unknown directive "<!DOCTYPE" in
/etc/nginx/sites-enabled/dhis2:41
nginx: configuration file /etc/nginx/nginx.conf test failed
On 7/26/16, Bob Jolliffe <bobjolliffe@gmail.com> wrote:
> What error?
>
> On 26 July 2016 at 10:46, gerald thomas <gerald17006@gmail.com> wrote:
>> Yes Morten it returns an error stating nginx failed.
>>
>> On Jul 26, 2016 9:21 AM, "Morten Olav Hansen" <morten@dhis2.org> >>>> >> wrote:
>>>
>>> If it's config related, it can also be good to run "nginx -t" which
will
>>> test the config and return any errors it can see
>>>
>>> --
>>> Morten Olav Hansen
>>> Senior Engineer, DHIS 2
>>> University of Oslo
>>> http://www.dhis2.org
>>>
>>> On Tue, Jul 26, 2016 at 11:15 AM, Bob Jolliffe >>>> >>> <bobjolliffe@gmail.com> >>>> >>> wrote:
>>>>
>>>> Hi Gerald
>>>>
>>>> You should not touch /etc/nginx/nginx.conf at all. All
>>>> customisation
>>>> is done under sites-enabled.
>>>>
>>>> If your nginx is failing to start the chances are that
>>>> /var/log/nginx/error.log will tell you what the problem is.
>>>>
>>>> Bob
>>>>
>>>> On 25 July 2016 at 21:08, gerald thomas <gerald17006@gmail.com> >>>> wrote:
>>>> > Dear Bob,
>>>> > I am still having issue with the dhis2-tool. After replacing the
file
>>>> > /etc/nginx/sites-enabled/dhis2
>>>> > with the link you provided nginx failed to start:
>>>> >
>>>> > wget
>>>> > https://github.com/dhis2/dhis2-tools/blob/master/dhis2-tools/dhis2-tools/usr/share/dhis2-tools/samples/nginx/dhis2
>>>> >
>>>> > Kindly note that i replaced all dhis with hmis on
>>>> > /etc/nginx/nginx.conf file but i am still having issues.
>>>> >
>>>> > Please i need help. This is the only procedure I had NOT
successfully
>>>> > create an instance on.
>>>> > --
>>>> > Regards,
>>>> >
>>>> > Gerald
>>>> >
>>>> > _______________________________________________
>>>> > Mailing list: DHIS 2 Users in Launchpad
>>>> > Post to : dhis2-users@lists.launchpad.net
>>>> > Unsubscribe : DHIS 2 Users in Launchpad
>>>> > More help : https://help.launchpad.net/ListHelp
>>>>
>>>> _______________________________________________
>>>> Mailing list: DHIS 2 Users in Launchpad
>>>> Post to : dhis2-users@lists.launchpad.net
>>>> Unsubscribe : DHIS 2 Users in Launchpad
>>>> More help : https://help.launchpad.net/ListHelp
>>>
>>>
>