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 <mor...@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) > > Please try this url instead: > https://raw.githubusercontent.com/dhis2/dhis2-tools/master/dhis2-tools/dhis2-tools/usr/share/dhis2-tools/samples/nginx/dhis2 > > -- > 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 <gerald17...@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 <bobjolli...@gmail.com> wrote: >> > What error? >> > >> > On 26 July 2016 at 10:46, gerald thomas <gerald17...@gmail.com> wrote: >> >> Yes Morten it returns an error stating nginx failed. >> >> >> >> On Jul 26, 2016 9:21 AM, "Morten Olav Hansen" <mor...@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 >> >>> <bobjolli...@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 <gerald17...@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: https://launchpad.net/~dhis2-users >> >>>> > Post to : dhis2-users@lists.launchpad.net >> >>>> > Unsubscribe : https://launchpad.net/~dhis2-users >> >>>> > More help : https://help.launchpad.net/ListHelp >> >>>> >> >>>> _______________________________________________ >> >>>> Mailing list: https://launchpad.net/~dhis2-users >> >>>> Post to : dhis2-users@lists.launchpad.net >> >>>> Unsubscribe : https://launchpad.net/~dhis2-users >> >>>> More help : https://help.launchpad.net/ListHelp >> >>> >> >>> >> > >> >> >> -- >> Regards, >> >> Gerald >> > -- Regards, Gerald _______________________________________________ Mailing list: https://launchpad.net/~dhis2-users Post to : dhis2-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-users More help : https://help.launchpad.net/ListHelp