-
-
Notifications
You must be signed in to change notification settings - Fork 272
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
Failed to start Papermerge inside Docker #471
Comments
Seeing exactly the same error here.. just installed using the documented portainer method https://docs.papermerge.io/Installation/portainer.html Uncaught (in promise) TypeError: Q.randomUUID is not a function
at ie.te [as _generate] (vendor-fe16d39c99c858dfbe7954f7b52e67f7.js:4727:47)
at ie.createIdentifierForNewRecord (vendor-fe16d39c99c858dfbe7954f7b52e67f7.js:4734:340)
at be._build (vendor-fe16d39c99c858dfbe7954f7b52e67f7.js:4804:12)
at be.build (vendor-fe16d39c99c858dfbe7954f7b52e67f7.js:4801:84)
at vendor-fe16d39c99c858dfbe7954f7b52e67f7.js:4963:18
at U._run (vendor-fe16d39c99c858dfbe7954f7b52e67f7.js:3229:94)
at U._join (vendor-fe16d39c99c858dfbe7954f7b52e67f7.js:3228:234)
at U.join (vendor-fe16d39c99c858dfbe7954f7b52e67f7.js:3194:13)
at vendor-fe16d39c99c858dfbe7954f7b52e67f7.js:4960:119
at U._run (vendor-fe16d39c99c858dfbe7954f7b52e67f7.js:3229:94)
te @ vendor-fe16d39c99c858dfbe7954f7b52e67f7.js:4727
createIdentifierForNewRecord @ vendor-fe16d39c99c858dfbe7954f7b52e67f7.js:4734
_build @ vendor-fe16d39c99c858dfbe7954f7b52e67f7.js:4804
build @ vendor-fe16d39c99c858dfbe7954f7b52e67f7.js:4801
(anonymous) @ vendor-fe16d39c99c858dfbe7954f7b52e67f7.js:4963
_run @ vendor-fe16d39c99c858dfbe7954f7b52e67f7.js:3229
_join @ vendor-fe16d39c99c858dfbe7954f7b52e67f7.js:3228
join @ vendor-fe16d39c99c858dfbe7954f7b52e67f7.js:3194
(anonymous) @ vendor-fe16d39c99c858dfbe7954f7b52e67f7.js:4960
_run @ vendor-fe16d39c99c858dfbe7954f7b52e67f7.js:3229
_join @ vendor-fe16d39c99c858dfbe7954f7b52e67f7.js:3228
join @ vendor-fe16d39c99c858dfbe7954f7b52e67f7.js:3194
createRecord @ vendor-fe16d39c99c858dfbe7954f7b52e67f7.js:4960
onSubmit @ papermerge-096a5e9669979e53a4107446fd672eab.js:236
Debian GNU/Linux 11 (bullseye) |
Looks like a general issue i.e. does not depend on operating system |
Same problem here with Alpine Linux 3.15, Docker Version 20.10.16 and any browser. Backend container logs shows this:
Beside database errors there seem to be connection problems to elastic search. Although from within the container the http based connection seems to be functional:
|
I was able to reproduce the problem. I got exactly same error on frontend side:
I was able to create folders using REST API though. Investigating... |
Found it: Basically the problem is that ember data uses crypto.randomUUID to generate its IDs, however, the randomUUID method (provided by the browser) is available only in so called "secure contexts", which is a fancy way to say - that it is available only when application is served over HTTPS, which in this case is not. The solution is to provide a custom method for generating ember data IDs. |
The fix is now part of 2.1.0a39 docker image. @makaanneo, @4nx could you please check papermerge.js:2.1.0a39 docker image and confirm that indeed it fixes Latest tag for backend docker image is 2.1.0a38 |
@ciur I can confirm that this fixed the problem. |
In case you experience issues with docker image provided by linuxserver.io/papermerge, please open bug report in their repository.
Description
Followed the description in the documentation to get started for setup.
Expected
No exception and application can be used
Actual
error in js - Uncaught (in promise) TypeError: Q.randomUUID is not a function
Info:
The text was updated successfully, but these errors were encountered: