Consult several problems encountered in the use of DMX5

Consult several problems encountered in the use of software

  1. When I used webclient to modify the user’s password, I found that it was encrypted. So how to modify the user password?

  2. I applied for a domain name, such as www.x.com, and bound the domain name to the server’s IP address. When I first visited it, I could access it normally with www.x.com, but when I set up a workspace and a topic map, I would make an error if I only entered the domain name as follows:

————————————————————————————

{“exception”: “com.sun.jersey.api.NotFoundException”, “message”: "null for uri: http:\39.98.184.146\\\\\\\\

————————————————————————————

You must enter www.x.com/systems.dmx.webclient/ to access it properly. I don’t know why?

  1. I have created a new composite topic type “Doctor”, and created several simple topic types, such as Name, Work unit,Major, Position, Education, Graduation school, etc., and created association with “Doctor”. I hope that all the new instances of “Doctor” topic type can automatically generate the association without manual work. For example, there is a Doctor named “Tom” who graduated from “Harvard Medical College”. Then “Tom” and “Harvard Medical College” automatically have a association “graduated”,but now I have to create every association manually. I don’t know how to solve this problem.
    thank you very much!

As of DMX 5.0 beta-5 changing a password through the DMX Webclient does not work. That’s a known bug and will presumably be fixed in upcoming beta-6.
See https://git.dmx.systems/dmx-platform/dmx-platform/issues/97

  1. […] You must enter www.x.com/systems.dmx.webclient/ to access it properly. I don’t know why?

To open the DMX Webclient the URL must contain /systems.dmx.webclient/. That’s the expected behavior.

Please tell us if the DMX documentation is unclear resp. is missing information. See in particular the chapter “Installation”: https://dmx.readthedocs.io/en/latest/install.html

At your server you could run DMX behind a reverse proxy. You would configure it so that it redirects to /systems.dmx.webclient/ automatically. (This is how e.g. the https://dev.dmx.systems and https://demo.dmx.systems installations are setup). If you need more info our sys admin @jpn could provide you more info.

  1. I have created a new composite topic type “Doctor”, and created several simple topic types, such as Name, Work unit,Major, Position, Education, Graduation school, etc., and created association with “Doctor”. I hope that all the new instances of “Doctor” topic type can automatically generate the association without manual work. For example, there is a Doctor named “Tom” who graduated from “Harvard Medical College”. Then “Tom” and “Harvard Medical College” automatically have a association “graduated”,but now I have to create every association manually. I don’t know how to solve this problem.
    thank you very much!

As modeler you can create composite types by the means of “Composition Definition”. This gives the content author a complex form to fill in then (see e.g. the “Person” form). On form submission DMX creates a corresponding semantic network of topics and associations in the DB then. In a lot of cases the user is not required to create associations manually.

Please see also the particular response in DMX 5.0-beta-2 released.

Please tell us if the DMX documentation is unclear resp. is missing information. See in particular the chapter “Modeling”: https://dmx.readthedocs.io/en/latest/user.html#modeling

Hi Liangbing,

regarding your question about running DMX behind a reverse proxy. please see the documentation chapter https://dmx.readthedocs.io/en/latest/admin.html#running-dmx-behind-an-apache-reverse-proxy.

For a public installation it is highly recommended to operate DMX behind a reverse proxy with SSL enabled. If you need further help on this, please let me know.

Dear jpn:

    Thank you for your patient answer. I have solved the problem.

I’d like to change the default admin password of beta-6, but changing a password through the DMX Webclient doesn’t seem to work yet.

I can’t acknowledge that. Changing password through DMX Webclient works since beta-6.

Reveal the existing “admin” User Account topic – not a Username or Password topic – and press Edit. Enter the new password and press Save. DMX stores the new password in hashed form then. The new password is active now. Logout and try login with new password.

image

1 Like

Many thanks for this clarification. I had tried to edit the wrong topic. Next question: I locked myself (admin) out with a password generated by my password manager. Which password complexity requirements must be met? (regarding length, character types, etc.)

Regarding changing password, do you think the user guide should be improved?

At the moment DMX does not impose any password requirements.

Yes, perhaps the User Guide should describe how to change the password of a user account. (By the way, I cannot reproduce the situation described above. Could now set a new Admin passwort without locking me out.)

Hi, sure, I will add this to the User Guide! Please mention me when the documentation lacks information so that I get a notification about your conversation. :wink:

Hello again @RalfBarkow ! The documentation now has a subsection about changing user passwords:
https://dmx.readthedocs.io/en/latest/user.html#changing-a-password

1 Like

Great! Many thanks @sme !