-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Issue Category
Content Management (ZIM, Maps, Collections)
Bug Description
I was downloading Wikipedia, and somehow the file got corrupted while it was downloading. When I went to the Content Manager and attempted to delete the file, it did not delete the file. Instead, it gave me an error message in the web console and it kept giving me errors in the 'nomad_admin' log.
Steps to Reproduce
- Click on 'Content Manager'
- Delete any file
Expected Behavior
The corrupt file would be deleted, and it would disappear from the list of .zim files.
Actual Behavior
The file was not deleted, and it spat out an error in the web console, and it kept spitting out errors in nomad_admin around every 10 seconds.
N.O.M.A.D. Version
1.29.1
Operating System
Ubuntu 24.04
Docker Version
Docker version 29.3.0
Do you have a dedicated GPU?
No
GPU Model (if applicable)
No response
System Specifications
AMD Ryzen™ 7 4800U with Radeon™ Graphics × 16
32.0 GiB Memory
176.6 GB/308.3 GB storage available
Service Status (if relevant)
c349be4cdcc7 ghcr.io/kiwix/kiwix-serve:3.8.2 "/usr/bin/dumb-init …" 22 hours ago Restarting (0) 16 seconds ago nomad_kiwix_server
Relevant Logs
nomad_admin:
Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:216:20) {
errno: -104,
code: 'ECONNRESET',
syscall: 'read'
}The next error kept repeating every 10 seconds after the first error appeared:
Error: write EPIPE
at afterWriteDispatched (node:internal/stream_base_commons:159:15)
at writeGeneric (node:internal/stream_base_commons:150:3)
at Socket._writeGeneric (node:net:966:11)
at Socket._write (node:net:978:8)
at writeOrBuffer (node:internal/streams/writable:572:12)
at _write (node:internal/streams/writable:501:10)
at Writable.write (node:internal/streams/writable:510:10)
at EventEmitter.sendCommand (/app/node_modules/ioredis/built/Redis.js:406:29)
at EventEmitter.client (/app/node_modules/ioredis/built/utils/Commander.js:90:25)
at /app/node_modules/ioredis/built/redis/event_handler.js:65:22 {
errno: -32,
code: 'EPIPE',
syscall: 'write'
}
Browser Console Errors (if UI issue)
Uncaught (in promise) TypeError: (intermediate value).deleteZimFile is not a function
mutationFn http://192.168.1.218:8080/assets/index-BcHYKch5.js:1
fn http://192.168.1.218:8080/assets/app-Bj9smaWt.js:357
A http://192.168.1.218:8080/assets/app-Bj9smaWt.js:357
start http://192.168.1.218:8080/assets/app-Bj9smaWt.js:357
execute http://192.168.1.218:8080/assets/app-Bj9smaWt.js:357
mutate http://192.168.1.218:8080/assets/useMutation-BbErg2G-.js:1
onConfirm http://192.168.1.218:8080/assets/index-BcHYKch5.js:1
onClick http://192.168.1.218:8080/assets/StyledModal-61Jd_qAW.js:1
rP1 http://192.168.1.218:8080/assets/StyledButton-Dc5eZ3TK.js:29870
wh http://192.168.1.218:8080/assets/app-Bj9smaWt.js:221
oe http://192.168.1.218:8080/assets/app-Bj9smaWt.js:79
W1 http://192.168.1.218:8080/assets/app-Bj9smaWt.js:221
xg http://192.168.1.218:8080/assets/app-Bj9smaWt.js:221
fE http://192.168.1.218:8080/assets/app-Bj9smaWt.js:117
xg http://192.168.1.218:8080/assets/app-Bj9smaWt.js:221
Vg http://192.168.1.218:8080/assets/app-Bj9smaWt.js:230
NN http://192.168.1.218:8080/assets/app-Bj9smaWt.js:230
eT http://192.168.1.218:8080/assets/app-Bj9smaWt.js:221
Cg http://192.168.1.218:8080/assets/app-Bj9smaWt.js:221
Dg http://192.168.1.218:8080/assets/app-Bj9smaWt.js:221
Dg http://192.168.1.218:8080/assets/app-Bj9smaWt.js:221
UU http://192.168.1.218:8080/assets/app-Bj9smaWt.js:186
oe http://192.168.1.218:8080/assets/app-Bj9smaWt.js:79
Eh http://192.168.1.218:8080/assets/app-Bj9smaWt.js:199
P1 http://192.168.1.218:8080/assets/app-Bj9smaWt.js:199
N1 http://192.168.1.218:8080/assets/app-Bj9smaWt.js:199
Eg http://192.168.1.218:8080/assets/app-Bj9smaWt.js:199
_1 http://192.168.1.218:8080/assets/app-Bj9smaWt.js:199
X1 http://192.168.1.218:8080/assets/app-Bj9smaWt.js:221
Ec http://192.168.1.218:8080/assets/app-Bj9smaWt.js:221
Og http://192.168.1.218:8080/assets/app-Bj9smaWt.js:221
J1 http://192.168.1.218:8080/assets/app-Bj9smaWt.js:221
J1 http://192.168.1.218:8080/assets/app-Bj9smaWt.js:221
Ha http://192.168.1.218:8080/assets/app-Bj9smaWt.js:221
It http://192.168.1.218:8080/assets/app-Bj9smaWt.js:199
dc http://192.168.1.218:8080/assets/app-Bj9smaWt.js:161
Mw http://192.168.1.218:8080/assets/app-Bj9smaWt.js:161
c http://192.168.1.218:8080/assets/app-Bj9smaWt.js:357
u http://192.168.1.218:8080/assets/index-BcHYKch5.js:1
onClick http://192.168.1.218:8080/assets/index-BcHYKch5.js:1
rP1 http://192.168.1.218:8080/assets/StyledButton-Dc5eZ3TK.js:29870
wh http://192.168.1.218:8080/assets/app-Bj9smaWt.js:221
oe http://192.168.1.218:8080/assets/app-Bj9smaWt.js:79
W1 http://192.168.1.218:8080/assets/app-Bj9smaWt.js:221
xg http://192.168.1.218:8080/assets/app-Bj9smaWt.js:221
fE http://192.168.1.218:8080/assets/app-Bj9smaWt.js:117
xg http://192.168.1.218:8080/assets/app-Bj9smaWt.js:221
Vg http://192.168.1.218:8080/assets/app-Bj9smaWt.js:230
NN http://192.168.1.218:8080/assets/app-Bj9smaWt.js:230
eT http://192.168.1.218:8080/assets/app-Bj9smaWt.js:221
Cg http://192.168.1.218:8080/assets/app-Bj9smaWt.js:221
Dg http://192.168.1.218:8080/assets/app-Bj9smaWt.js:221
Dg http://192.168.1.218:8080/assets/app-Bj9smaWt.js:221
createRoot http://192.168.1.218:8080/assets/app-Bj9smaWt.js:276
setup http://192.168.1.218:8080/assets/app-Bj9smaWt.js:395
_ http://192.168.1.218:8080/assets/app-Bj9smaWt.js:357
promise callback*N5 http://192.168.1.218:8080/assets/app-Bj9smaWt.js:357
<anonymous> http://192.168.1.218:8080/assets/app-Bj9smaWt.js:395Screenshots
No response
Additional Context
I had to stop NOMAD, manually delete the file, and then restart it. That seemed to stop the errors from appearing over and over, but I still can't delete files I want to delete using the Content Manager. I still have to manually delete files.
Pre-submission Checklist
- I have searched for existing issues that might be related to this bug
- I am running the latest version of Project N.O.M.A.D. (or have noted my version above)
- I have redacted any personal or sensitive information from logs and screenshots
- This issue is NOT related to running N.O.M.A.D. on an unsupported/non-Debian-based OS