Guide for Octofarm (3D Printer Octoprint Farm Software) for Unraid


Recommended Posts

Hello,

 

for all the 3D printers who wants to install Octofarm. Here it is a little quick and dirty guide.

 

1. Install MongoDB from the CA Tab.

grafik.png.77719665cc281afdae626426e035625a.png

2. Look if it is already running and note the IP and the port!

grafik.thumb.png.c6cb01f7abdc788c91c3bc73455c2783.png

3. Add new Container

grafik.png.bcadf1d4ea6fed8470123b14cb70b8ed.png

4.Give it a Name

grafik.thumb.png.74f41d8c3e53409dd7b6b3c280fa7769.png

5. Toggle Advance view

grafik.png.9dc5b5efd3eaeace54cfc6da272976ef.png

6. Add these strings

https://hub.docker.com/r/octofarm/octofarm

grafik.png.c1812f9ab0d21af0a8d864d38bfc9986.png

7. Optional. For Logo add this URL : https://raw.githubusercontent.com/NotExpectedYet/OctoFarm/master/views/images/logo.png

grafik.png.1bc1c906ee1d81f2c807567cac1ed656.png

8. Think about the Port on which OCTOFARM will run and check if it is not used by another Service. My Port is 84. Then add this to the WebUI.

grafik.png.db083038d4eb3e516f6803548a05d9fd.png

9.Add Variables and Paths

9.1 Click on grafik.png.8adcf89f109390df7050f9dd1087bc4e.png

9.2 Choose Path and fill in like this. The IP Adress of the Value from Step 2. and save it

grafik.png.1aad5f86fb739c43b5f812bff2eca32d.png

 

9.3 Add this two paths. The Hostpaths should point to a octofarm folder in your appdata

grafik.png.0b88bee0bb389bb25887d30b077b2d19.png

grafik.png.2c7fddba0487ec7dcb870e968f02f245.png

9.4 Add a Port. Remember the Step 8

grafik.png.ead3663c8eac8895c411c97ec4520230.png

10. Press Apply. After that you can check the log if everthing went OK. Press this Button. grafik.png.f85dfb0792d3784772d65d56e31bb35d.png

grafik.thumb.png.24ad1f6e697e280d85b3055e1dd77ab9.png

It should look like this

grafik.png.6eb5ed06e84cf15c408bb6b2dd2151fd.png

11 Now you can acces the WebUI and start config of OCTOFARM

 

Happy farming and printing!

 

  • Like 3
Link to comment
  • 2 weeks later...
  • 2 weeks later...
  • 1 month later...
  • 1 month later...
  • 7 months later...
  • 1 month later...

New dev here!

As mentioned by @S1mpleman, the instructions here are outdated.
 

Quote

This is now in the community applications :)


https://unraid.net/community/apps?q=octofarm#r

And here's why this is outdated as mentioned on github:
 

Quote

If you followed that guide it's old the paths it tells you to setup no longer exist. We have UnRaid images in the CA app store with everything pre-configured for you. That does explain why "USER WITH QUESTION" had no logs originally though, also why the issue might have occured as "USER WITH QUESTION" has had no config/dB.js file when the container restarted.

 

Edited by davidzwa
Quotations
Link to comment
  • 2 years later...

Is there a new to setting this up?
When I install the docker from community apps and run it, I get this error in logs
17:22:26 0|OctoFarm  | 2023-12-09T17:22:26:  WARN MESSAGE: ~ The OCTOFARM_PORT setting was not a correct port number: >= 0 and < 65536. Actual value: undefined. 
17:22:26 0|OctoFarm  | 2023-12-09T17:22:26: 12/10/23, 1:22:26 AM | ERROR | Utils-Env  
17:22:26 0|OctoFarm  | 2023-12-09T17:22:26:  ERROR MESSAGE: cant find target folder... | /app/images
17:22:26 0|OctoFarm  | 2023-12-09T17:22:26: Error: EACCES: permission denied, open '../images/bg.jpg'

Link to comment
  • 1 month later...

Hi @Superdean56 not to steal OctoFarm's light, but that project has been abandoned for almost a year now. For a while I've been working on the project FDM Monster as a replacement. We (me and another Unraid user) are now looking at creating a app for FDM Monster to provide an alternative to OctoFarm.

I kindly invite you to take a look at the project, join the discussion and give feedback on your thoughts.
Unraid Docker App Installment · Issue #2764 · fdm-monster/fdm-monster (github.com).

Link to comment
On 12/9/2023 at 5:22 PM, Superdean56 said:

Is there a new to setting this up?
When I install the docker from community apps and run it, I get this error in logs
17:22:26 0|OctoFarm  | 2023-12-09T17:22:26:  WARN MESSAGE: ~ The OCTOFARM_PORT setting was not a correct port number: >= 0 and < 65536. Actual value: undefined. 
17:22:26 0|OctoFarm  | 2023-12-09T17:22:26: 12/10/23, 1:22:26 AM | ERROR | Utils-Env  
17:22:26 0|OctoFarm  | 2023-12-09T17:22:26:  ERROR MESSAGE: cant find target folder... | /app/images
17:22:26 0|OctoFarm  | 2023-12-09T17:22:26: Error: EACCES: permission denied, open '../images/bg.jpg'

Its a problem with permissions. I'm a perma-noob some I'm not sure if its the way the dockerfile is written or if we need to grant the docker user permissions to the folders we create, from viewing the dockerfile it looks like that user would be octofarm. Here is what I did to the folders I created on my system to mount the container to:

```

## This gives full permissions to ALL users on your system.

## 0777. read, write, & execute for owner, group and others.

sudo chmod 0777 /path/to/octofarm/images

sudo chmod 0777 /path/to/octofarm/logs

sudo chmod 0777 /path/to/octofarm/scripts

```

Then deploy your stack, and you'll see the permissions error gone. Check out your octofarm at http://ipaddress:port

 

I should note, I have not used unraid before, I am currently upgrading a 5 year old octopi, trying out ubuntu server 23+ on a pi4 atm.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.