-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SynchWeb software configuration issues #809
Comments
That part of the config file is to do with authentication, not the data. Data just needs to be mounted at the path given in the database. |
@ndg63276 |
Yes, for example, https://github.com/DiamondLightSource/ispyb-api |
@ndg63276
|
You can set
to test, then any password will work as long as the username is valid. If you want to use |
@ndg63276 |
Ok, so you need to set
and I presume you have populated some rows of the Person table with If you want more help you need to show either the server log or the dev console in your browser, I'm not psychic. |
@ndg63276 |
There is code for LDAP included, you would have to set
However I am not an LDAP expert nor am I familiar with your LDAP settings so I cannot help much with that. I strongly suggest you set You might need to paste all your config.php file here (apart from database password obviously) so I can see if I can replicate what you have. |
@ndg63276 Thank you for your continued guidance, really much appreciated. |
I don't see why you cannot use simple authentication, it just looks at the Synchweb doesn't do anything with MXCube, we use GDA here, and GDA talks directly to the ISPyB database. We see EDNA results in Synchweb, but again, they have to be pushed into the database by something running the EDNA process. |
For integration with MXCube, you might want to check with Elettra, the Italian synchrotron, because they have been using SynchWeb and MXCube together. It's not really a question of integrating SynchWeb with MXCube, but rather how to make MXCube write to the ISPyB database without the old Java/Wildfly webservices (unless you want the pain of installing, configuring and maintaining those as well). I believe Elettra was using our ispyb-api together with custom code. |
@ndg63276
But when I click on the page to log in, there is no log.txt file in the /tmp folder. Access on the dev console debug interface in my browser (https://10.30.62.223:8082/client/api/users/current) response is
Access on https://10.30.62.223:8082/client/api/authenticate
Access on https://10.30.62.223:8082/client/api/authenticate this url,php The authenticate function in the Dummpy.php file should be called, but from the above, is it not called? My config.json is as follows
} |
If I add your code to my Dummy.php file, I get the /tmp/log.txt file as expected. You can use the Dont worry about the config.json file for now, only the config.php file. |
@ndg63276 2.Also, in the dockerfile deployment, how do we need to change the api_url field in the config_sample.json, whether its value is /client/api, or /api? Looking forward to hearing from you. Best Regards |
The Dockerfile is not up to date, have a look at https://github.com/DiamondLightSource/synchweb-devel-env for PHP7 versions. My |
@ndg63276 Now we visit /Clint/Login and will redirect directly to authorise, showing Status: Reddy Rectin Tokas. The authentication mode of the background configuration is dummy.Do you know what the reason is? My front-end code also tried to block the authentication judgment of login routes in src/js/app/router/router.js, but it didn't work, I don't know why. The change I made was to delete the 62 lines, change value for false,the original value is true. |
I don't know what "Reddy Rectin Tokas" means, can you double check the spelling? |
@ndg63276 |
Make sure to set Also delete |
@ndg63276 |
The 2 boxes you have outlined in red are meant to show a snapshot of the crystal, and a jpeg version of the diffraction image. The crystal snapshot is just the contents of the The diffraction jpeg you have to generate yourself outside of Synchweb, using something like mosflm. You can also generate a thumbnail version if you like. Then you have to set these values in the config.php file to say where the jpegs are stored:
If you don't want a separate thumbnail, just set them to the same thing. For your example screenshot above, it would expect a file at |
@ndg63276 The pipeline2ispyb.py scripts in this library(https://github.com/DiamondLightSource/ispyb-api) are too old, and there will be a lot of database table-related errors when I run them, I don't know if you have a relatively new case script, thank you. Best regards, |
I only deal with Synchweb, not how data is inserted into the database. But I'm sure there are many ways to insert data into a database, the MariaDB docs (eg https://mariadb.com/kb/en/insert/) can help you. |
@ndg63276 The same problem as the CBF file is that our data processing software, such as: autoproc, xia2-xds, are run alone, and the data will be processed after getting the data, I can get the file of the result of data processing, or the log file, the results in the file also need to be parsed by myself, is there any script that can help me parse and automatically upload to the database, this problem has been bothering me for a long time, my own data has not been able to upload to the database, Can you give me some advice? Thank you mark. |
Hello, when you generate the CBF image, you can use a separate program like mosflm to generate a jpeg version of the diffraction image. You then need to set these variables in config.php:
Then it would expect your jpegs to be in some location like:
based on your example screenshot. |
@stuartcampbell @ndevenish @markbasham @jlmuir @isikhar
Dear everyone,
I have some questions during the configuration of Synchweb below.
1.The data collected by our beamline station is stored locally, how should I get the data source?
2.Whether the data source is obtained depends on the configuration(config.php) here
3.Does the syncweb software include data processing functions, can I use the data processing software to process the results first, and then use the syncweb to display the data, do I need to configure some other software that provides data processing?
The text was updated successfully, but these errors were encountered: