Comments (6)
Thanks, I'll give it a try also.
from octobalena.
It appears this line was added when MattaCloud was added as a plugin. Mattacloud was then removed a day later but this line was left in. I cloned the repo and commented out this line in the Dockerfile.raspberrypi3 file, after this it built successfully. Will flash the new device image to the pi when I get home and see if everything else worked.
from octobalena.
This allowed it to build successfully, but the container now won't start. I'm getting the following error on the balena logs:
octoprint Command not found: /app/udevd.sh
from octobalena.
When you created the balena app you created it as Raspberry3? I was able to get this is run by selecting RPi3 and as the app and then selecting the device as a RPI4 (since I am using a 4). Everything booted fine on the pi, but when I access octoprint via the web browser I am unable to complete the wizard now. When I click the finish button this is the error I get.
10.02.21 17:36:16 (-0600) octoprint 2021-02-10 23:36:16,953 - octoprint - ERROR - Exception on /api/settings [POST] 10.02.21 17:36:16 (-0600) octoprint Traceback (most recent call last): 10.02.21 17:36:16 (-0600) octoprint File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2447, in wsgi_app 10.02.21 17:36:16 (-0600) octoprint response = self.full_dispatch_request() 10.02.21 17:36:16 (-0600) octoprint File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1952, in full_dispatch_request 10.02.21 17:36:16 (-0600) octoprint rv = self.handle_user_exception(e) 10.02.21 17:36:16 (-0600) octoprint File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1821, in handle_user_exception 10.02.21 17:36:16 (-0600) octoprint reraise(exc_type, exc_value, tb) 10.02.21 17:36:16 (-0600) octoprint File "/usr/local/lib/python3.7/dist-packages/flask/_compat.py", line 39, in reraise 10.02.21 17:36:16 (-0600) octoprint raise value 10.02.21 17:36:16 (-0600) octoprint File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1950, in full_dispatch_request 10.02.21 17:36:16 (-0600) octoprint rv = self.dispatch_request() 10.02.21 17:36:16 (-0600) octoprint File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1936, in dispatch_request 10.02.21 17:36:16 (-0600) octoprint return self.view_functions[rule.endpoint](**req.view_args) 10.02.21 17:36:16 (-0600) octoprint File "/usr/local/lib/python3.7/dist-packages/octoprint/server/util/flask.py", line 1539, in decorated_view 10.02.21 17:36:16 (-0600) octoprint return func(*args, **kwargs) 10.02.21 17:36:16 (-0600) octoprint File "/usr/local/lib/python3.7/dist-packages/octoprint/vendor/flask_principal.py", line 199, in _decorated 10.02.21 17:36:16 (-0600) octoprint rv = f(*args, **kw) 10.02.21 17:36:16 (-0600) octoprint File "/usr/local/lib/python3.7/dist-packages/octoprint/server/api/settings.py", line 388, in setSettings 10.02.21 17:36:16 (-0600) octoprint response = _saveSettings(data) 10.02.21 17:36:16 (-0600) octoprint File "/usr/local/lib/python3.7/dist-packages/octoprint/server/api/settings.py", line 936, in _saveSettings 10.02.21 17:36:16 (-0600) octoprint "gcode", name, script.replace("\r\n", "\n").replace("\r", "\n") 10.02.21 17:36:16 (-0600) octoprint AttributeError: 'NoneType' object has no attribute 'replace' 10.02.21 17:36:16 (-0600) octoprint 2021-02-10 23:36:16,958 - tornado.access - ERROR - 500 POST /api/settings (::ffff:192.168.1.51) 83.39ms
from octobalena.
I went ahead and rebuild the image using the latest version of octoprint. Still had same error. Used http://octoip/recovery and set the server to restart in safe mode. Manually restarted the octoprint service in balena as the killall -15 supervisord command does not work. Finished the first time wizard and then manually restarted service again. After all of this the service is running. Will be working on getting camera working next.
from octobalena.
I created the application under RPi3, and my device is also a RPi3. I will try again later on today.
from octobalena.
Related Issues (20)
- Octoprint volumes are problematic HOT 3
- Figure out a way to communicate OCTOPRINT_APIKEY securely and automatically
- DoES Public IP HOT 1
- Failing OctoDash HOT 3
- Octoprint ver is 1.4 and (web) upgrade to 1.4.2 fails HOT 2
- Octoprint not accessible with local network IP HOT 1
- Container footprint is quite large HOT 1
- Memory footprint is high HOT 1
- Need to move to Python3
- Versioned Release Plugins rather than master HOT 2
- See if we can reduce dependencies installed in Octodash container
- Move Octoprint container base to Debian
- Remove dependencies on Python2
- Connecting RPi Cam Module HOT 1
- Multiple printers
- Build fail HOT 3
- Can't finish initial setup - Error 500 HOT 1
- Vanilla install fails on balenaFin HOT 3
- Build Error: Unable to locate package libraspberrypi-bin
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 octobalena.