Comments (8)
The error no configuration file provided: not found
usually comes, when you do not run the docker compose
command in the directory, where the docker-compose.yml
is located.
from teslamate.
The error
no configuration file provided: not found
usually comes, when you do not run thedocker compose
command in the directory, where thedocker-compose.yml
is located.
Thanks for that info @DrMichael.
Since I am using Portainer with Stacks, Portainer seems to create the docker-compose.yml
& .env
files under /var/lib/docker/volumes/portainer_data/_data/compose/X/vY
where X
is a folder for each separate Stack and vY
is the incremental version for that Stack, as each change/configuration is re-deployed.
In my case the current path to the latest Stack version containing the most up-to-date docker-compose.yml
& .env
files is: /var/lib/docker/volumes/portainer_data/_data/compose/53/v16
(yes, I made a lot of tuning and re-deployments LOL)
After the teslamate.bck
backup file was copied to that folder, I accessed the folder as root and attempted to issue multiple import commands (using all possible names for the postgres database) with no success:
root@server:/var/lib/docker/volumes/portainer_data/_data/compose/53/v16# sudo docker compose exec -T database psql -U teslamate -d teslamate < teslamate.bck
service "database" is not running
<<< ERROR
root@server:/var/lib/docker/volumes/portainer_data/_data/compose/53/v16# sudo docker compose exec -T postgres psql -U teslamate -d teslamate < teslamate.bck
service "postgres" is not running
<<< ERROR
root@server:/var/lib/docker/volumes/portainer_data/_data/compose/53/v16# sudo docker compose exec -T teslamate-postgres psql -U teslamate -d teslamate < teslamate.bck
service "teslamate-postgres" is not running
<<< ERROR
Any other suggestions?
from teslamate.
What gives docker compose ps
?
from teslamate.
No support for portainer
from teslamate.
What gives
docker compose ps
?
@JakobLichterfeld why did you close this ticket? Does it say anywhere in the teslamate documentation that managing Docker with Portainer is not supported, or is this your decision? Also all commands are done via SSH and directly using Docker and Docker Compose, just like the manual says.
@DrMichael, here is the formatted output of Docker ps
(using docker ps --format "table {{.ID}}\t{{.Names}}\t{{.Image}}\t{{.Ports}}"
for legibility). I blurred out other unrelated containers...
I even tried using the container ID instead of "database" and same result:
sudo docker compose exec -T aa9613a55758 psql -U teslamate -d teslamate < teslamate.bck
service "aa9613a55758" is not running
Hoping you have another suggestion...
from teslamate.
https://docs.teslamate.org/docs/installation/docker/ --> remove the unneeded complexity of portainer or know what you are doing
from teslamate.
@JakobLichterfeld it indeed is not a portainer but rather a docker compose issue...
@SemoTech You're missing the service in the ps reault. You need to use the service in the docker compose
.
from teslamate.
new issue #3976
from teslamate.
Related Issues (20)
- Wrong battery capacity in Battery Health HOT 7
- Lost all Map Details upgrading from 1.29.2 to 1.30.0 HOT 3
- Grafana map automatic zoom not working HOT 2
- 1.30.1 - Localized Grafana doesn't work as per claim in #4064 HOT 16
- Battery Health not plotting HOT 10
- Teslamate is failing to run after update HOT 2
- Unauthorized using Tesla Fleet API directly HOT 39
- "Range Added" is incorrect, and has incorrect units on the "Charges" dashboard HOT 1
- Status: 500. Message: db query error: pq: time zone "$__timezone" not recognized on Statistics dashboard HOT 2
- Switching to Fleet API from current Owners API. Refersh Token mismatch issue HOT 2
- "Last status change" in the status panel is not displayed correctly HOT 2
- Switching to Teslemetry gives token error? HOT 1
- Bug with docker and grafana:latest HOT 4
- Timeout/alarm in logs when submitting jwt tokens HOT 3
- Drive Stats dashboard has an area with a confusing title HOT 2
- Can't login Teslamate via Token HOT 5
- Charge scheduling missing after 2024.26.3.1 update HOT 14
- Temp and Net/Gross not showing for Cybertruck. HOT 1
- Trailer mode HOT 3
- Token login bug 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 teslamate.