bheisig / i-doit-docker

Dockerized i-doit CMDB
GNU Affero General Public License v3.0
25 stars 13 forks source link

Object browser show no objects --- File does not exist: /var/www/html/cmdb/browse/objectType/31 #7

Open alexei-matveev opened 4 years ago

alexei-matveev commented 4 years ago

Expected behavior

Object browser shows objects

Actual behavior

Object browser shows none

Steps to reproduce the behaviour

Spin up a fresh instance, 1.15 or 1.14 --- same behaviour. Add a couple of servers try linking them with Person Groups or Service. You get an object browser popup with no actual objects. Independent of version --- that maybe an indication of an issue in infrastructure (Image?). See here for an exact setup: https://github.com/alexei-matveev/hello-idoit

The message like this

File does not exist: /var/www/html/cmdb/browse/objectType/31

is a strange thing to get from a MySQL based product ...

Environment

Question Answer
i-doit version 1.14

Same behaviour with 1.15 too ..

Server logs

10.42.0.1 - - [23/Oct/2020:18:39:20 +0000] "POST /?mod=cmdb&popup=browser_object_relation&ajax=1 HTTP/1.1" 200 9302 [Fri Oct 23 18:39:20.867626 2020] [core:info] [pid 28] [client 10.42.0.1:33960] AH00128: File does not exist: /var/www/html/cmdb/browse/objectType/31, referer: http://idoit.localhost/?call=category&objID=28&viewMode=1002&tvMode=1006&catgID=78&page=1&filtered=1&tableFilter%5Boperation%5D=-1 10.42.0.1 - - [23/Oct/2020:18:39:20 +0000] "POST /cmdb/browse/objectType/31 HTTP/1.1" 404 277

MeinAccount commented 2 years ago

The problem is AllowOverride None in the Apache vHost configuration. Changing it to AllowOverride All loads the configuration from i-doit's .htaccess.