Skip to content
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

[Bug]: unsupported expression in partial index: $or #1536

Open
3 tasks done
lnavato opened this issue Jan 16, 2025 · 2 comments
Open
3 tasks done

[Bug]: unsupported expression in partial index: $or #1536

lnavato opened this issue Jan 16, 2025 · 2 comments
Assignees
Labels
bug Something isn't working up-for-grabs

Comments

@lnavato
Copy link

lnavato commented Jan 16, 2025

Issue Description

Encountered the same issue as #646 and tried doing the resolution recommended, which is reinstalling again but the issue still persist. Also checked the docker logs and appears that there's an unsupported expression in partial index: $or. Maybe the reason i cannot upload a file. Tried editing the createContactIndex.js but modification on it does not reflect.

Something went wrong - OpenSign

Image

Expected Behavior

I will be able to view the file uploaded

Current Behavior

Whenever i tried to upload a file it always prompt the Error: Something went wrong! and won't load the file

Steps to reproduce

Installed docker then git cloned the repository of opensign on my own server (Ubuntu). I changed the docker-compose.yml, .env.prod and Caddyfile's configuration by putting my server's IP to server_url/public_url/host url. I also changed the mongo version to 4.4 as the latest requires AVX support and my server does not have that. Tried also editing createContactIndex.js but to no avail i can't modify the file.
caddyfile
docker-compose
envprod

Screenshots of the issue(optional)

No response

Operating System [e.g. MacOS Sonoma 14.1, Windows 11]

Ubuntu 22.04.5 LTS

What browsers are you seeing the problem on?

Microsoft Edge

What version of OpenSign™ are you seeing this issue on? [e.g. 1.0.6]

v.2.6.0

What environment are you seeing the problem on?

Dev (localhost or vercel)

Please check the boxes that apply to this issue report.

  • I have searched the existing issues & discussions to make sure that this is not a duplicate.

Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I have searched the existing issues & discussions to make sure that this is not a duplicate.
@lnavato lnavato added bug Something isn't working up-for-grabs labels Jan 16, 2025
@lnavato lnavato changed the title [Bug]: Error: Something went wrong! [Bug]: unsupported expression in partial index: $or Jan 17, 2025
@lnavato
Copy link
Author

lnavato commented Jan 21, 2025

tried registering my server to our DNS, file already uploaded and can be viewed

@nxglabs
Copy link
Contributor

nxglabs commented Jan 21, 2025

Looks like mongo version compatibility issue. Please upgrade mongodb version 7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working up-for-grabs
Projects
None yet
Development

No branches or pull requests

3 participants