DiscordChatExporter-frontend icon indicating copy to clipboard operation
DiscordChatExporter-frontend copied to clipboard

UNC paths are not supported

Open pinntokuru opened this issue 9 months ago • 1 comments

Trying to run DCE-frontend from my NAS (with "\myNAS\Main\Discord-Backups\dcef.exe") causes the errors below. I figured I could fix this issue by mapping my network drive to a local drive letter, but even after doing so and running "Z:\Discord-Backups\dcef.exe" the program defaults to using the network path and fails with the same errors.

I'm assuming from the logs that it's supposed to use the Windows directory after failing with the UNC path, but that does not work.

How can I force nginx/mongodb/fastapi/preprocess etc to run using the Windows directory?


ERROR: The process "dceffastapi.exe" not found.
ERROR: The process "dcefnginx.exe" not found.
ERROR: The process "dcefmongod.exe" not found.
ERROR: The process "dcefpreprocess.exe" not found.
2025-03-05 10:08:07.307441  windows-runner: started primary instance
2025-03-05 10:08:07.335926  windows-runner: used ports: 135 139 445 4534 5040 5357 6878 7680 8621 45769 49664 49665 49666 49667 49669 49676 49689 55210 55222
2025-03-05 10:08:07.388808  windows-runner: OK: All required ports are available.
2025-03-05 10:08:07.468304  windows-runner: nginx started
2025-03-05 10:08:07.501117  nginx:          '\\myNAS\Main\Discord-Backups'
2025-03-05 10:08:07.546591  nginx:
2025-03-05 10:08:07.574594  nginx:          CMD.EXE was started with the above path as the current directory.
2025-03-05 10:08:07.603305  nginx:
2025-03-05 10:08:07.655574  nginx:          UNC paths are not supported.  Defaulting to Windows directory.
2025-03-05 10:08:07.864943  nginx:
2025-03-05 10:08:07.944690  nginx:          '\\myNAS\Main\Discord-Backups'
2025-03-05 10:08:08.050924  nginx:
2025-03-05 10:08:08.080881  nginx:          CMD does not support UNC paths as current directories.
2025-03-05 10:08:08.109455  nginx:
2025-03-05 10:08:08.169906  nginx:
2025-03-05 10:08:08.224318  windows-runner: nginx finished
2025-03-05 10:08:08.497748  windows-runner: mongodb started
2025-03-05 10:08:08.523807  windows-runner: fastapi started
2025-03-05 10:08:08.551621  windows-runner: preprocess started
2025-03-05 10:08:08.584934  mongodb:        '\\myNAS\Main\Discord-Backups\dcef\backend\mongodb'
2025-03-05 10:08:08.634852  mongodb:
2025-03-05 10:08:08.663233  fastapi:        '\\myNAS\Main\Discord-Backups\dcef\backend\fastapi'
2025-03-05 10:08:08.668252  preprocess:     '\\myNAS\Main\Discord-Backups\dcef\backend\preprocess'
2025-03-05 10:08:08.739644  mongodb:        CMD.EXE was started with the above path as the current directory.
2025-03-05 10:08:08.742646  fastapi:
2025-03-05 10:08:08.742646  preprocess:
2025-03-05 10:08:08.818820  mongodb:
2025-03-05 10:08:08.846771  fastapi:        CMD.EXE was started with the above path as the current directory.
2025-03-05 10:08:08.847775  preprocess:     CMD.EXE was started with the above path as the current directory.
2025-03-05 10:08:09.565009  mongodb:        UNC paths are not supported.  Defaulting to Windows directory.
2025-03-05 10:08:09.621523  preprocess:
2025-03-05 10:08:09.621523  fastapi:
2025-03-05 10:08:09.622551  mongodb:
2025-03-05 10:08:09.700614  mongodb:        '\\myNAS\Main\Discord-Backups\dcef\backend\mongodb'
2025-03-05 10:08:09.702616  fastapi:        UNC paths are not supported.  Defaulting to Windows directory.
2025-03-05 10:08:09.727042  preprocess:     UNC paths are not supported.  Defaulting to Windows directory.
2025-03-05 10:08:09.754333  mongodb:
2025-03-05 10:08:09.782634  fastapi:
2025-03-05 10:08:09.808483  preprocess:
2025-03-05 10:08:09.834523  mongodb:        CMD does not support UNC paths as current directories.
2025-03-05 10:08:09.834523  fastapi:        '\\myNAS\Main\Discord-Backups\dcef\backend\fastapi'
2025-03-05 10:08:09.863522  preprocess:     '\\myNAS\Main\Discord-Backups\dcef\backend\preprocess'
2025-03-05 10:08:09.888512  mongodb:
2025-03-05 10:08:09.888512  fastapi:
2025-03-05 10:08:09.892060  preprocess:
2025-03-05 10:08:09.940606  mongodb:
2025-03-05 10:08:09.942607  fastapi:        CMD does not support UNC paths as current directories.
2025-03-05 10:08:10.019674  preprocess:     CMD does not support UNC paths as current directories.
2025-03-05 10:08:10.048106  windows-runner: mongodb finished
2025-03-05 10:08:10.077649  fastapi:
2025-03-05 10:08:10.139590  preprocess:
2025-03-05 10:08:10.168480  fastapi:
2025-03-05 10:08:10.219767  preprocess:
2025-03-05 10:08:10.222806  windows-runner: fastapi finished
2025-03-05 10:08:10.282609  windows-runner: preprocess finished
2025-03-05 10:08:10.397864  windows-runner: creating window
2025-03-05 10:08:13.387649  windows-runner: window closed
2025-03-05 10:08:13.457633  windows-runner: finished primary instance
ERROR: The process "dceffastapi.exe" not found.
ERROR: The process "dcefnginx.exe" not found.
ERROR: The process "dcefmongod.exe" not found.
ERROR: The process "dcefpreprocess.exe" not found.
SUCCESS: The process "dcef.exe" with PID 13532 has been terminated.
SUCCESS: The process "dcef.exe" with PID 27696 has been terminated.

pinntokuru avatar Mar 05 '25 07:03 pinntokuru

I have the same problem with my NAS on windows 10 or 11 and use a network drive letter. it shows me at times the last working locally stored discord server. which can be a total different one from the server i wanted to look at on the network drive. and it only shows a single channel of that server and not it dozens of channels and threads.

jpfl avatar Mar 26 '25 21:03 jpfl