Dear all,
after login we receive the following error message:
This shows independent of the browser used (we tested Firefox, Chrome and Edge).
No further issues from that after clicking “dismiss” but we would like to get rid of it. Any ideas how we could fix this?
Best regards,
Julia
Note: we are using openBIS 20.10.9 as a multi-group instance
Dear Julia,
welcome.html file is a placeholder file which we introduced in 20.10.9 to improve customization of ELN. It appears that our upgrade script didn’t handle this file well enough.
To get rid of this error, please create empty welcome.html
file in the following directory:
<<openbis_installation_directory>>/servers/core-plugins/eln-lims/12/as/webapps/eln-lims/html/etc/
That should resolve your issue.
Best,
Adam
1 Like
Dear Adam,
I did create the welcome.html (according to your instructions) and the error message is not showing anymore.
But creating welcome.html destroyed our login page. We changed the logo to our own picture:
This is not shown anymore.
I cannot identify the reason for this. I checked the picture, the reference and the rights which are all correct and the same as before.
Can you help me with this?
Best,
Julia
Dear Julia,
Could you check if removal of welcome.html
brings back the login page image?
I don’t know of your configuration but I assume it is either:
- changed default login image (which is
<<openbis_installation_directory>>/servers/core-plugins/eln-lims/12/as/webapps/eln-lims/html/img/openBIS_Logo.png
)
- Added path to the new logo image in
<<openbis_installation_directory>>/servers/core-plugins/eln-lims/12/as/webapps/eln-lims/html/etc/InstanceProfile.js
(it should be in mainLogo
variable)
Could you also check if image(s) and InstanceProfile.js is not corrupted?
Best,
Adam
Dear Adam,
yes, removal of welcome.html brings back the image. Both are not corrupted.
We added the img in xxx and changed the path to our new logo in ’
<<openbis_installation_directory>>/servers/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/config/Profile.js'
Variable is mainLogo:
(Here set back to original bc of my trouble shooting)
Its a different file than you are referring to. I checked our InstanceProfile.js and it does not contain a mainLogo variable?!
Also I was wondering why to work on
<<openbis_installation_directory>>/servers/core-plugins/eln-lims/12/
we always chose …/1/… but at least in this case it makes no difference (I tested it).
Thanks for your help!
Julia
Dear Julia,
If that’s the case, we will change the logic of loading welcome page. However, the fix will be included in the next minor release. In the meantime, I would recommend disabling the load of the welcome page altogether. If you go to:
<<openbis_installation_directory>>/servers/core-plugins/eln-lims/12/as/webapps/eln-lims/html/js/controllers/MainController.js
and comment line 1154:
content.load("./etc/welcome.html");
It would get rid of the call that causes the issue.
P.S
- Profile.js is another good place where mainLogo can be set, no damage is done
- choosing …/1/… or …/12/… should not matter since directories are symlinked This numbering is for internal versioning scheme only.
1 Like
Dear Adam,
thanks a lot for your help!
This solved the issue
Best,
Julia