OpenSign icon indicating copy to clipboard operation
OpenSign copied to clipboard

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

Open lnavato opened this issue 10 months ago • 2 comments

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.

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

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct
  • [X] I have searched the existing issues & discussions to make sure that this is not a duplicate.

lnavato avatar Jan 16 '25 08:01 lnavato

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

lnavato avatar Jan 21 '25 08:01 lnavato

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

nxglabs avatar Jan 21 '25 19:01 nxglabs