Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[REQUEST] Meshcentral

Featured Replies

Would like to get this setup as a docker if possible -

 

I know one can do the following - Enable docker hub searching in community applications, then search for and install it using the apps tab as normal. You may have to adjust some settings, but with an app this simple it'll probably work with little to no tweaking.

 

More info -

https://github.com/techno-express/MeshCentral2

 

https://hub.docker.com/r/technoexpress/meshcentral/

 

Any help would be great.

 

ENV PORT 443  
ENV REDIRPORT 80  
ENV MPSPORT 4443
ENV EMAIL mail@host
ENV HOST host.ltd
ENV SMTP smtp.host.ltd
ENV USER smtp@user
ENV PASS smtppass!
ENV DB netdb
ENV MONGODB "mongodb://127.0.0.1:27017/meshcentral"
ENV MONGODBCOL "meshcentral"

Add a new variable for each of the above (variable and the name is the 2nd item, its value is the 3rd).  You'll need to adjust the values accordingly for your setup

 

EXPOSE 25 80 443 4443 27017 27018

Add a new port for each of the above container ports, mapped appropriately to a host port

 

Then you should be able hit the shell for the container and do whatever it does according to the instructions

  • Author

Ok I will have to look into that.

  • 1 month later...
On 2/14/2019 at 4:46 PM, chip said:

Ok I will have to look into that.

Did you managed to get it working?

  • 4 months later...

@chip - were you able to get this working?

 

I am trying and I think I am close but I am getting this error:

Error: ENOENT: no such file or directory, open '/home/meshserver/views/layouts/main.handlebars'

I connected to the console and do not see the directory "views" under "/home/meshserver"

  • 1 year later...

Hi all, anyone got this to work in a docker?

1 hour ago, AndreB said:

Hi all, anyone got this to work in a docker?

I never did. I ended up moving to a Gigabyte BRIX (NUC) that I had laying around, and it running under Windows 10.

32 minutes ago, uldise said:

i can post a screenshots with config page, just ask.

That would be great!

here you go :)

but some of these settings depends on meshcentral config inside container.

image.thumb.png.518a9409d5b1b6ec90bf4b4da0b5cf89.png

 

and this is my redacted meshcentral config file - i redacted it and removed all unused config parts. i'm using meshcentral behind my Apache reverse proxy.

{
  "__comment__" : "This is a sample configuration file, edit a section and remove the _ in front of the name. Refer to the user's guide for details.",
  "settings": {
    "Cert": "mesh.example.com",
    "WANonly": true,
    "_LANonly": true,
    "SessionKey": "redacted7",
    "_CookieIpCheck": false,
    "CookieEncoding": "hex",
    "_IgnoreAgentHashCheck": true,
    "Port": 8443,
    "AgentPort": 443,
    "AgentAliasPort":443,
    "_AliasPort": 443,
    "RedirPort": 80,
    "_ExactPorts": true,
    "WebRTC": false,
    "_Nice404": false,
    "ClickOnce": true,
    "_SelfUpdate": true,
    "_AgentPing": 60,
    "AgentPong": 300,
    "AllowHighQualityDesktop": true,
    "TrustedProxy": "192.168.50.248",
    "MpsPort": 0,
    "AutoBackup": {
      "backupIntervalHours": 24,
      "keepLastDaysBackup": 5,
    },
    "MaxInvalidLogin": { "time": 10, "count": 10, "coolofftime": 10 },
    "Plugins": {
        "enabled": true
    }
  },
  "domains": {
    "": {
      "Title": "example mesh",
      "Title2": "",
      "NewAccounts": false,
      "novnc":true,
      "mstsc":true,
      "CertUrl": "https://192.168.50.248:443/",
    },
  },
}

 

Thank you all for your help, you are awesome guys... And uldise thanks for the screenshot setup very helpfull.

 

André

  • 2 weeks later...
  • Author

I tried pulling the repo from https://hub.docker.com/r/uldiseihenbergs/meshcentral

and it says "The command Failed"

 

Ok uldiseihenbergs/meshcentral:0.6.56 works but when I try to add similiar settings as list above with the ports, etc it fails and disappears.

Edited by chip

13 hours ago, chip said:

Ok uldiseihenbergs/meshcentral:0.6.56 works but when I try to add similiar settings as list above with the ports, etc it fails and disappears.

i just tested it without tag, and it works just fine for me..

if it simple disappears then something is wrong with settings.

  • 2 months later...
On 11/6/2020 at 7:13 PM, chip said:

I tried pulling the repo from https://hub.docker.com/r/uldiseihenbergs/meshcentral

and it says "The command Failed"

 

Ok uldiseihenbergs/meshcentral:0.6.56 works but when I try to add similiar settings as list above with the ports, etc it fails and disappears.

Hello, i Think your problem is the path from Container you take "meshcentral-files" take "/meshcentral-files" and it work

I've configured it according the the screenshot above, but can't access the webUI, is that expected behavior?
Logs for the container look good (see below), but I get connection refused when I try to hit IP:455.

There isn't anything in the folders I configured, but perhaps that's because I haven't been able to set anything up yet?

Thanks for your work on this!
 

Installing [email protected]...
Installing [email protected]...
MeshCentral HTTP redirection server running on port 80.
Generating certificates, may take a few minutes...
Generating root certificate...
Generating HTTPS certificate...
Generating MeshAgent certificate...
Generating Intel AMT MPS certificate...
MeshCentral v0.7.30, LAN mode.
Server has no users, next new account will be site administrator.
MeshCentral HTTPS server running on port 443.

 

15 hours ago, Ruthalas said:

but I get connection refused when I try to hit IP:455

show your port mapping!

2 hours ago, uldise said:

show your port mapping!

image.thumb.png.af085703ca495cee7e5b852989c53610.png

and then please post your Meshcentral config file.

looks like you defined https only, so webui should be available on port 466. 

I get ERR_EMPTY_RESPONSE at IP:466. :(

 

Should the meshcentral config file be in one of the configured appdata folder?

The four folders I configured are all empty.

7 hours ago, Ruthalas said:

The four folders I configured are all empty.

looks like you misconfigured your paths. from my docker page, all paths below - it's a container side paths.

 

Volumes required for persistant storage:
home/node/meshcentral/meshcentral-files
home/node/meshcentral/meshcentral-data

Optional volumes:
home/node/meshcentral/meshcentral-backup
home/node/meshcentral/meshcentral-web

 

Ah! I see. I naively copied what was visible in your first screenshot.

Thank you for the correction.

I've corrected the paths to match, and updated the container.
I still can't access the webUI, but can modify the config file directly.
 

My config file currently contains the default information- I anticipated configuring it from the WebUI.
Should I be configuring it via the config file instead?

 

Thanks for your help!

Edited by Ruthalas
adjusted for clarity

14 hours ago, Ruthalas said:

Should I be configuring it via the config file instead?

if you have just default config with port mapping as above in pic, then WebUI should be accessible with https://IP:466

  • 2 weeks later...

Unfortunately I haven't been able to get it to work.

I've rebuilt the container with the configuration above and still can't access the webUI.

If you have any further troubleshooting steps, let me know.
Regardless, thanks for the help so far!

1 hour ago, Ruthalas said:

If you have any further troubleshooting steps, let me know.

let start again - show your docker log file, and then mapped ports

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.