northsea4 / mdcx-docker

在Docker容器中运行 MDCX,并通过Web界面或远程桌面进行控制。Run MDCX in a Docker container, accessible and controllable via a web interface or remote desktop.
GNU General Public License v3.0
619 stars 78 forks source link

[BUG] <MDCx无法打开,求助大佬!> #41

Closed fanshu93 closed 6 months ago

fanshu93 commented 6 months ago

是否存在已有问题?

问题描述

5月31安装stainless403/mdcx-builtin-webtop-base:latest版本,进入网页端,打开桌面MDCx闪退,求助大佬怎么排查? 截图_20240531174410

预期表现

No response

复现步骤

1.按照指引docker run运行示例,初始化安装 2.PUID、PGID检查没有问题、文件夹权限没有问题 3.docker run安装好后,检查磁盘mdcx-config/config.ini,改文件空的,是否存在问题? 截图_20240531175757

环境

- 操作系统:Unraid 6.12.10
- Docker服务安装方式:unraid自带功能,添加容器

CPU架构

amd64

使用的镜像

mdcx-builtin-webtop-base

Docker创建方式

执行命令
docker run
  -d
  --name='MDCx'
  --net='bridge'
  -e TZ="Asia/Shanghai"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="xxxServer"
  -e HOST_CONTAINERNAME="MDCx"
  -e 'TZ'='Asia/Shanghai'
  -e 'AUTO_LOGIN'='false'
  -e 'PUID'='1000'
  -e 'PGID'='100'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='http://[IP]:[PORT:3019]'
  -l net.unraid.docker.icon='http://192.168.31.150:8087/i/2024/05/30/161519.png'
  -p '3019:3000/tcp'
  -p '23388:3389/tcp'
  -v '/mnt/user/appdata/mdcx-docker/data/':'/config':'rw'
  -v '/mnt/user/appdata/mdcx-docker/mdcx-config/':'/mdcx-config':'rw'
  -v '/mnt/user/appdata/mdcx-docker/mdcx-config/MDCx.config':'/app/MDCx.config':'rw'
  -v '/mnt/user/appdata/mdcx-docker/logs/':'/app/Log':'rw'
  -v '/mnt/user/download/xunlei/':'/xunlei':'rw' 'stainless403/mdcx-builtin-webtop-base:latest'
253fc475c3a308161b7fd25f78cd8ae4f30d870d440c0839f0bf5ede4880ac3c

命令成功完成!

容器日志

[migrations] started
[migrations] no migrations found
cont-init: info: running /etc/cont-init.d/10-prepare-desktop.sh
cont-init: info: /etc/cont-init.d/10-prepare-desktop.sh exited 0
cont-init: info: running /etc/cont-init.d/11-strip-libs.sh
========================= strip libQt5Core ==============================
🔧 环境变量STRIP_LIBQT5CORE不为true,跳过strip libQt5Core
cont-init: info: /etc/cont-init.d/11-strip-libs.sh exited 0

-------------------------------------
          _         ()
         | |  ___   _    __
         | | / __| | |  /  \
         | | \__ \ | | | () |
         |_| |___/ |_|  \__/

Brought to you by linuxserver.io
-------------------------------------

To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

User uid:    1000
User gid:    100
-------------------------------------

Generating 2048 bit rsa key...

ssl_gen_key_xrdp1 ok

saving to rsakeys.ini

....+....+...+...+.........+.........+.....+.+.....+....+..+....+........+...+..........+...+............+.....+............+.+..+....+...+...+..+.+..............+.......+.....+......+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*....+......+....+.........+.........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.....+.+...+.........+..+....+......+...+..+..........+...........+..........+...............+.....+....+......+.....+...+.+.....+......+............+............+...+.+......+...........+...+.........+............+.+..+.+.....+....+.....+............+.+.....+..............................+...+....+...+..+......+.......+...+.....+.......+..+.+...........+.+............+......+..+.........+.+..+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.+....+...........+.+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.......+.....+.+........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.......+...+.....+......+.+.........+......+...+.........+.....+.+......+........+................+..+...+....+.....+......+.+......+...............+.....+...+....+..+......+...+....+..+...............+...+......+....+......+..+....+........+.......+......+...+..+....+...+.....+...+.......+..+.+........+......+...................+..+.......+......+.....+....+...+........+.+.....+.............+..+.+........+....+..+.....................+....+.....+...+.......+...+.....+............+...+.......+......+.....+....+...+............+...........+...+.......+...+.........+...........+.........+.......+........+.+.....+......+.............+..+...+......+....+..+.........+......+.+...+..+..................+..........+.....+.+...+..+....+............+........+.+......+..+.........................+..+....+..+....+...............+......+..+......+........................+.+......+...+...+...............+....................+.........+....+..+...+....+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
[custom-init] No custom files found, skipping...
guacd[203]: INFO:       Guacamole proxy daemon (guacd) version 1.1.0 started
guacd[203]: INFO:       Listening on host 0.0.0.0, port 4822
guacd[203]: INFO:       Guacamole connection closed during handshake
Starting guacamole-lite websocket server
listening on *:3000
[guac-init] Auto start not set, application start on login
[ls.io-init] done.
[2024-05-31 17:40:11] [Connection 1]  Client connection open
[2024-05-31 17:40:11] [Connection 1]  Opening guacd connection
[2024-05-31 17:40:11] [Connection 1]  guacd connection open
[2024-05-31 17:40:11] [Connection 1]  Selecting connection type: rdp
[2024-05-31 17:40:11] [Connection 1]  Sending opCode: 6.select,3.rdp;
guacd[203]: INFO:       Creating new client for protocol "rdp"
guacd[203]: INFO:       Connection ID is "$f7adf64b-ce8a-4774-9499-731344452936"
[2024-05-31 17:40:11] [Connection 1]  Sending opCode: 4.size,4.1232,13.598?undefined,2.96;
[2024-05-31 17:40:11] [Connection 1]  Sending opCode: 5.audio,9.audio/L16;
[2024-05-31 17:40:11] [Connection 1]  Sending opCode: 5.video;
[2024-05-31 17:40:11] [Connection 1]  Sending opCode: 5.image;
[2024-05-31 17:40:11] [Connection 1]  Server sent handshake: 4.args,13.VERSION_1_1_0,8.hostname,4.port,6.domain,8.username,8.password,5.width,6.height,3.dpi,15.initial-program,11.color-depth,13.disable-audio,15.enable-printing,12.printer-name,12.enable-drive,10.drive-name,10.drive-path,17.create-drive-path,7.console,13.console-audio,13.server-layout,8.security,11.ignore-cert,12.disable-auth,10.remote-app,14.remote-app-dir,15.remote-app-args,15.static-channels,11.client-name,16.enable-wallpaper,14.enable-theming,21.enable-font-smoothing,23.enable-full-window-drag,26.enable-desktop-composition,22.enable-menu-animations,22.disable-bitmap-caching,25.disable-offscreen-caching,21.disable-glyph-caching,16.preconnection-id,18.preconnection-blob,8.timezone,14.recording-path,14.recording-name,24.recording-exclude-output,23.recording-exclude-mouse,22.recording-include-keys,21.create-recording-path,13.resize-method,18.enable-audio-input,9.read-only,16.gateway-hostname,12.gateway-port,14.gateway-domain,16.gateway-username,16.gateway-password,17.load-balance-info
[2024-05-31 17:40:11] [Connection 1]  Sending opCode: 7.connect,0.,9.127.0.0.1,4.3389,0.,0.,0.,4.1232,13.598?undefined,2.96,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,12.en-us-qwerty,3.any,4.true,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,14.display-update,0.,0.,0.,0.,0.,0.,0.,0.;
guacd[265]: INFO:       Security mode: Negotiate (ANY)
guacd[265]: INFO:       Resize method: display-update
guacd[265]: INFO:       User "@3f1a8785-91db-49d9-ae9b-ef95fb527ef7" joined connection "$f7adf64b-ce8a-4774-9499-731344452936" (1 users now present)
guacd[265]: INFO:       Loading keymap "base"
guacd[265]: INFO:       Loading keymap "en-us-qwerty"
xauth:  file .Xauthority does not exist

X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
Current Operating System: Linux 253fc475c3a3 6.1.79-Unraid #1 SMP PREEMPT_DYNAMIC Fri Mar 29 13:34:03 PDT 2024 x86_64
Kernel command line: BOOT_IMAGE=/bzimage initrd=/bzroot
xorg-server 2:21.1.3-2ubuntu2.5 (For technical support please see http://www.ubuntu.com/support) 
Current version of pixman: 0.40.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: ".xorgxrdp.10.log", Time: Fri May 31 17:40:16 2024
(++) Using config file: "/etc/X11/xrdp/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xorgxrdpSetup:
xrdpdevSetup:
rdpmousePlug:
rdpkeybPlug:
rdpIdentify:
rdpDriverFunc: op 10
rdpProbe:
rdpProbe: found DRMDevice xorg.conf value [/dev/dri/renderD128]
rdpProbe: found DRI3 xorg.conf value [1]
rdpPreInit:
rdpPreInit: /dev/dri/renderD128 open failed
rdpScreenInit: virtualX 800 virtualY 600 rgbBits 8 depth 24
rdpScreenInit: pfbMemory bytes 1920000
rdpScreenInit: pfbMemory 0x14926223f010
rdpSimdInit: assigning yuv functions
rdpSimdInit: cpuid ax 1 cx 0 return ax 0x000b0671 bx 0x10800800 cx 0x7ffafbff dx 0xbfebfbff
rdpSimdInit: sse2 amd64 yuv functions assigned
rdpClientConInit: disconnect idle session after [0] sec
rdpClientConInit: kill disconnected [0] timeout [0] sec
rdpXvInit: depth 24
rdpScreenInit: out
rdpCreateScreenResources:
rdpmousePreInit: drv 0x561f49767070 info 0x561f498d21f0, flags 0x0
rdpmouseControl: what 0
rdpmouseDeviceInit:
rdpmouseCtrl:
rdpRegisterInputCallback: type 1 proc 0x1492629143b0
rdpmouseControl: what 1
rdpmouseDeviceOn:
rdpkeybPreInit: drv 0x561f49767020 info 0x561f49a5c3a0, flags 0x0
rdpkeybControl: what 0
rdpkeybDeviceInit:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpRegisterInputCallback: type 0 proc 0x14926290ed50
rdpkeybControl: what 1
rdpkeybDeviceOn:
rdpDeferredRandR:
rdpResizeSession: width 1024 height 768
  calling RRScreenSizeSet
rdpRRScreenSetSize: width 1024 height 768 mmWidth 271 mmHeight 203
rdpRRGetInfo:
  screen resized to 1024x768
  RRScreenSizeSet ok 1
rdpResizeSession: width 1232 height 598
  calling RRScreenSizeSet
rdpRRScreenSetSize: width 1232 height 598 mmWidth 326 mmHeight 158
rdpRRGetInfo:
  screen resized to 1232x598
  RRScreenSizeSet ok 1
rdpClientConGotConnection:
rdpClientConGotConnection: g_sck_accept ok new_sck 9
rdpClientConGetConnection: idle_disconnect_timeout set to non-positive value, idle timer turned off
rdpAddClientConToDev: adding first clientCon 0x561f49d63090
rdpClientConProcessMsgVersion: version 0 0 0 1
rdpClientConProcessScreenSizeMsg: set width 1232 height 598 bpp 16
rdpClientConProcessScreenSizeMsg: shmemid 0 shmemptr 0x1492622ac000
rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1232 cy 598
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpClientConProcessMsgClientInfo:
  got client info bytes 7072
  jpeg support 0
  offscreen support 0
  offscreen size 0
  offscreen entries 0
  client supports glyph cache but server disabled
  client can not do offscreen to offscreen blits
  client can do new(color) cursor
  client can not do multimon
rdpRRSetRdpOutputs: numCrtcs 0 numOutputs 0 monitorCount 0
rdpRRSetRdpOutputs: add output 0 left 0 top 0 width 1232 height 598
rdpLoadLayout: keylayout 0x00000409 variant  display 10
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
guacd[265]: INFO:       Accepted format: 16-bit PCM with 2 channels at 44100 Hz
guacd[265]: INFO:       Accepted format: 16-bit PCM with 2 channels at 22050 Hz
guacd[265]: INFO:       Connected to RDPDR 1.12 as client 0xebe496c3
guacd[265]: INFO:       RDPDR user logged on
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpRRGetInfo:
rdpRRCrtcGetGamma: 0x561f49a93500 0x561f49a8bdf0 0x561f49a8c1f0 0x561f49a8bff0
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpRRCrtcSetGamma:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpRRGetInfo:
Desktop is ready, copy desktop files...
rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 894 cy 456
rdpClientConProcessMsgVersion: version 0 0 0 1
rdpClientConProcessScreenSizeMsg: set width 894 height 456 bpp 16
rdpClientConProcessScreenSizeMsg: shmemid 44 shmemptr 0x14926234c000
rdpRRScreenSetSize: width 894 height 456 mmWidth 237 mmHeight 121
rdpRRGetInfo:
  screen resized to 894x456
rdpClientConProcessScreenSizeMsg: RRScreenSizeSet ok=[1]
rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 894 cy 456
rdpRRCrtcGetGamma: 0x561f49a93500 0x561f49a8bdf0 0x561f49a8c1f0 0x561f49a8bff0
rdpClientConProcessMsgClientInfo:
  got client info bytes 7072
  jpeg support 0
  offscreen support 0
  offscreen size 0
  offscreen entries 0
  client supports glyph cache but server disabled
  client can not do offscreen to offscreen blits
  client can do new(color) cursor
  client can not do multimon
rdpRRSetRdpOutputs: numCrtcs 1 numOutputs 1 monitorCount 0
rdpRRSetRdpOutputs: update output 0 left 0 top 0 width 894 height 456
rdpRRUpdateOutput:
rdpLoadLayout: keylayout 0x00000409 variant  display 10
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpRRCrtcGetGamma: 0x561f49a93500 0x561f49a8bdf0 0x561f49a8c1f0 0x561f49a8bff0
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1232 cy 598
rdpClientConProcessMsgVersion: version 0 0 0 1
rdpClientConProcessScreenSizeMsg: set width 1232 height 598 bpp 16
rdpClientConProcessScreenSizeMsg: shmemid 51 shmemptr 0x149256897000
rdpRRScreenSetSize: width 1232 height 598 mmWidth 326 mmHeight 158
rdpRRGetInfo:
  screen resized to 1232x598
rdpClientConProcessScreenSizeMsg: RRScreenSizeSet ok=[1]
rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1232 cy 598
rdpRRCrtcGetGamma: 0x561f49a93500 0x561f49a8bdf0 0x561f49a8c1f0 0x561f49a8bff0
rdpClientConProcessMsgClientInfo:
  got client info bytes 7072
  jpeg support 0
  offscreen support 0
  offscreen size 0
  offscreen entries 0
  client supports glyph cache but server disabled
  client can not do offscreen to offscreen blits
  client can do new(color) cursor
  client can not do multimon
rdpRRSetRdpOutputs: numCrtcs 1 numOutputs 1 monitorCount 0
rdpRRSetRdpOutputs: update output 0 left 0 top 0 width 1232 height 598
rdpRRUpdateOutput:
rdpLoadLayout: keylayout 0x00000409 variant  display 10
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpRRCrtcGetGamma: 0x561f49a93500 0x561f49a8bdf0 0x561f49a8c1f0 0x561f49a8bff0
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
northsea4 commented 6 months ago

这个日志是容器的,不是MDCx应用的。 这个config.ini就很奇怪。

可以试试以下处理:

  1. 删除这个空的config.ini后尝试启动应用。
  2. 如果第1点没作用,则尝试通过命令行运行,看有没有什么日志。步骤: 打开任务栏上的Konsole,然后执行命令exec /app/MDCx
fanshu93 commented 6 months ago

这个日志是容器的,不是MDCx应用的。 这个config.ini就很奇怪。

可以试试以下处理:

  1. 删除这个空的config.ini后尝试启动应用。
  2. 如果第1点没作用,则尝试通过命令行运行,看有没有什么日志。步骤: 打开任务栏上的Konsole,然后执行命令exec /app/MDCx

0.初始化安装,config文件有特殊符号,如图一 1.删除空config.ini后启动应用,磁盘不对对应生成config.ini。 2.执行exec /app/MDCx,软件闪退,跟之前反馈一样,日志图二 3.去除特殊符号,执行命令exec /app/MDCx,创建特殊符号config文件,图三。问题好像是程序创建带特殊符号的config。手动修改config不行,会创建一个新的 截图20240531213705 截图二20240531213926 截图20240531214909

northsea4 commented 6 months ago

那应该是MDCx.config文件有问题,包含了换行符,所以才会有这个名字带换行符的config.ini文件。 去除MDCx.config里的换行符,确保它只有一行,之后重启容器

fanshu93 commented 6 months ago

那应该是MDCx.config文件有问题,包含了换行符,所以才会有这个名字带换行符的config.ini文件。 去除MDCx.config里的换行符,确保它只有一行,之后重启容器 是的MDCx.config有问题,里面换行符去掉,exec /app/MDCx可以启动啦,谢谢 但是桌面图标MDCx双击软件闪退打不开。 截图20240531232637

northsea4 commented 6 months ago

桌面的图标实际是执行 /app-assets/start-mdcx.sh 这个脚本,也可以在Konsole里执行看看有什么问题。

cd /app
bash /app-assets/start-mdcx.sh
shawseed commented 6 months ago

桌面的图标实际是执行 /app-assets/start-mdcx.sh 这个脚本,也可以在Konsole里执行看看有什么问题。

cd /app
bash /app-assets/start-mdcx.sh

我也复现这个问题了 执行cacert.pem缺失问题的临时修复脚本 ⏳ 启动MDCx... nohup: appending output to 'nohup.out' Traceback (most recent call last): File "main.py", line 13, in File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module File "controllers/main_window/main_window.py", line 14, in File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module File "controllers/cut_window.py", line 10, in File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module File "models/core/file.py", line 16, in File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module File "models/config/resources.py", line 215, in File "models/base/utils.py", line 103, in inner File "models/config/resources.py", line 63, in init File "models/config/resources.py", line 164, in _check_userdata File "os.py", line 225, in makedirs PermissionError: [Errno 13] Permission denied: '/mdcx-config/userdata' [560] Failed to execute script 'main' due to unhandled exception!

northsea4 commented 6 months ago

PermissionError: [Errno 13] Permission denied: '/mdcx-config/userdata' [560] Failed to execute script 'main' due to unhandled exception!

你这个是权限问题,确保运行MDCx的用户有权限读写这个/mdcx-config目录。

PermissionError: [Errno 13] Permission denied: '/mdcx-config/userdata'
[560] Failed to execute script 'main' due to unhandled exception!
shawseed commented 6 months ago

PermissionError: [Errno 13] Permission denied: '/mdcx-config/userdata' [560] Failed to execute script 'main' due to unhandled exception!

你这个是权限问题,确保运行MDCx的用户有权限读写这个/mdcx-config目录。

PermissionError: [Errno 13] Permission denied: '/mdcx-config/userdata'
[560] Failed to execute script 'main' due to unhandled exception!

确实是,我都没注意看。感谢。

fanshu93 commented 6 months ago

桌面的图标实际是执行 /app-assets/start-mdcx.sh 这个脚本,也可以在Konsole里执行看看有什么问题。

cd /app
bash /app-assets/start-mdcx.sh

运行报错了,有个参数没set,看compose样例没这个参数,请问大佬这是什么问题? 截图_20240603104708

northsea4 commented 6 months ago

桌面的图标实际是执行 /app-assets/start-mdcx.sh 这个脚本,也可以在Konsole里执行看看有什么问题。

cd /app
bash /app-assets/start-mdcx.sh

运行报错了,有个参数没set,看compose样例没这个参数,请问大佬这是什么问题? 截图_20240603104708

应该不是这个set的问题。这里说的是找不到一个名字是空字符串的文件,应该是配置文件。 而配置文件路径是从MDCx.config获取的,你确认一下/app目录下有没有MDCx.config则个文件,它的内容是否为空。

fanshu93 commented 6 months ago

桌面的图标实际是执行 /app-assets/start-mdcx.sh 这个脚本,也可以在Konsole里执行看看有什么问题。

cd /app
bash /app-assets/start-mdcx.sh

运行报错了,有个参数没set,看compose样例没这个参数,请问大佬这是什么问题? 截图_20240603104708

应该不是这个set的问题。这里说的是找不到一个名字是空字符串的文件,应该是配置文件。 而配置文件路径是从MDCx.config获取的,你确认一下/app目录下有没有MDCx.config则个文件,它的内容是否为空。

原因/app/MDCx.config里面内容少了,我写成config.ini,应该得按照部署实例,内容为/mdcx-config/config.ini 问题解决啦,感谢大佬,祝好!