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

upload folder settings ignored on docker #23

Open
Schnuecks opened this issue Mar 24, 2021 · 2 comments
Open

upload folder settings ignored on docker #23

Schnuecks opened this issue Mar 24, 2021 · 2 comments

Comments

@Schnuecks
Copy link

Hello, i setup octoprint via docker. the path for my timelapse is /octoprint/octoprint/timelapse not /home/pi/.octoprint/timelapse

My config is this

    youtube_timelapse:
        cert_authorized: true
        cert_saved: true
        tags: op,test,blah
        videos_folder: /octoprint/octoprint/timelapse

this is the error log

FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.octoprint/timelapse'
2021-03-24 09:25:56,033 - tornado.access - ERROR - 500 POST /api/plugin/youtube_timelapse (192.168.195.20) 27.45ms

if i set the path via
/octoprint/plugins/lib/python3.8/site-packages/octoprint_youtube_timelapse/static/js/settings.js it works

@ryanfox1985
Copy link
Owner

Hello, can you give more information about how are you using Octoprint with docker? link?

@Schnuecks
Copy link
Author

Sure

here my docker-compose

  octoprint:
    image: octoprint/octoprint
    container_name: octoprint
    restart: unless-stopped
    ports:
    - 30014:80
    - 30015:8080
    devices:
    - /dev/video0:/dev/video0
    - /dev/ttyUSB0:/dev/ttyUSB0
    volumes:
    - ./volumes/octoprint:/octoprint
    environment:
    - ENABLE_MJPG_STREAMER=true
    - MJPG_STREAMER_INPUT=-r 1920x1080 -f 30
    - TZ=Europe/Berlin

based on this https://github.com/OctoPrint/octoprint-docker/blob/master/docker-compose.yml

the files are all there, the logs the timelapse the profile etc..

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