Enonic version: 6.9.4
OS: WIN
I installed the "Server status admin tool " APP and got this error:
//runar
I installed the "Server status admin tool " APP and got this error:
//runar
I get the same error now. Im pretty sure if worked right after I installed it
Can either of you tell me more about your environment? Are you both on Windows?
Its the same error on Ubuntu when vhost is enabled
We are on Windows yes
I got the same problem on my Mac. It does seem to be an issue with vhosts. When I add /* to the end of the admin.source then it works.
mapping.admin.host = localhost
mapping.admin.source = /admin/*
mapping.admin.target = /admin
mapping.admin.userStore = system
I also noticed that the app name looks a bit off. âroot project âstatusââ - see screenshot. The app name is just âStatusâ on my local development project.
I can also confirm the strange app name.
The strange app name comes from new format of creating displayName for apps in Gradle 3 compared to Gradle 2. Using the included gradle wrapper might fix issue. If not, project needs some updated config files.
So whatâs the gradle 3 way and whatâs the gradle 2 way?
Hi Michael!
Gradle 2 reads the displayName of the app from gradle.properties
, while Gradle 3 doesnât so you need to set it directly in the build.gradle
file. Like so:
app {
name = project.appName // Still read from gradle.properties
displayName = 'This shows up in XP admin'
vendorName = 'Enonic AS'
vendorUrl = 'https://enonic.com'
}