need help with webapp

anwoke8204
Posts: 1
Joined: Fri Apr 19, 2013 7:09 am

need help with webapp

Postby anwoke8204 » Fri Apr 19, 2013 7:13 am

hi, I installed OCS Inventory on my Amahi machine, but when I try to go to myhost/ocsreports, it redirects to the amahi control panel, ive tried creating a custom webapp but that didn't work either. OCSInventory installs under /usr/share/ocsinventory-reports/ocsreports/ Ive even tried creating a symbolic link from the custom webapp located in /var/hda/web-apps/ocsreports/html/ and linked it to the directory ocsinventory is installed in, but nogo. What do I need to do so I can access OCSInventory? Preferably as a web app, and have it show up on the home page?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: need help with webapp

Postby bigfoot65 » Fri Apr 19, 2013 8:30 am

What you are trying to do is a little complicated, especially if you are not an advanced Linux user. The guidance below does help a little with how to create a web app:

https://wiki.amahi.org/index.php/Webapps

If you are looking for step by step instructions on how to make this work, you probably won't find any. Best thing I can say is if you can install it to the html directory stated in the link above, it should work. Otherwise things get a bit more difficulty. Need to ensure all the files are owned by apache:users as well.

Hope this helps.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

rdagijones
Posts: 274
Joined: Thu Jan 26, 2012 7:56 am

Re: need help with webapp

Postby rdagijones » Wed Sep 25, 2013 3:09 am

Is it ok to resurrect this post?

I saw that OCS Inventory NG is an Alpha webapp but has not been updated for a year. I would like to try it in my network. I too have created the symbolic links in the /var/hda/web-apps/ocs-inventory/html directory but I am assuming that I need to make a .htaccess file to make the connection for Amahi. Has anyone had success with getting OCS Inventory NG working?

I want to use if for software deployment within GLPI. I have had problems with Fusioninventory and want to try another avenue.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: need help with webapp

Postby bigfoot65 » Wed Sep 25, 2013 5:21 am

It's on the list of apps to work. I will try to take a look at it soon.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

rdagijones
Posts: 274
Joined: Thu Jan 26, 2012 7:56 am

Re: need help with webapp

Postby rdagijones » Wed Sep 25, 2013 6:51 am

I don't mind helping to figure out how to get it working. So how do I make the connection?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: need help with webapp

Postby bigfoot65 » Wed Sep 25, 2013 7:13 am

I have no idea. Until I look at the app, cannot offer much on how it's used or configuration steps needed. You can check the vendor's web site for assistance I suppose.

Just to be clear, there is no guarantee I will get to this immediately.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 43 guests