Please find attached the docker compose file (I’ve just hidden the password). I barely modified it from original github version, except that I commented out the attachment server.
My local mariadb server is configured such as ITUserName and MasterUsername have been granting permissions from any host (I have not mastered docker yet so I do not control how IP is assigned to just-specify7 container, so for testing purpose I opened everything).
Can you try to deploy version 7.9.0 and inform us if the issue persists?
To do this, replace the image: for the specify7 and specify7-worker sections in the docker-compose.yml file with the following:
image: specifyconsortium/specify7-service:v7.9.0
Once you have made this change, pull the image and rebuild the containers. If you are still encountering the issue after using this version, please let us know!
I’m unearthing this thread.
I’ve updated the docker-compose.xml to latest for both specify7 and specify7-worker services. I still have systematic encoding error when running queries or when trying to display the DataObjFormatters.
I could do with some guidance to understand in which part of the database do I have encoding issue ? and how to fix it ?
My colleagues aren’t having the issues with the queries with SP6.
Can you send an export of your spappresource and spappresourcedata tables in your database? From there, we can extract the DataObjFormatters resource and investigate if an encoding problem elsewhere may be causing an issue.
Thank you for your patience! I was able to verify that the UTF-8 file was damaged or incorrectly formed, which meant I had to remove the resource manually.
I suspect this resource was formed incorrectly when it was updated. This can happen in extremely rare circumstances when a table’s format or aggregation was edited using the Schema Configuration tool in Specify 6.
First, I made a backup of the resource and opened it in BBEdit. I recovered the contents and created a correctly formatted resource (for use later):
After this, I removed the invalid app resource using SQL. Note that this specifically removes the app resource and app resource data for this record only.
DELETE FROM spappresourcedata WHERE SpAppResourceDataID = 7;
DELETE FROM spappresource WHERE SpAppResourceID = 7;
After this, I was able to verify that I could safely search and view all other app resources. I then recreated the DataObjFormatters app resouce by adding it under Botany in the app resource viewer hierarchy.
Now the record formatters appear as expected and the issue is resolved! Queries are running successfully and records are formatted as one would expect.
Thank you again for your patience and for sharing a copy of your database with me!