Comments (12)
Hi,
what is the value of the environment variable FLASK_APP
in the .env
file?
from fittrackee.
Hi, it is FLASK_APP=fittrackee/__main__.py
.
from fittrackee.
Hi,
Thanks for your answer. The value is correct.
Have any changes been made to the configuration?
The container should start up without having to make any changes to the .env
file after copying it from .env.docker
.
from fittrackee.
Hi,
No, I haven't changed any configuration in the env
file, I only changed the volumes and ports in the docker-compose. Regarding the .env.docker
file, I haven't copied it to .env
- the docker-compose contains this:
env_file:
- .env.docker
from fittrackee.
Hi,
can you try with .env
instead (see documentation)?
Some shell scripts source the .env
file.
from fittrackee.
Hi,
I followed the documentation:
git clone https://github.com/SamR1/FitTrackee.git
cd FitTrackee
cp .env.docker .env
make docker-build
- I updated the
docker-compose-dev.yml
(the volumes and ports) make docker-init
But I got this error: OCI runtime exec failed: exec failed: unable to start container process: exec: "docker/init-database.sh": stat docker/init-database.sh: no such file or directory: unknown make: *** [Makefile:64: docker-init-db] Error 126
but I can see the init-database.sh
file in the docker
subdirectory. In the logs in fittrackee container I can still see the error: Error: Failed to find Flask application or factory in module '__main__'. Use '__main__:name' to specify one.
I am trying to run it on Raspberry Pi and I also can see the terminal ...platform (linux/amd64) does not match the detected host platform (linux/arm64/v8)...
- not sure if this can be a problem.
from fittrackee.
Hi,
does adding the platform in docker-compose-dev.yml
solve the issue?
from fittrackee.
Hi,
I tried this:
fittrackee:
container_name: fittrackee
platform: "linux/arm64"
build:
context: "."
platforms:
- "linux/arm64"
... but the same issue.
from fittrackee.
Hi,
Is it the same error?
Python image should exist for linux/arm64/v8
.
from fittrackee.
Hi,
yes, it was the same error.
from fittrackee.
Hi,
3.10
tag corresponds to 3.10.14-bookworm
. Perhaps another python image may work. Or additional modifications may also be required in the Docker file.
I'm sorry I can't find an immediate solution, and I don't have a Raspberry Pi available with Raspbian to investigate the issue :/.
I'll try to find one.
from fittrackee.
I was not able to fix the issue.
from fittrackee.
Related Issues (20)
- Add recurrent workout
- Redis is no longer Free Software HOT 1
- [translations request] Portuguese HOT 1
- [Feature] Improved statistics section with average calculation HOT 3
- Installation from Sources Install Issues HOT 1
- Registration doesn't sent account confirmation email HOT 3
- http_proxy - how to make the app backend use http proxy? HOT 1
- Configure FitoTrack to use FitTrackee HOT 3
- GPX-Import HOT 9
- RuntimeError: Either 'SQLALCHEMY_DATABASE_URI' or 'SQLALCHEMY_BINDS' must be set (.env is correct and sourced) HOT 2
- Add swim activities HOT 2
- why email as login?
- Use Proxy auth?
- Help on setting up workers HOT 1
- Issue with garmin bridge HOT 1
- Make Analysis graphs zoomable using Plotly HOT 1
- Add support for segments HOT 3
- Statistics - add the ability to select dates
- No maps after update HOT 4
- Figure out workout type from a GPX file HOT 1
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 fittrackee.