Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS errors in console #6338

Closed
grzonu opened this issue Aug 23, 2024 · 4 comments
Closed

JS errors in console #6338

grzonu opened this issue Aug 23, 2024 · 4 comments
Assignees
Labels

Comments

@grzonu
Copy link

grzonu commented Aug 23, 2024

Describe the bug
Many errors in console, nothing visible in "my devices" and cannot go into device details from device group preview

To Reproduce
just go into dashboard - helm k8s installation

Expected behavior
I expect to see devices list and have access to device details

Screenshots
mc

Server Software (please complete the following information):

  • OS: Ubuntu Server
  • Virtualization: K8s
  • Network: LAN/WAN
  • Version: Docker ghcr.io/ylianst/meshcentral:1.1.27
  • Node: as from docker

Client Device (please complete the following information):

  • Device: PC
  • OS: Windows
  • Network: Local to meshcentral
  • Browser: Chrome/Firefox/Edge

Your config.json file

{
      "$schema": "http://info.meshcentral.com/downloads/meshcentral-config-schema.json",
      "domains": {
        "": {
          "agentConfig": [
            "webSocketMaskOverride=1"
          ],
          "certUrl": "XXX",
          "clipboardGet": true,
          "clipboardSet": true,
          "deviceMeshRouterLinks": {
            "rdp": true,
            "scp": true,
            "ssh": true
          },
          "geoLocation": true,
          "ipkvm": false,
          "localSessionRecording": true,
          "minify": true,
          "mobileSite": true,
          "mstsc": true,
          "myServer": {
            "Backup": true,
            "Console": true,
            "ErrorLog": true,
            "Restore": true,
            "Trace": true,
            "Upgrade": false
          },
          "newAccounts": false,
          "nightMode": 0,
          "novnc": true,
          "siteStyle": 2,
          "ssh": true,
          "title": "MeshCentral",
          "title2": "XXX",
          "userNameIsEmail": false,
          "welcomeText": "XXX"
        }
      },
      "settings": {
        "LANonly": false,
        "WANonly": false,
        "agentCoreDump": false,
        "agentLogDump": false,
        "agentWsCompression": true,
        "aliasPort": 443,
        "allowFraming": false,
        "allowLoginToken": false,
        "autobackup": {
          "backupIntervalHours": 24,
          "backupPath": "/opt/meshcentral/meshcentral-backup",
          "keepLastDaysBackup": 10,
          "mongoDumpPath": "/usr/bin/mongodump",
          "zipPassword": ""
        },
        "webPageLengthRandomization": false,
        "cert": "XXX",
        "cleanNpmCacheOnUpdate": false,
        "compression": true,
        "dbExpire": {
          "events": 1728000,
          "powerevents": 864000,
          "statsevents": 2592000
        },
        "keepCerts": false,
        "maxInvalid2fa": {
          "coolofftime": 30,
          "count": 10,
          "time": 10
        },
        "maxInvalidLogin": {
          "coolofftime": 30,
          "count": 10,
          "time": 10
        },
        "nice404": true,
        "plugins": {
          "enabled": false
        },
        "port": 10205,
        "postgres": {
          "database": "meshcentral",
          "host": "XXX",
          "password": "XXX",
          "port": 5432,
          "user": "app"
        },
        "relayDNS": [],
        "selfUpdate": false,
        "sessionKey": "XXX",
        "sessionSameSite": "lax",
        "sessionTime": 60,
        "webRTC": true,
        "wsCompression": true
      }
    }
@grzonu grzonu added the bug label Aug 23, 2024
@grzonu
Copy link
Author

grzonu commented Aug 23, 2024

After change minify: false it works

@si458
Copy link
Collaborator

si458 commented Aug 23, 2024

this will be a minify bug, it happens all the time because some code cant be minified correctly,
we just need to work out what line is causing the issue then fix it 👍

so what language are you using?

PS: dont suppose you could share your helm/kubernetes repo/code in another issue?
we have docker examples but no kubernetes code/repo and would be nice to add it in for others!

@grzonu
Copy link
Author

grzonu commented Aug 23, 2024

Polish language
I used https://www.datree.io/helm-chart/meshcentral-truecharts for deploy

si458 added a commit that referenced this issue Aug 23, 2024
Signed-off-by: si458 <simonsmith5521@gmail.com>
@si458
Copy link
Collaborator

si458 commented Aug 23, 2024

should be fixed for you! 0ccce62
give it 15mins to build a new docker image, then try the ghcr.io/ylianst/meshcentral:master image

EDIT: the minify process was minifying files that was already minified AND they shouldnt be minified/modified anyways

@si458 si458 self-assigned this Aug 23, 2024
@si458 si458 closed this as completed Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants