Version = 25.10.23.3022
Environment = Linux Server Docker (https://hub.docker.com/r/cronet/manager.io)
Hosting = Self hosted local network.
I recently updated my version to the latest docker release version and ever since that update I am unable to use the email and pdf functions. After doing some network troubleshooting I found that if the server version is not based on https url the buttons just flat out don’t work when you click on them. This goes for local ip address such as 192.168… Did not try localhost as i have a server for this purpose.
After some research on this error when clicking the buttons would pop up in the console for my browser.
async function sha256Hex(str) { const data = new TextEncoder().encode(str); const hash = await crypto.subtle.digest('SHA-256', data); return Array.from(new Uint8Array(hash)).map(b => b.toString(16).padStart(2, '0')).join(''); }
*Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘digest’) on the crypto.subtle line
*
This led me to the conclusion of the https issue with the app now. Once that was resolved by setting up my proxy to forward on https this error went away and was replaced with this error from chrome. This might not be the case for everyone I understand but the call out is that they server needs to be on a https url for the buttons to work.
Chromium distribution 'chrome' is not found at /opt/google/chrome/chrome Run "pwsh bin/Debug/netX/playwright.ps1 install chrome"
By installing chromium in the docker with this command (replace the container name)
docker exec -it <container_name> bash -c “apt-get update && apt-get install -y chromium && mkdir -p /opt/google/chrome && ln -s /usr/bin/chromium /opt/google/chrome/chrome”
I was able to resolve all issue with PDF and Email functions and now the buttons work as expected in the newest release.
