Comments (7)
Hey guys I solved the issue by separating out the RUN commands in the celeryworker.dockerfile, like this:
RUN python -m pip install --no-cache-dir --upgrade pip "pipx==$PIPX_VERSION"
RUN pipx install "hatch==$HATCH_VERSION"
RUN hatch env prune && hatch env create production
RUN chmod +x /app/worker-start.sh
from full-stack-fastapi-mongodb.
Hey @aidancahill, thanks for your patience on this issue.
To start, could you share if you have the file /app/worker-start.sh
in your backend directory? In your generated app the pathname should look like this {project_name}/backend/app/worker-start.sh
? If not that may be the root issue. It may have been accidentally deleted or removed. Let me know if that helps. If not, we can follow up with this in a formal JIRA ticket.
from full-stack-fastapi-mongodb.
Hey @Jibola,
Thanks for taking the time,
Yes in the directory {project_name}/backend/app/, I have a worker-start.sh. I was pretty sparse with the amount of context I provided in the original post, happy to provide any additional generated files to replicate the bug.
(The content of worker-start.sh)
#! /usr/bin/env bash
set -e
hatch run python /app/app/celeryworker_pre_start.py
hatch run celery -A app.worker worker -l info -Q main-queue -c 1
from full-stack-fastapi-mongodb.
I have the same issue.
from full-stack-fastapi-mongodb.
I am also getting this issue.
from full-stack-fastapi-mongodb.
Thanks @csouflis! I opened https://jira.mongodb.org/browse/PYTHON-4351 to track this bug.
from full-stack-fastapi-mongodb.
I applied the change in #38.
from full-stack-fastapi-mongodb.
Related Issues (14)
- Frontend container does not hot-reload for local development HOT 2
- "Phantom Login" On generated app with magic link sign up HOT 1
- Models are out of date with the new pydantic modeling paradigm from pydantic 2.0 HOT 2
- Should make use of SecretStr for any Token or Password fields HOT 3
- useSearchParams() should be wrapped in a suspense boundary HOT 2
- Unused AgnosticDatabase in Method Signatures HOT 1
- pydantic.errors.PydanticUserError HOT 6
- Possible error in the code base HOT 4
- Example stack: unable to login with "[email protected]"and changethis pwd HOT 4
- TypeError: CRUDUser.is_active() missing 1 required positional argument: 'user' HOT 1
- backend exits "TypeError: type 'types.UnionType' is not subscriptable" HOT 1
- Recommended way to run the docker-compose HOT 1
- (frontend) npm audit 12 vulnerabilities (4 moderate, 7 high, 1 critical) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from full-stack-fastapi-mongodb.