spants Posted April 29, 2020 Share Posted April 29, 2020 (edited) New template, see ,.......... Old template ............... I have just published a template that uses the excellent Docker image by nunofgs. Please direct all non unRaid questions to https://github.com/nunofgs/docker-octoprint. This template was constructed with knowledge from a thread at this REDDIT post - thanks to Jacob_xATLx and @Tergi. Please see Tergi's post on doing camera passthrough: Discussion on Video support on unRaid (If you are not using a camera, remove the camera variables) Edited October 17, 2021 by spants update 1 Quote Link to comment
spants Posted May 4, 2020 Author Share Posted May 4, 2020 GUIDE: An easy way to pass through a specific Printer, when you are using multiple printers and multiple copies of this template On the template, select the printer using the /dev/serial/by-id/ directory only. Do not use ttyACM0 etc. In OctoPrint, 1) go to settings/serial connections and add /dev/serial/by-id/* to "Additional serial ports" 2) save 3) go to settings/serial connections and change AUTO in the serial port list to your device 4) save Go and print! 1 Quote Link to comment
kizer Posted August 7, 2020 Share Posted August 7, 2020 Ok so I'm to assume I can use my Unraid machine for Octoprint vs using my Raspberry Pi 3B? Plugin USB and go? I'd rather harness the power of my Quad Core Xeon than using the little Raspberry Pi. Found some chatter on Reddit. This is kinda amazing. Lol Quote Link to comment
spants Posted August 7, 2020 Author Share Posted August 7, 2020 Thats the idea!. You can also spin up multiple dockers if you have more than one printer Quote Link to comment
kizer Posted August 7, 2020 Share Posted August 7, 2020 Thanks. I only have the Ender 3 Pro right now, but I did do the Kickstarter for the Ender 6SE which should be here I'm guessing in September. Quote Link to comment
Actua Posted September 6, 2020 Share Posted September 6, 2020 Got it working with my Ender 3 v2, had some issues showing actual temp but this: https://community.octoprint.org/t/temperature-reporting-now-working-with-new-ender-3-v2/21053 fixed that. OctoPrint is telling me an update is available, but when I update and restart OctoPrint. I get to the login screen, but when I log in I am unable to access the WebUI. Telling me it might be overloaded or something is wrong. Quote Link to comment
spants Posted September 6, 2020 Author Share Posted September 6, 2020 44 minutes ago, Actua said: OctoPrint is telling me an update is available, but when I update and restart OctoPrint. I get to the login screen, but when I log in I am unable to access the WebUI. Telling me it might be overloaded or something is wrong. Its probably best just to update the when new versions arrive rather than updating inside the docker. The template just uses the official docker container .... so wait for an update notice in the unraid gui Quote Link to comment
Actua Posted September 7, 2020 Share Posted September 7, 2020 15 hours ago, spants said: Its probably best just to update the when new versions arrive rather than updating inside the docker. The template just uses the official docker container .... so wait for an update notice in the unraid gui Alright Thanks for quick answer. Quote Link to comment
Wong Posted December 5, 2020 Share Posted December 5, 2020 (edited) When I install the docker by nunofgs, I got the following errors. Is it because it cannot detect my 3D printer? I am using Creality Ender-3. docker: Error response from daemon: error gathering device information while adding custom device "/dev/ttyACM0": no such file or directory. This is my template input. Edited December 5, 2020 by Wong Quote Link to comment
spants Posted December 6, 2020 Author Share Posted December 6, 2020 On 11/29/2020 at 10:00 AM, Alex.b said: Hey, I'm trying to connect my Artillery Genius to Octoprint but I have an error : 2020-11-29 10:58:54,056 - octoprint.util.comm - INFO - Changing monitoring state from "Error: No more candidates to test, and no working port/baudrate combination detected." to "Offline (Error: No more candidates to test, and no working port/baudrate combination detected.)" try changing your octoprint settings: Mine are Quote Link to comment
spants Posted December 6, 2020 Author Share Posted December 6, 2020 On 12/5/2020 at 9:28 AM, Wong said: When I install the docker by nunofgs, I got the following errors. Is it because it cannot detect my 3D printer? I am using Creality Ender-3. docker: Error response from daemon: error gathering device information while adding custom device "/dev/ttyACM0": no such file or directory. This is my template input. Use the /dev/serial/by-id/ directory so that your tty address does not change. You will need to add the additional serial posrts in octoprint as per my earlier post Quote Link to comment
cambriancatalyst Posted February 19, 2021 Share Posted February 19, 2021 Thanks so much for this. I got greedy and attempted to run the Software Update to go from 1.4 to 1.5.3 and now I'm receiving an internal server error even after completely wiping the container/image and reinstalling. Any idea why this may be happening? I've provided the log output and a screenshot of the error message below. Any help is greatly appreciated and thank you again for creating this! Quote File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 78, in data f = open(self.filename, 'r', encoding='utf-8') IOError: [Errno 2] No such file or directory: '/root/.octoprint/plugins/lib/python2.7/site-packages/octoprint/static/vendor/font-awesome-4.7.0/css/font-awesome.min.css' [2021-02-19 01:33:33,836] ERROR in app: Exception on / [GET] Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1982, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1614, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1517, in handle_user_exception reraise(exc_type, exc_value, tb) File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1612, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1598, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/views.py", line 424, in index response = default_view() File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/views.py", line 408, in default_view return preemptively_cached() File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 983, in decorated_function return f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 1046, in decorated_function return f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 1054, in decorated_function r = f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 746, in decorated_function rv = f_with_duration(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 715, in f_with_duration return f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 992, in decorated_function rv = f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 1011, in decorated_function rv = f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/views.py", line 395, in make_default_ui r = make_response(render_template("index.jinja2", **render_kwargs)) File "/usr/local/lib/python2.7/site-packages/flask/templating.py", line 134, in render_template context, ctx.app) File "/usr/local/lib/python2.7/site-packages/flask/templating.py", line 116, in _render rv = template.render(context) File "/usr/local/lib/python2.7/site-packages/jinja2/environment.py", line 989, in render return self.environment.handle_exception(exc_info, True) File "/usr/local/lib/python2.7/site-packages/jinja2/environment.py", line 754, in handle_exception reraise(exc_type, exc_value, tb) File "/root/.octoprint/plugins/lib/python2.7/site-packages/octoprint/templates/dialogs/settings.jinja2", line 20, in template class="{% if ns.mark_active %}active{% set ns.mark_active = False %}{% endif %} {% if "classes_link" in data %}{{ data.classes_link|join(' ') }}{% elif "classes" in data %}{{ data.classes|join(' ') }}{% endif %}" TemplateSyntaxError: expected token 'end of statement block', got '.' 2021-02-19 01:33:33,848 INFO spawned: 'mjpeg-streamer' with pid 56 [2021-02-19 01:33:33,842] ERROR in app: Exception on / [GET] Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1982, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1614, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1517, in handle_user_exception reraise(exc_type, exc_value, tb) File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1612, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1598, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/views.py", line 446, in index response = default_view() File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/views.py", line 408, in default_view return preemptively_cached() File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 983, in decorated_function return f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 1046, in decorated_function return f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 1054, in decorated_function r = f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 746, in decorated_function rv = f_with_duration(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 715, in f_with_duration return f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 992, in decorated_function rv = f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 1011, in decorated_function rv = f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/views.py", line 395, in make_default_ui r = make_response(render_template("index.jinja2", **render_kwargs)) File "/usr/local/lib/python2.7/site-packages/flask/templating.py", line 134, in render_template context, ctx.app) File "/usr/local/lib/python2.7/site-packages/flask/templating.py", line 116, in _render rv = template.render(context) File "/usr/local/lib/python2.7/site-packages/jinja2/environment.py", line 989, in render return self.environment.handle_exception(exc_info, True) File "/usr/local/lib/python2.7/site-packages/jinja2/environment.py", line 754, in handle_exception reraise(exc_type, exc_value, tb) File "/root/.octoprint/plugins/lib/python2.7/site-packages/octoprint/templates/dialogs/settings.jinja2", line 20, in template class="{% if ns.mark_active %}active{% set ns.mark_active = False %}{% endif %} {% if "classes_link" in data %}{{ data.classes_link|join(' ') }}{% elif "classes" in data %}{{ data.classes|join(' ') }}{% endif %}" TemplateSyntaxError: expected token 'end of statement block', got '.' MJPG Streamer Version.: 2.0 i: Using V4L2 device.: (null) i: Desired Resolution: 640 x 480 i: Frames Per Second.: -1 i: Format............: YUYV i: JPEG Quality......: 80 i: TV-Norm...........: DEFAULT 2021-02-19 01:33:33,852 - tornado.access - ERROR - 500 GET / (192.168.1.204) 2310.83ms i: init_VideoIn failed 2021-02-19 01:33:33,854 INFO exited: mjpeg-streamer (exit status 1; not expected) 2021-02-19 01:33:33,855 INFO gave up: mjpeg-streamer entered FATAL state, too many start retries too quickly [2021-02-19 01:33:34,009] ERROR in flask: Got an exception while trying to apply filter, ignoring file Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 231, in fixed_wrap_cache content = func().getvalue() File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 250, in func data = StringIO(hunk.data()) File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 78, in data f = open(self.filename, 'r', encoding='utf-8') IOError: [Errno 2] No such file or directory: '/root/.octoprint/plugins/lib/python2.7/site-packages/octoprint/static/js/lib/jquery/jquery.ui.core.js' [2021-02-19 01:33:34,010] ERROR in flask: Got an exception while trying to apply filter, ignoring file Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 231, in fixed_wrap_cache content = func().getvalue() File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 250, in func data = StringIO(hunk.data()) File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 78, in data f = open(self.filename, 'r', encoding='utf-8') IOError: [Errno 2] No such file or directory: '/root/.octoprint/plugins/lib/python2.7/site-packages/octoprint/static/js/lib/jquery/jquery.ui.widget.js' [2021-02-19 01:33:34,011] ERROR in flask: Got an exception while trying to apply filter, ignoring file Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 231, in fixed_wrap_cache content = func().getvalue() File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 250, in func data = StringIO(hunk.data()) File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 78, in data f = open(self.filename, 'r', encoding='utf-8') IOError: [Errno 2] No such file or directory: '/root/.octoprint/plugins/lib/python2.7/site-packages/octoprint/static/js/lib/jquery/jquery.ui.mouse.js' [2021-02-19 01:33:34,079] ERROR in flask: Got an exception while trying to apply filter, ignoring file Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 231, in fixed_wrap_cache content = func().getvalue() File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 250, in func data = StringIO(hunk.data()) File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 78, in data f = open(self.filename, 'r', encoding='utf-8') IOError: [Errno 2] No such file or directory: '/root/.octoprint/plugins/lib/python2.7/site-packages/octoprint/static/js/lib/sockjs.js' [2021-02-19 01:33:34,338] ERROR in flask: Got an exception while trying to apply filter, ignoring file Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 231, in fixed_wrap_cache content = func().getvalue() File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 250, in func data = StringIO(hunk.data()) File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 78, in data f = open(self.filename, 'r', encoding='utf-8') IOError: [Errno 2] No such file or directory: '/root/.octoprint/plugins/lib/python2.7/site-packages/octoprint/static/js/app/viewmodels/gcode.js' [2021-02-19 01:33:34,338] ERROR in flask: Got an exception while trying to apply filter, ignoring file Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 231, in fixed_wrap_cache content = func().getvalue() File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 250, in func data = StringIO(hunk.data()) File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 78, in data f = open(self.filename, 'r', encoding='utf-8') IOError: [Errno 2] No such file or directory: '/root/.octoprint/plugins/lib/python2.7/site-packages/octoprint/static/gcodeviewer/js/ui.js' [2021-02-19 01:33:34,339] ERROR in flask: Got an exception while trying to apply filter, ignoring file Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 231, in fixed_wrap_cache content = func().getvalue() File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 250, in func data = StringIO(hunk.data()) File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 78, in data f = open(self.filename, 'r', encoding='utf-8') IOError: [Errno 2] No such file or directory: '/root/.octoprint/plugins/lib/python2.7/site-packages/octoprint/static/gcodeviewer/js/gCodeReader.js' [2021-02-19 01:33:34,340] ERROR in flask: Got an exception while trying to apply filter, ignoring file Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 231, in fixed_wrap_cache content = func().getvalue() File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 250, in func data = StringIO(hunk.data()) File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 78, in data f = open(self.filename, 'r', encoding='utf-8') IOError: [Errno 2] No such file or directory: '/root/.octoprint/plugins/lib/python2.7/site-packages/octoprint/static/gcodeviewer/js/renderer.js' [2021-02-19 01:33:34,427] ERROR in flask: Got an exception while trying to apply filter, ignoring file Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 231, in fixed_wrap_cache content = func().getvalue() File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 250, in func data = StringIO(hunk.data()) File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 78, in data f = open(self.filename, 'r', encoding='utf-8') IOError: [Errno 2] No such file or directory: '/root/.octoprint/plugins/lib/python2.7/site-packages/octoprint/static/vendor/font-awesome-4.7.0/css/font-awesome.min.css' [2021-02-19 01:33:34,585] ERROR in app: Exception on / [GET] Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1982, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1614, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1517, in handle_user_exception reraise(exc_type, exc_value, tb) File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1612, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1598, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/views.py", line 424, in index response = default_view() File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/views.py", line 408, in default_view return preemptively_cached() File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 983, in decorated_function return f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 1046, in decorated_function return f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 1054, in decorated_function r = f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 746, in decorated_function rv = f_with_duration(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 715, in f_with_duration return f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 992, in decorated_function rv = f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 1011, in decorated_function rv = f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/views.py", line 395, in make_default_ui r = make_response(render_template("index.jinja2", **render_kwargs)) File "/usr/local/lib/python2.7/site-packages/flask/templating.py", line 134, in render_template context, ctx.app) File "/usr/local/lib/python2.7/site-packages/flask/templating.py", line 116, in _render rv = template.render(context) File "/usr/local/lib/python2.7/site-packages/jinja2/environment.py", line 989, in render return self.environment.handle_exception(exc_info, True) File "/usr/local/lib/python2.7/site-packages/jinja2/environment.py", line 754, in handle_exception reraise(exc_type, exc_value, tb) File "/root/.octoprint/plugins/lib/python2.7/site-packages/octoprint/templates/dialogs/settings.jinja2", line 20, in template class="{% if ns.mark_active %}active{% set ns.mark_active = False %}{% endif %} {% if "classes_link" in data %}{{ data.classes_link|join(' ') }}{% elif "classes" in data %}{{ data.classes|join(' ') }}{% endif %}" TemplateSyntaxError: expected token 'end of statement block', got '.' [2021-02-19 01:37:55,014] ERROR in flask: Got an exception while trying to apply filter, ignoring file Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 231, in fixed_wrap_cache content = func().getvalue() File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 250, in func data = StringIO(hunk.data()) File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 78, in data f = open(self.filename, 'r', encoding='utf-8') IOError: [Errno 2] No such file or directory: '/root/.octoprint/plugins/lib/python2.7/site-packages/octoprint/static/js/lib/jquery/jquery.ui.core.js' [2021-02-19 01:37:55,015] ERROR in flask: Got an exception while trying to apply filter, ignoring file Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 231, in fixed_wrap_cache content = func().getvalue() File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 250, in func data = StringIO(hunk.data()) File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 78, in data f = open(self.filename, 'r', encoding='utf-8') IOError: [Errno 2] No such file or directory: '/root/.octoprint/plugins/lib/python2.7/site-packages/octoprint/static/js/lib/jquery/jquery.ui.widget.js' [2021-02-19 01:37:55,016] ERROR in flask: Got an exception while trying to apply filter, ignoring file Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 231, in fixed_wrap_cache content = func().getvalue() File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 250, in func data = StringIO(hunk.data()) File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 78, in data f = open(self.filename, 'r', encoding='utf-8') IOError: [Errno 2] No such file or directory: '/root/.octoprint/plugins/lib/python2.7/site-packages/octoprint/static/js/lib/jquery/jquery.ui.mouse.js' [2021-02-19 01:37:55,088] ERROR in flask: Got an exception while trying to apply filter, ignoring file Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 231, in fixed_wrap_cache content = func().getvalue() File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 250, in func data = StringIO(hunk.data()) File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 78, in data f = open(self.filename, 'r', encoding='utf-8') IOError: [Errno 2] No such file or directory: '/root/.octoprint/plugins/lib/python2.7/site-packages/octoprint/static/js/lib/sockjs.js' [2021-02-19 01:37:55,338] ERROR in flask: Got an exception while trying to apply filter, ignoring file Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 231, in fixed_wrap_cache content = func().getvalue() File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 250, in func data = StringIO(hunk.data()) File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 78, in data f = open(self.filename, 'r', encoding='utf-8') IOError: [Errno 2] No such file or directory: '/root/.octoprint/plugins/lib/python2.7/site-packages/octoprint/static/js/app/viewmodels/gcode.js' [2021-02-19 01:37:55,339] ERROR in flask: Got an exception while trying to apply filter, ignoring file Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 231, in fixed_wrap_cache content = func().getvalue() File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 250, in func data = StringIO(hunk.data()) File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 78, in data f = open(self.filename, 'r', encoding='utf-8') IOError: [Errno 2] No such file or directory: '/root/.octoprint/plugins/lib/python2.7/site-packages/octoprint/static/gcodeviewer/js/ui.js' [2021-02-19 01:37:55,339] ERROR in flask: Got an exception while trying to apply filter, ignoring file Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 231, in fixed_wrap_cache content = func().getvalue() File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 250, in func data = StringIO(hunk.data()) File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 78, in data f = open(self.filename, 'r', encoding='utf-8') IOError: [Errno 2] No such file or directory: '/root/.octoprint/plugins/lib/python2.7/site-packages/octoprint/static/gcodeviewer/js/gCodeReader.js' [2021-02-19 01:37:55,340] ERROR in flask: Got an exception while trying to apply filter, ignoring file Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 231, in fixed_wrap_cache content = func().getvalue() File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 250, in func data = StringIO(hunk.data()) File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 78, in data f = open(self.filename, 'r', encoding='utf-8') IOError: [Errno 2] No such file or directory: '/root/.octoprint/plugins/lib/python2.7/site-packages/octoprint/static/gcodeviewer/js/renderer.js' [2021-02-19 01:37:55,429] ERROR in flask: Got an exception while trying to apply filter, ignoring file Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 231, in fixed_wrap_cache content = func().getvalue() File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 250, in func data = StringIO(hunk.data()) File "/usr/local/lib/python2.7/site-packages/webassets/merge.py", line 78, in data f = open(self.filename, 'r', encoding='utf-8') IOError: [Errno 2] No such file or directory: '/root/.octoprint/plugins/lib/python2.7/site-packages/octoprint/static/vendor/font-awesome-4.7.0/css/font-awesome.min.css' [2021-02-19 01:37:55,598] ERROR in app: Exception on / [GET] Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1982, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1614, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1517, in handle_user_exception reraise(exc_type, exc_value, tb) File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1612, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1598, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/views.py", line 446, in index response = default_view() File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/views.py", line 408, in default_view return preemptively_cached() File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 983, in decorated_function return f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 1046, in decorated_function return f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 1054, in decorated_function r = f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 746, in decorated_function rv = f_with_duration(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 715, in f_with_duration return f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 992, in decorated_function rv = f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/util/flask.py", line 1011, in decorated_function rv = f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/OctoPrint-1.4.0-py2.7.egg/octoprint/server/views.py", line 395, in make_default_ui r = make_response(render_template("index.jinja2", **render_kwargs)) File "/usr/local/lib/python2.7/site-packages/flask/templating.py", line 134, in render_template context, ctx.app) File "/usr/local/lib/python2.7/site-packages/flask/templating.py", line 116, in _render rv = template.render(context) File "/usr/local/lib/python2.7/site-packages/jinja2/environment.py", line 989, in render return self.environment.handle_exception(exc_info, True) File "/usr/local/lib/python2.7/site-packages/jinja2/environment.py", line 754, in handle_exception reraise(exc_type, exc_value, tb) File "/root/.octoprint/plugins/lib/python2.7/site-packages/octoprint/templates/dialogs/settings.jinja2", line 20, in template class="{% if ns.mark_active %}active{% set ns.mark_active = False %}{% endif %} {% if "classes_link" in data %}{{ data.classes_link|join(' ') }}{% elif "classes" in data %}{{ data.classes|join(' ') }}{% endif %}" TemplateSyntaxError: expected token 'end of statement block', got '.' 2021-02-19 01:37:55,599 - tornado.access - ERROR - 500 GET / (192.168.1.204) 770.98ms Quote Link to comment
Sloppy Posted May 11, 2021 Share Posted May 11, 2021 Hello, is there a way to upgrade Octoprint or do I have to stay with the 1.4.0 that is with this docker install? Thanks Quote Link to comment
Lucas Mietke Posted July 13, 2021 Share Posted July 13, 2021 I would like to have an Update to 1.6.1 thanks Quote Link to comment
spants Posted July 14, 2021 Author Share Posted July 14, 2021 (edited) On 7/13/2021 at 11:30 AM, Lucas Mietke said: I would like to have an Update to 1.6.1 thanks Unfortunately the author of the docker has not updated it for sometime. I will see if I can use the octoprint/octoprint version. https://github.com/nunofgs/docker-octoprint/issues Edited July 14, 2021 by spants Quote Link to comment
CryPt00n Posted October 14, 2021 Share Posted October 14, 2021 Hi, any news on this? Will updates come? Quote Link to comment
Squid Posted October 15, 2021 Share Posted October 15, 2021 On 7/14/2021 at 7:31 AM, spants said: Unfortunately the author of the docker has not updated it for sometime. I will see if I can use the octoprint/octoprint version. Maybe we should just deprecate it, since no updates for 2 years to the container, but the official container (and template) last got an update 2 days ago. Quote Link to comment
spants Posted October 15, 2021 Author Share Posted October 15, 2021 3 hours ago, Squid said: Maybe we should just deprecate it, since no updates for 2 years to the container, but the official container (and template) last got an update 2 days ago. Happy for you to do that. Quote Link to comment
spants Posted October 15, 2021 Author Share Posted October 15, 2021 (edited) I have created a new docker template for Octoprint using the official docker images and supporting webcam streaming. You need video drivers installed on unRaid for the kernel to see a camera. (on Version: 6.10.0-rc1) - install DVB Drivers in Community Apps and select LibreELEC This will need a reboot after installation plug in your camera, you should see /dev/video0 appear in a terminal session on unRaid Install OctoPrint-Spants add the following: variables: ENABLE_MJPG_STREAMER true CAMERA_DEV /dev/video0 MJPG_STREAMER_INPUT -y -n -r 640x480 (can change to suit) port: webcam container port 80 host port 5003 snapshot container port 8080 host port 5004 In octoprint's webcam settings set the stream url to http://IPADDRESS:5003/webcam/?action=stream and test - it should work set the snapshot url to http://IPADDRESS:5004/?action=snapshot and test IPADDRESS is your unraid server address if you used bridge networking Edited October 16, 2021 by spants 1 2 Quote Link to comment
CryPt00n Posted October 16, 2021 Share Posted October 16, 2021 Works for me, many many thanks! Was trying to get it to run with official docker but webcam didn´t worked in my tries. Now i can finally power off my pi. Quote Link to comment
spants Posted October 18, 2021 Author Share Posted October 18, 2021 On 10/16/2021 at 10:31 PM, CryPt00n said: Works for me, many many thanks! Was trying to get it to run with official docker but webcam didn´t worked in my tries. Now i can finally power off my pi. This actually uses the official container - I just updated the template and researched how to get the video drivers working. Glad it is working for you. If you use the CA backup application, make sure that it does not turn off the docker (adv settings) or you will lose a long print! 2 Quote Link to comment
constellation Posted November 13, 2021 Share Posted November 13, 2021 Does anyone know if you can update the 3d printer firmware using the Firmware Updater plugin with this docker? Really trying to avoid lugging my 3d printer to my desktop PC. Quote Link to comment
Phoenix Down Posted December 2, 2021 Share Posted December 2, 2021 On 10/15/2021 at 1:21 PM, spants said: I have created a new docker template for Octoprint using the official docker images and supporting webcam streaming. You need video drivers installed on unRaid for the kernel to see a camera. (on Version: 6.10.0-rc1) - install DVB Drivers in Community Apps and select LibreELEC This will need a reboot after installation plug in your camera, you should see /dev/video0 appear in a terminal session on unRaid Install OctoPrint-Spants add the following: variables: ENABLE_MJPG_STREAMER true CAMERA_DEV /dev/video0 MJPG_STREAMER_INPUT -y -n -r 640x480 (can change to suit) port: webcam container port 80 host port 5003 snapshot container port 8080 host port 5004 In octoprint's webcam settings set the stream url to http://IPADDRESS:5003/webcam/?action=stream and test - it should work set the snapshot url to http://IPADDRESS:5004/?action=snapshot and test IPADDRESS is your unraid server address if you used bridge networking Thanks for the new docker! I'm still on the old nunofgs docker and want to migrate to your new version. However, I have a ton of plugins and customizations. What's the best way to bring them over to the new docker? Should I just copy everything over from /mnt/user/appdata/octoprint? Quote Link to comment
spants Posted December 11, 2021 Author Share Posted December 11, 2021 Does the octoprint backup/restore not work for you? Quote Link to comment
Phoenix Down Posted December 13, 2021 Share Posted December 13, 2021 On 12/11/2021 at 5:29 AM, spants said: Does the octoprint backup/restore not work for you? You know, I haven't actually tried that. Let me try and let you know if it doesn't work. Thanks! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.