Ylianst / MeshCentral

A complete web-based remote monitoring and management web site. Once setup you can install agents and perform remote desktop session to devices on the local network or over the Internet.
https://meshcentral.com
Apache License 2.0
4.28k stars 572 forks source link

Devices doesn't appear in dashboard #5240

Open Mobi974Soft opened 1 year ago

Mobi974Soft commented 1 year ago

I install the agent on the remote desktop, the service is launch but nothing appear in meshcentral dashboard.

image image

I make a ping from the remote computer and it reach the serveur with meshcentral I did nmap -p 443 and no problem too...

Can someone help me please ?

Server Software (please complete the following information):

Client Device (please complete the following information):

Remote Device (please complete the following information):

Your config.json file

  GNU nano 4.8                                                                                                  config.json                                                                                                             
{
  "$schema": "https://raw.githubusercontent.com/Ylianst/MeshCentral/master/meshcentral-config-schema.json",
  "__comment1__": "This is a simple configuration file, all values and sections that start with underscore (_) are ignored. Edit a section and remove the _ in front of the name. Refer to the user's guide for details.",
  "__comment2__": "See node_modules/meshcentral/sample-config-advanced.json for a more advanced example.",
  "settings": {
    "_cert": "meshcentral.xxxx.com",
    "_WANonly": true,
    "_LANonly": true,
    "_sessionKey": "xxxxxxx",
    "_port": 443,
    "_aliasPort": 443,
    "_redirPort": 80,
    "_redirAliasPort": 80
  },
  "domains": {
    "": {
      "_title": "meshcentral.xxxx.com",
      "_title2": "meshcentral.xxxx.com",
      "_minify": true,
      "_newAccounts": true,
      "_userNameIsEmail": true
    }
  },
  "_letsencrypt": {
    "__comment__": "Requires NodeJS 8.x or better, Go to https://letsdebug.net/ first before trying Let's Encrypt.",
    "email": "xxxx@xxxx.com",
    "names": "meshcentral.xxxx.com",
    "skipChallengeVerification": true,
    "production": false
  }
}
si458 commented 1 year ago

can you show us what the MeshAgent.msh file is? (in folder /usr/local/mesh_services/meshagent/) is the meshcentral server and the remote device on the same networks or different networks?

Mobi974Soft commented 1 year ago

This is the content of the file :

MeshName=Caisses
MeshType=2
MeshID=0x5B21884396DCB76DFC06EA0D1FB61DAF3F027122E8AB77ED8ADEE3B3AF4711DA9586413767A88B65C3A5E9401A6827E3
ServerID=6E52FD5004F7C7D8BDBBDC903D7A28D21C21D6BC53CEAE3D14A536DA907F688801D3B45A790AE624F8A6C50DEB41801F
MeshServer=local
ignoreProxyFile=1
translation={"en":{"agent":"Agent","agentVersion":"New Version","group":"Device Group","url":"Server URL","meshName":"Group Name","meshId":"Group Identifier","serverId":"Server Identifier","setup":"Setup","update":"Update","install":"Install","uninstall":"Uninstall","connect":"Connect","disconnect":"Disconnect","cancel":"Cancel","close":"Close","pressok":"Press OK to disconnect","elevation":"Elevated permissions are required to install/uninstall this software.","sudo":"Please try again with sudo.","ctrlc":"Press Ctrl-C to exit.","commands":"You can run the text version from the command line with the following command(s)","graphicalerror":"The graphical version of this installer cannot run on this system","zenity":"Try installing/updating Zenity, and run again","status":["NOT INSTALLED","RUNNING","NOT RUNNING"],"statusDescription":"Current Agent Status","description":"Click the buttons below to install or uninstall this remote management software. When installed, this software runs in the background allowing this computer to be managed and controlled by a remote administrator."},"cs":{"agent":"Agent","group":"Skupina zařízení","url":"URL serveru","meshName":"Skupinové jméno","meshId":"Identifikátor skupiny","serverId":"Identifikátor serveru","setup":"Nastavit","update":"Aktualizace","install":"Instalace","uninstall":"Odinstalace","connect":"Připojit","disconnect":"Odpojit","cancel":"Storno","close":"Zavřít","pressok":"Stisknutím tlačítka OK se odpojíte","sudo":"Zkuste to prosím znovu s sudo.","ctrlc":"Ukončete stisknutím Ctrl-C.","commands":"Textovou verzi můžete spustit z příkazového řádku pomocí následujících příkazů","zenity":"Zkuste nainstalovat / aktualizovat Zenity a spustit znovu","status":["NENÍ INSTALOVÁN","BĚH","NEFUNGUJE"],"statusDescription":"Aktuální stav agenta","agentVersion":"Nová verze","elevation":"K instalaci/odinstalaci tohoto softwaru jsou vyžadována zvýšená oprávnění.","graphicalerror":"Na tomto systému nelze spustit grafickou verzi tohoto instalačního programu","description":"Klepnutím na tlačítka níže nainstalujete nebo odinstalujete tento software pro vzdálenou správu. Když je tento software nainstalován, běží na pozadí, což umožňuje spravovat a ovládat tento počítač vzdáleným správcem."},"de":{"agent":"Agent","group":"Gerätegruppe","url":"Server-URL","meshName":"Gruppenname","meshId":"Gruppen-ID","serverId":"Server-ID","setup":"Konfiguration","update":"Aktualisierung","install":"Installieren","uninstall":"Deinstallation","connect":"Verbinden","disconnect":"Trennen","cancel":"Abbrechen","close":"Schließen","pressok":"Drücken Sie OK, um die Verbindung zu trennen","sudo":"Bitte versuchen Sie es erneut mit sudo.","ctrlc":"Drücken Sie Strg-C, um den Vorgang zu beenden.","commands":"Sie können die Textversion über die Befehlszeile mit den folgenden Befehlen ausführen.","zenity":"Versuchen Sie, Zenity zu installieren / zu aktualisieren, und führen Sie es erneut aus","status":["NICHT INSTALLIERT","GESTARTET","NICHT GESTARTET"],"statusDescription":"Aktueller Agentstatus","agentVersion":"Neue Version","elevation":"Zum Installieren/Deinstallieren dieser Software sind erhöhte Berechtigungen erforderlich.","graphicalerror":"Die grafische Version dieses Installationsprogramms kann auf diesem System nicht ausgeführt werden","description":"Klicken Sie auf die Schaltflächen unten, um diese Fernverwaltungssoftware zu installieren oder zu deinstallieren. Nach der Installation wird diese Software im Hintergrund ausgeführt, sodass dieser Computer von einem entfernten Administrator verwaltet und gesteuert werden kann.","connectionDetailsButton":"Verbindungsinformationen...","connectionDetailsTitle":"Verbindungsinformationen"},"es":{"agent":"Agente","group":"Grupo de Dispositivos","url":"URL del servidor","meshName":"Nombre del grupo","meshId":"Identificador del Grupo","serverId":"Identificador de Servidor","setup":"Preparar","update":"Actualizar","install":"Instalar","uninstall":"Desinstalar","connect":"Conectar","disconnect":"Desconectar","cancel":"Cancelar","close":"Cerrar","pressok":"Presione OK para desconectar","sudo":"Vuelve a intentarlo con sudo.","ctrlc":"Presione Ctrl-C para salir.","commands":"Puedes ejecutar la versión de texto desde la línea de comandos con los siguientes comandos","zenity":"Intenta instalar / actualizar Zenity y vuelve a ejecutar","status":["NO INSTALADO","EJECUTANDO","NO EJECUTANDOSE"],"statusDescription":"Estado Actual del Agente","agentVersion":"Nueva versión","elevation":"Se requieren permisos elevados para instalar/desinstalar este software.","graphicalerror":"La versión gráfica de este instalador no puede ejecutarse en este sistema","description":"Haga clic en los botones a continuación para instalar o desinstalar este software de administración remota. Cuando se instala, este software se ejecuta en segundo plano, lo que permite que un administrador remoto administre y controle esta computadora."},"fi":{"agent":"Agentti","group":"Laiteryhmä","url":"Palvelimen URL-osoite","meshName":"Ryhmän nimi","meshId":"Ryhmän tunniste","serverId":"Palvelimen tunniste","setup":"Perustaa","update":"Päivittää","install":"Asenna","uninstall":"Asennuksen poistaminen","connect":"Yhdistä","disconnect":"Katkaise yhteys","cancel":"Peruuta","close":"Sulje","pressok":"Katkaise yhteys painamalla OK","sudo":"Yritä uudelleen sudolla.","ctrlc":"Poistu painamalla Ctrl-C.","commands":"Voit suorittaa tekstiversio komentoriviltä seuraavilla komennoilla","zenity":"Yritä asentaa / päivittää Zenity ja suorita uudelleen","status":["EI ASENNETTU","Juoksu","EI RUNNING"],"statusDescription":"Agentin nykyinen tila","agentVersion":"Uusi versio","elevation":"Tämän ohjelmiston asentaminen/asennuksen poistaminen edellyttää korotettuja käyttöoikeuksia.","graphicalerror":"Tämän asennusohjelman graafista versiota ei voi käyttää tässä järjestelmässä","description":"Napsauta alla olevia painikkeita asentaaksesi tai poistaaksesi tämän etähallintaohjelmiston. Kun ohjelmisto on asennettu, se toimii taustalla, jolloin etäjärjestelmänvalvoja voi hallita ja ohjata tätä tietokonetta."},"fr":{"agent":"Agent","group":"Groupe d'appareils","url":"URL du serveur","meshName":"Nom du groupe","meshId":"Identifiant de groupe","serverId":"Identifiant du serveur","setup":"Configuration","update":"Mettre à jour","install":"Installer","uninstall":"Désinstaller","connect":"Se connecter","disconnect":"Déconnecter","cancel":"Annuler","close":"Fermer","pressok":"Appuyez sur OK pour vous déconnecter","sudo":"Veuillez réessayer avec sudo.","ctrlc":"Appuyez sur Ctrl-C pour quitter.","commands":"Vous pouvez exécuter la version texte à partir de la ligne de commande avec la ou les commandes suivantes","zenity":"Essayez d'installer / mettre à jour Zenity et réexécutez","status":["PAS INSTALLÉ","FONCTIONNEMENT","PAS EN FONCTIONNEMENT"],"statusDescription":"Statut actuel de l'agent","agentVersion":"Nouvelle version","elevation":"Des autorisations élevées sont requises pour installer/désinstaller ce logiciel.","graphicalerror":"La version graphique de ce programme d'installation ne peut pas s'exécuter sur ce système","description":"Cliquez sur les boutons ci-dessous pour installer ou désinstaller ce logiciel de gestion à distance. Une fois installé, ce logiciel s'exécute en arrière-plan, ce qui permet à cet ordinateur d'être géré et contrôlé par un administrateur distant."},"hi":{"agent":"एजेंट","group":"डिवाइस समूह","url":"सर्वर URL","meshName":"समूह नाम","meshId":"समूह पहचानकर्ता","serverId":"सर्वर पहचानकर्ता","setup":"सेट अप","update":"अपडेट करें","install":"इंस्टॉल","uninstall":"स्थापना रद्द करें","connect":"जुडिये","disconnect":"डिस्कनेक्ट","cancel":"रद्द करना","close":"बंद करे","pressok":"डिस्कनेक्ट करने के लिए ओके दबाएं","sudo":"कृपया सूडो के साथ फिर से प्रयास करें।","ctrlc":"बाहर निकलने के लिए Ctrl-C दबाएं।","commands":"आप निम्न कमांड के साथ कमांड लाइन से टेक्स्ट संस्करण चला सकते हैं","zenity":"ज़ेनिटी को स्थापित / अपडेट करने का प्रयास करें, और फिर से चलाएं","status":["स्थापित नहीं है","चल रहा है","चल नहीं रहा"],"statusDescription":"वर्तमान एजेंट की स्थिति","agentVersion":"नया संस्करण","elevation":"इस सॉफ़्टवेयर को स्थापित/अनइंस्टॉल करने के लिए उन्नत अनुमतियों की आवश्यकता होती है।","graphicalerror":"इस इंस्टालर का आलेखीय संस्करण इस सिस्टम पर नहीं चल सकता","description":"इस दूरस्थ प्रबंधन सॉफ़्टवेयर को स्थापित या अनइंस्टॉल करने के लिए नीचे दिए गए बटनों पर क्लिक करें। स्थापित होने पर, यह सॉफ़्टवेयर पृष्ठभूमि में चलता है जिससे इस कंप्यूटर को दूरस्थ व्यवस्थापक द्वारा प्रबंधित और नियंत्रित किया जा सकता है।"},"it":{"agent":"Agente","group":"Gruppo di dispositivi","url":"URL del server","meshName":"Nome del gruppo","meshId":"Identificatore di gruppo","serverId":"Identificatore del server","setup":"Impostare","update":"Aggiornamenti","install":"Installare","uninstall":"Disinstalla","connect":"Connetti","disconnect":"Disconnetti","cancel":"Annulla","close":"Chiudere","pressok":"Premi OK per disconnetterti","sudo":"Riprova con sudo.","ctrlc":"Premi Ctrl-C per uscire.","commands":"Puoi eseguire la versione testuale dalla riga di comando con i seguenti comandi ","zenity":"Prova a installare/aggiornare Zenity ed esegui di nuovo","status":["NON INSTALLATO","IN ESECUZIONE","NON IN ESECUZIONE"],"statusDescription":"Stato attuale dell'agente","agentVersion":"Nuova versione","elevation":"Per installare/disinstallare questo software sono necessarie autorizzazioni elevate.","graphicalerror":"La versione grafica di questo programma di installazione non può essere eseguita su questo sistema","description":"Fare clic sui pulsanti seguenti per installare o disinstallare questo software di gestione remota. Una volta installato, questo software viene eseguito in background consentendo a questo computer di essere gestito e controllato da un amministratore remoto."},"ja":{"agent":"エージェント","group":"デバイスグループ","url":"サーバーのURL","meshName":"그룹 이름","meshId":"グループ識別子","serverId":"サーバー識別子","setup":"セットアップ","update":"更新","install":"インストール","uninstall":"アンインストール","connect":"つなぐ","disconnect":"切断する","cancel":"キャンセル","close":"閉じる","pressok":"OKを押して切断します","sudo":"sudoでもう一度やり直してください。","ctrlc":"Ctrl-Cを押して終了します。","commands":"次のコマンドを使用して、コマンドラインからテキストバージョンを実行できます。","zenity":"Zenityをインストール/更新して、もう一度実行してください","status":["インストールされていない","ランニング","走っていない"],"statusDescription":"現在のエージェントステータス","agentVersion":"新しいバージョン","elevation":"このソフトウェアをインストール/アンインストールするには、昇格された権限が必要です。","graphicalerror":"このインストーラーのグラフィカルバージョンは、このシステムでは実行できません","description":"このリモート管理ソフトウェアをインストールまたはアンインストールするには、下のボタンをクリックしてください。インストールすると、このソフトウェアはバックグラウンドで実行され、リモート管理者がこのコンピューターを管理および制御できるようになります。"},"ko":{"agent":"에이전트","group":"장치 그룹","url":"서버의 위치","meshName":"그룹 이름","meshId":"그룹 식별자","serverId":"서버의 식별자","setup":"설정하다","update":"개조하다","install":"설치","uninstall":"설치 제거","connect":"연결","disconnect":"연결 해제","cancel":"취소","close":"닫기","pressok":"연결을 끊으려면 \"OK\"를 누르십시오","sudo":"\"sudo\"로 다시 시도하십시오","ctrlc":"종료하려면 \"Ctrl-C\"를 누르십시오.","commands":"다음 명령을 사용하여 콘솔에서 텍스트 버전을 실행할 수 있습니다","zenity":"\"Zenity\"를 설치 또는 업데이트하고 다시 시도하십시오","status":["없다","운영","중지됨"],"statusDescription":"에이전트 상태","agentVersion":"새로운 버전","elevation":"이 소프트웨어를 설치/제거하려면 높은 권한이 필요합니다.","graphicalerror":"이 설치 프로그램의 그래픽 버전은 이 시스템에서 실행할 수 없습니다.","description":"이 원격 관리 소프트웨어를 설치하거나 제거하려면 아래 버튼을 클릭하십시오. 이 소프트웨어를 설치하면 백그라운드에서 실행되어 원격 관리자가 이 컴퓨터를 관리하고 제어할 수 있습니다."},"nl":{"agent":"Agent","group":"Apparaat groep","url":"Server URL","meshName":"Groepsnaam","meshId":"Groepsidentificatie","serverId":"Server identificatie","setup":"Setup","update":"Bijwerken","install":"Installeren","uninstall":"Deïnstallatie","connect":"Verbinden","disconnect":"Verbreken","cancel":"Annuleren","close":"Sluiten","pressok":"Druk op OK om de verbinding te verbreken","sudo":"Probeer het opnieuw met sudo.","ctrlc":"Druk op Ctrl-C om af te sluiten.","commands":"U kunt de tekstversie vanaf de opdrachtregel uitvoeren met de volgende opdracht(en)","zenity":"Probeer Zenity te installeren / bij te werken en voer het opnieuw uit","status":["NIET GEÏNSTALLEERD","ACTIEF","NIET ACTIEF"],"statusDescription":"Huidige agent status","agentVersion":"Nieuwe versie","elevation":"Verhoogde machtigingen zijn vereist om deze software te installeren/verwijderen.","graphicalerror":"De grafische versie van dit installatieprogramma kan niet op dit systeem draaien","description":"Klik op de onderstaande knoppen om deze software voor beheer op afstand te installeren of te verwijderen. Na installatie draait deze software op de achtergrond waardoor deze computer kan worden beheerd en gecontroleerd door een externe beheerder."},"pt":{"agent":"Agente","group":"Grupo de dispositivos","url":"URL do servidor","meshName":"Nome do grupo","meshId":"Identificador de Grupo","serverId":"Identificador de Servidor","setup":"Configuração","update":"Atualizar","install":"Instalar","uninstall":"Desinstalar","connect":"Conectar","disconnect":"Desconectar","cancel":"Cancelar","close":"Fechar","pressok":"Pressione OK para desconectar","sudo":"Por favor, tente novamente com sudo.","ctrlc":"Pressione Ctrl-C para sair.","commands":"Você pode executar a versão em texto a partir da linha de comando com o (s) seguinte (s) comando (s)","zenity":"Tente instalar / atualizar o Zenity e execute novamente","status":["NÃO INSTALADO","CORRIDA","NÃO CORRENDO"],"statusDescription":"Status atual do agente","agentVersion":"Nova versão","elevation":"Permissões elevadas são necessárias para instalar/desinstalar este software.","graphicalerror":"A versão gráfica deste instalador não pode ser executada neste sistema","description":"Clique nos botões abaixo para instalar ou desinstalar este software de gerenciamento remoto. Quando instalado, este software é executado em segundo plano, permitindo que este computador seja gerenciado e controlado por um administrador remoto."},"ru":{"agent":"Агент","group":"Группа устройств","url":"URL-адрес сервера","meshName":"Имя Группы","meshId":"Идентификатор группы","serverId":"Идентификатор сервера","setup":"Настроить","update":"Обновить","install":"Установка","uninstall":"Удаление","connect":"Подключиться","disconnect":"Разъединить","cancel":"Отмена","close":"Закрыть","pressok":"Нажмите ОК для отключения","sudo":"Пожалуйста, попробуйте еще раз с помощью sudo.","ctrlc":"Нажмите Ctrl-C для выхода.","commands":"Вы можете запустить текстовую версию из командной строки с помощью следующих команд","zenity":"Попробуйте установить / обновить Zenity и снова запустить","status":["НЕ УСТАНОВЛЕНО","ЗАПУЩЕН","НЕ ЗАПУЩЕН"],"statusDescription":"Текущий статус агента","agentVersion":"Новая версия","elevation":"Для установки/удаления этого программного обеспечения требуются повышенные права.","graphicalerror":"Графическая версия этого установщика не может быть запущена в этой системе.","description":"Нажмите кнопки ниже, чтобы установить или удалить это программное обеспечение для удаленного управления..После установки это программное обеспечение работает в фоновом режиме, что позволяет удаленному администратору управлять этим компьютером."},"sv":{"agent":"Agent","group":"Enhetsgrupp","url":"Serverns URL","meshName":"Grupp namn","meshId":"Gruppidentifierare","serverId":"Serveridentifierare","setup":"Uppstart","update":"Uppdatering","install":"Installera","uninstall":"Avinstallera","connect":"Anslut","disconnect":"Koppla ifrån","cancel":"Avbryt","close":"Stäng","pressok":"Tryck på OK för att koppla bort","sudo":"Försök igen med sudo.","ctrlc":"Tryck på Ctrl-C för att avsluta.","commands":"Du kan köra textversionen från kommandoraden med följande kommando (er)","zenity":"Försök att installera / uppdatera Zenity och kör igen","status":["INTE INSTALLERAD","LÖPNING","SPRINGER INTE"],"statusDescription":"Aktuell agentstatus","agentVersion":"Ny version","elevation":"Förhöjda behörigheter krävs för att installera/avinstallera denna programvara.","graphicalerror":"Den grafiska versionen av detta installationsprogram kan inte köras på det här systemet","description":"Klicka på knapparna nedan för att installera eller avinstallera denna fjärrhanteringsprogramvara. När den är installerad körs den här programvaran i bakgrunden så att den här datorn kan hanteras och kontrolleras av en fjärradministratör."},"tr":{"agent":"Agent","group":"Cihaz Grubu","url":"Sunucu URL'si","meshName":"Grup ismi","meshId":"Grup Tanımlayıcı","serverId":"Sunucu Tanımlayıcı","setup":"Kurmak","update":"Güncelleme","install":"Yüklemek","uninstall":"Kaldır","connect":"Bağlan","disconnect":"Bağlantıyı kes","cancel":"İptal","close":"Kapat","pressok":"Bağlantıyı kesmek için Tamam'a basın","sudo":"Lütfen sudo ile tekrar deneyin.","ctrlc":"Çıkmak için Ctrl-C tuşlarına basın.","commands":"Metin sürümünü aşağıdaki komutlarla komut satırından çalıştırabilirsiniz.","zenity":"Zenity'yi kurmayı / güncellemeyi deneyin ve tekrar çalıştırın","status":["YÜKLÜ DEĞİL","KOŞU","KOŞMAK YOK"],"statusDescription":"Mevcut Agent Durumu","agentVersion":"Yeni sürüm","elevation":"Bu yazılımı yüklemek/kaldırmak için yüksek izinler gerekir.","graphicalerror":"Bu yükleyicinin grafik sürümü bu sistemde çalışamaz","description":"Bu uzaktan yönetim yazılımını yüklemek veya kaldırmak için aşağıdaki düğmelere tıklayın. Yüklendiğinde, bu yazılım arka planda çalışır ve bu bilgisayarın uzak bir yönetici tarafından yönetilmesine ve kontrol edilmesine olanak tanır."},"da":{"agent":"Agent","group":"Enhedsgruppe","url":"Server URL","meshName":"Gruppe navn","meshId":"Gruppe-id","serverId":"Serveridentifikator","setup":"Opsætning","update":"Opdatering","install":"Installér","uninstall":"Afinstaller","connect":"Forbind","disconnect":"Afbryd","cancel":"Annuller","close":"Luk","pressok":"Tryk på OK for at afbryde","sudo":"Prøv venligst igen med sudo.","ctrlc":"Tryk på Ctrl-C for at afslutte.","commands":"Du kan køre tekstversionen fra kommandolinjen med følgende kommando(er)","zenity":"Prøv at installere/opdatere Zenity, og kør igen","status":["IKKE INSTALLERET","KØRER","KØRER IKKE"],"statusDescription":"Aktuel agentstatus","agentVersion":"Ny version","elevation":"Forhøjede tilladelser er nødvendige for at installere/afinstallere denne software.","graphicalerror":"Den grafiske version af dette installationsprogram kan ikke køre på dette system","description":"Klik på knapperne nedenfor for at installere eller afinstallere denne fjernstyringssoftware. Når den er installeret, kører denne software i baggrunden, så denne computer kan administreres og kontrolleres af en fjernadministrator."},"pl":{"agent":"Agent","group":"Grupa Urządzeń","url":"URL Serwera","meshName":"Nazwa Grupy","meshId":"Identyfikator Grupy","serverId":"Identyfikator Serwera","setup":"Konfiguracja","update":"Aktualizacja","install":"Zainstaluj","uninstall":"Odinstaluj","connect":"Połącz","disconnect":"Rozłącz","cancel":"Anuluj","close":"Zamknij","pressok":"Naciśnij OK by się rozłączyć","sudo":"Proszę spróbować ponownie z sudo.","ctrlc":"Naciśnij Ctrl-C by wyjść.","commands":"Możesz uruchomić wersję tekstową z linii poleceń za pomocą następujących komend","zenity":"Spróbuj zainstalować/zaktualizować Zenity i uruchom ponownie","status":["NIE ZAINSTALOWANY","DZIAŁA","NIE DZIAŁA"],"statusDescription":"Obecny Status Agenta","agentVersion":"Nowa Wersja","elevation":"Do zainstalowania/odinstalowania tego oprogramowania wymagane są podwyższone uprawnienia.","graphicalerror":"Graficzna wersja tego instalatora nie może być uruchomiona w tym systemie","description":"Kliknij poniższe przyciski, aby zainstalować lub odinstalować oprogramowanie zdalnego dostępu. Po zainstalowaniu, to oprogramowanie działa w tle, umożliwiając zarządzanie i kontrolowanie tego komputera przez zdalnego administratora."},"pt-br":{"agent":"Agente","group":"Grupo de Dispositivos","url":"URL do servidor","meshName":"Nome do grupo","meshId":"Identificador de Grupo","serverId":"Identificador de Servidor","setup":"Configurar","update":"Atualizar","install":"Instalar","uninstall":"Desinstalar","connect":"Conectar","disconnect":"Desconectar","cancel":"Cancelar","close":"Fechar","pressok":"Pressione OK para desconectar","sudo":"Por favor, tente novamente com sudo.","ctrlc":"Pressione Ctrl-C para sair.","commands":"Você pode executar a versão em texto a partir da linha de comando com o (s) seguinte (s) comando (s)","zenity":"Tente instalar / atualizar o Zenity e execute novamente","status":["NÃO INSTALADO","Executando","NÃO EXECUTANDO"],"statusDescription":"Status atual do agente","agentVersion":"Nova Versão","elevation":"Permissões Elevadas são necessárias para instalar/desinstalar este software","graphicalerror":"A versão gráfica do instalador não pode ser executada neste sistema","description":"Clique nos botões abaixo para instalar ou desinstalar  este software de gerenciamento remoto. Quando instalado, este software é executado em segundo plano permitindo que este computador seja gerenciado e controlado por um administrador remoto"},"bs":{"agent":"Agent","agentVersion":"Nova verzija","group":"Grupa uređaja","url":"URL servera","meshName":"Ime grupe","meshId":"Grupni identifikator","serverId":"Identifikator servera","setup":"Postaviti","update":"Ažuriraj","install":"Instaliraj","uninstall":"Deinstalirati","connect":"Povežite se","disconnect":"Prekini vezu","cancel":"Otkaži","close":"Zatvori","pressok":"Pritisnite OK da prekinete vezu","elevation":"Za instaliranje/deinstaliranje ovog softvera potrebne su povišene dozvole.","sudo":"Molimo pokušajte ponovo sa sudo.","ctrlc":"Pritisnite Ctrl-C za izlaz.","commands":"Možete pokrenuti tekstualnu verziju iz komandne linije sa sljedećim naredbama","graphicalerror":"Grafička verzija ovog instalatera ne može da radi na ovom sistemu","zenity":"Pokušajte instalirati/ažurirati Zenity i pokrenite ponovo","status":["NIJE INSTALIRANO","RUNNING","NOT RUNNING"],"statusDescription":"Trenutni status agenta","description":"Kliknite na dugmad ispod da instalirate ili deinstalirate ovaj softver za daljinsko upravljanje. Kada je instaliran, ovaj softver radi u pozadini, što omogućava da ovim računarom upravlja i kontroliše udaljeni administrator."},"hu":{"agent":"Agent","agentVersion":"Új verzió","group":"Eszköz csoport","url":"Kiszolgáló URL","meshName":"Csoport név","meshId":"Csoport azonosító","serverId":"Kiszolgáló azonosító","setup":"Beállítás","update":"Frissítés","install":"Telepítés","uninstall":"Eltávolítás","connect":"Kapcsolódás","disconnect":"Lekapcsolódás","cancel":"Mégse","close":"Bezár","pressok":"Press OK to disconnect","elevation":"A szoftver telepítéséhez/eltávolításához megnövelt jogosultságok szükségesek.","sudo":"Kérjük, próbálja meg újra a sudo használatával.","ctrlc":"A kilépéshez nyomja meg a Ctrl-C billentyűt.","commands":"A szöveges változatot a parancssorból futtathatja a következő parancs(okk)al","graphicalerror":"A telepítő grafikus verziója nem futtatható ezen a rendszeren.","zenity":"Próbálja meg telepíteni/frissíteni a Zenity-t, és indítsa újra","status":["NINCS TELEPÍTVE","FUT","NEM FUT"],"statusDescription":"Jelenlegi agent állapota","description":"Kattintson a Telepítés vagy Eltávolítás gombokra a Távfelügyeleti alkalmazás telepítéséhez vagy eltávolításához. Telepítés után ez az alkalmazás a háttérben fut, lehetővé téve, hogy a számítógépet egy távoli rendszergazda kezelje."},"zh-hans":{"agent":"代理","group":"设备组","url":"服务器网址","meshName":"团队名字","meshId":"组标识符","serverId":"服务器标识符","setup":"设定","update":"更新","install":"安装","uninstall":"卸载","connect":"连接","disconnect":"断线","cancel":"取消","close":"关","pressok":"按确定断开连接","sudo":"请使用sudo再试一次。","ctrlc":"按Ctrl-C退出。","commands":"您可以使用以下命令从命令行运行文本版本","zenity":"尝试安装/更新Zenity,然后再次运行","status":["未安装","正在运行","不在运行"],"statusDescription":"当前代理状态","agentVersion":"新版本","elevation":"安装/卸载此软件需要提升权限。","graphicalerror":"此安装程序的图形版本无法在此系统上运行","description":"单击下面的按钮以安装或卸载此远程管理软件。安装后,该软件在后台运行,允许远程管理员管理和控制该计算机。"},"zh-hant":{"agent":"代理","group":"裝置群","url":"服務器網址","meshName":"團隊名字","meshId":"群標識符","serverId":"服務器標識符","setup":"設定","update":"更新資料","install":"安裝","uninstall":"卸載","connect":"連接","disconnect":"斷線","cancel":"取消","close":"關","pressok":"按確定斷開連接","sudo":"請使用sudo再試一次。","ctrlc":"按Ctrl-C退出。","commands":"您可以使用以下命令從命令行運行文本版本","zenity":"嘗試安裝/更新Zenity,然後再次運行","status":["未安裝","正在運行","不在運行"],"statusDescription":"當前代理狀態","agentVersion":"新版本","elevation":"安裝/卸載此軟件需要提升權限。","graphicalerror":"此安裝程序的圖形版本無法在此系統上運行","description":"單擊下面的按鈕以安裝或卸載此遠程管理軟件。安裝後,該軟件在後台運行,允許遠程管理員管理和控制該計算機。"}}
StartupType=1

If I understand well your question different one because completely different place....

si458 commented 1 year ago

is the meshcentral server and the remote computer on the same network? because your msh file is showing MeshServer=local which means its trying to look for your meshcentral server locally BUT you have also got

"_WANonly": true,
"_LANonly": true,

so i believe it runs in WAN only mode so it wont work, whats also the output of the meshcentral server when you run it?

Mobi974Soft commented 1 year ago

No it's not on the same network

si458 commented 1 year ago

then this is the issue, try setting _wanonly to wanonly, set _cert to cert and set its value to your DNS hostname that points to meshcentral then restart meshcentral then uninstall the agent from the remote computer redownload the agent from meshcentral again and try again

Mobi974Soft commented 1 year ago

I modify and reinstall the agent now it's : MeshName=Caisses MeshType=2 MeshID=0x5B21884396DCB76DFC06EA0D1FB61DAF3F027122E8AB77ED8ADEE3B3AF4711DA9586413767A88B65C3A5E9401A6827E3 ServerID=6E52FD5004F7C7D8BDBBDC903D7A28D21C21D6BC53CEAE3D14A536DA907F688801D3B45A790AE624F8A6C50DEB41801F MeshServer=wss://meshcentral.xxxx.com:443/agent.ashx translation={"en":{"agent":"Agent","agentVersion":"New Version","group":"Device Group","url":"Server URL","meshName":"Group Name","me> StartupType=1

But still not appear. I restart the container and nothing appear

si458 commented 1 year ago

can you access your meshcentral from the remote computer? https://meshcentral.xxxxx.com? whats the output of meshcentral when you restart it?

Mobi974Soft commented 1 year ago

yes I wa able to access to this computer from the public access I think now i found the problem but i don't know how to solve it. If I put "ignoreagenthashcheck": true in config file the device appear. How can I do to avoid to make this at true ?

si458 commented 1 year ago

are you using a proxy? (like reverse proxy traefik, nginx, cloudflare?) this is because meshcentral cant verify the hashes on the certificates

silversword411 commented 1 year ago

Yep, something in the mix messing with SSL certs. Probably reverse proxy

Mobi974Soft commented 1 year ago

are you using a proxy? (like reverse proxy traefik, nginx, cloudflare?) this is because meshcentral cant verify the hashes on the certificates

nginx proxy with portainer

si458 commented 1 year ago

are you using a proxy? (like reverse proxy traefik, nginx, cloudflare?) this is because meshcentral cant verify the hashes on the certificates

nginx proxy with portainer

you then to set tlsoffload and certurl in config.json and remove the ignoreagenthashcheck https://ylianst.github.io/MeshCentral/meshcentral/#nginx-reverse-proxy-setup

Mobi974Soft commented 1 year ago

it's worst.... nothing work anymore... 502 badgetway

si458 commented 1 year ago

it's worst.... nothing work anymore... 502 badgetway

what is your config.json now

Mobi974Soft commented 1 year ago
{
  "$schema": "https://raw.githubusercontent.com/Ylianst/MeshCentral/master/meshcentral-config-schema.json",
  "__comment1__": "This is a simple configuration file, all values and sections that start with underscore (_) are ignored. Edit a section and remove the _ in front of the name. Refer >
  "__comment2__": "See node_modules/meshcentral/sample-config-advanced.json for a more advanced example.",
  "settings": {
    "_cert": "meshcentral.xxx.com",
    "WANonly": true,
    "_LANonly": true,
    "_sessionKey": "xxxxxxxx",
    "_port": 443,
    "_aliasPort": 443,
    "_redirPort": 80,
    "_redirAliasPort": 80
  },
  "domains": {
    "": {
      "_title": "meshcentral.xxx.com",
      "_title2": "meshcentral.xxx.com",
      "_minify": true,
      "_newAccounts": true,
      "_userNameIsEmail": true,
      "tlsoffload ": true,
      "certUrl": "https://meshcentral.xxx.com"
    }
  },
  "_letsencrypt": {
    "__comment__": "Requires NodeJS 8.x or better, Go to https://letsdebug.net/ first before trying Let's Encrypt.",
    "email": "contact@xxx.com",
    "names": "meshcentral.xxx.com",
    "skipChallengeVerification": true,
    "production": false
  }
}
si458 commented 1 year ago

change _cert to cert move tlsoffload into settings and change true to THE IP ADDRESS OF YOUR NGINX SERVER OR THE DNS NAME OF NGINX

also use https://jsonlint.com/ to style the text correct on github

silversword411 commented 1 year ago

are you using a proxy? (like reverse proxy traefik, nginx, cloudflare?) this is because meshcentral cant verify the hashes on the certificates

nginx proxy with portainer

Hope you've patched the CVE for that...

Mobi974Soft commented 1 year ago

change _cert to cert move tlsoffload into settings and change true to THE IP ADDRESS OF YOUR NGINX SERVER OR THE DNS NAME OF NGINX

also use https://jsonlint.com/ to style the text correct on github

Still in badgetway...

Mobi974Soft commented 1 year ago

Isn't there a problem in the port ? 4433 is normal ?

MeshCentral HTTP redirection server running on port 80.
MeshCentral v1.1.6, WAN mode, Production mode.
MeshCentral Intel(R) AMT server running on meshcentral.xxx.com:4433.
MeshCentral HTTPS server running on meshcentral.xxx.com443.
Loaded web certificate from "https://meshcentralxxx.com/", host: "meshcentral.xxx.com"
  SHA384 cert hash: d80071f0c19457fdgfhghgh84bffa53c4daaf13bxxxxxx050024a64ff2b6dxxxbce11f
si458 commented 1 year ago

you should be proxying from nginx to port 443, 4433 is the intel AMT port not mesh port

Mobi974Soft commented 1 year ago

port is 8086 forward to 443

si458 commented 1 year ago

so you access mesh via https://meshcentral.myserver.com:8086? if so you need to put this url into certurl

Mobi974Soft commented 1 year ago

https://meshcentral.myserver.com:8086 work but not in https If I put https://meshcentral.myserver.com:8086 in certurl nothing change and I have Failed to load web certificate at: https://meshcentral.myserver.com:8086

Mobi974Soft commented 1 year ago

It's was a problem of nginxsomewehere to put https instead http. @si458 and @silversword411 thank you for your help now everythings works ^^ Last question for smtp email i didn't find a place to put password. I found this :

  "_smtp": {
    "host": "smtp.myserver.com",
    "port": 25,
    "from": "myemail@myserver.com",
    "__tls__": "When 'tls' is set to true, TLS is used immidiatly when connecting. For SMTP servers that use TLSSTART, set this to 'false' and TLS will still be used.",
    "tls": false,
    "___tlscertcheck__": "When set to false, the TLS certificate of the SMTP server is not checked.",
    "_tlscertcheck": false,
    "__tlsstrict__": "When set to true, TLS cypher setup is more limited, SSLv2 and SSLv3 are not allowed.",
    "_tlsstrict": true,
    "_emailDelaySeconds": 300
  },

How can it send email without password or do i miss something ?

Ylianst commented 1 year ago

Note that for setting up MeshCentral in LAN or WAN modes, check out this video. For setting up MeshCentral with NGINX, check out this video.