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]: Note could not be be created. Please try again. #155

Closed
peaklabs-dev opened this issue Oct 10, 2024 · 2 comments
Closed

[Bug]: Note could not be be created. Please try again. #155

peaklabs-dev opened this issue Oct 10, 2024 · 2 comments

Comments

@peaklabs-dev
Copy link

I am finishing your template for Coolify and I keep getting this error:

Note could not be created.
Please try again.

Could you please deploy your service using the docker compose empty deploy type and fix this error. I believe this error is not related to Coollify, if it is please let me know what the problem is (maybe volume mounts?) and I will fix it.

Compose file:

# documentation: https://github.com/cupcakearmy/cryptgeon
# slogan: Secure note / file sharing service inspired by PrivNote.
# tags: cryptgeon, secure, note, sharing, privnote, file, sharing
# logo: svgs/cryptgeon.png
# port: 8000

services:
  app:
    image: cupcakearmy/cryptgeon:latest
    environment:
      - SERVICE_FQDN_CRYPTGEON_8000
      - SIZE_LIMIT=${SIZE_LIMIT:-4 MiB}
      - MAX_VIEWS=${MAX_VIEWS:-100}
      - MAX_EXPIRATION=${MAX_EXPIRATION:-360}
      - ALLOW_ADVANCED=${ALLOW_ADVANCED:-true}
      - ALLOW_FILES=${ALLOW_FILES:-true}
    depends_on:
      redis:
        condition: service_healthy
    healthcheck:
      test:
        - CMD
        - curl
        - "--fail"
        - "http://127.0.0.1:8000/api/live/"
      interval: 1m
      timeout: 3s
      retries: 2
      start_period: 5s

  redis:
    image: redis:7-alpine
    command: "redis-server --maxmemory 200mb --maxmemory-policy allkeys-lru"
    healthcheck:
      test:
        - CMD
        - redis-cli
        - PING
      interval: 5s
      timeout: 10s
      retries: 2
@cupcakearmy
Copy link
Owner

Hey, thanks for taking care and being proactive!

I just tested it on an empty project, and for me if I just pase the compose file (projects -> myproject -> new -> Docker Based -> Docker Compose) and deploy without changing anything it works.

Are you testing locally? because https:// is required, so depending on your local setup it might not work for that reason.
I tested on a live domain with valid certificates and works.

Any other way I can help?

@peaklabs-dev
Copy link
Author

Thanks for the quick reply. Yes, I develop and test locally. If https is required then we know the cause as https on local dev is kind of a pain I use http. I will enable the template then. You can track the release via this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants