dappnode / DAppNode

General repository of the project dappnode
GNU General Public License v3.0
580 stars 99 forks source link

Can't extend volume part 2 #584

Open Caruso33 opened 1 year ago

Caruso33 commented 1 year ago

Describe the bug I am having the same bug as described in #435

I am running dappnode on the newest version, I've also checked the lvm.sh file as described here: https://github.com/dappnode/DAppNode/issues/435#issuecomment-1140472171

It gives me the error on the disk with the dappnode installed, as well as on the newly connected disk, where the clients later should be saved on.

To Reproduce

  1. Setup dappnode
  2. Try to System / Hardware / Expand Disk > Automatic OR Manual expansion (both don't work) > Get Storage Devices > Get Default Values ... errror
Unexpected token '/', "/usr/src/d"... is not valid JSON

SyntaxError: Unexpected token '/', "/usr/src/d"... is not valid JSON
    at JSON.parse (<anonymous>)
    at memoize.promise (file:///usr/src/app/packages/dappmanager/src/modules/hostScripts/scripts/lvm.ts:31:12)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
o@http://dappnode.local/static/js/main.709a36b7.js:2:545693
3820/c/<@http://dappnode.local/static/js/main.709a36b7.js:2:533865
r@http://dappnode.local/static/js/main.709a36b7.js:2:574406
487/x/e/<@http://dappnode.local/static/js/main.709a36b7.js:2:574115
f@http://dappnode.local/static/js/main.709a36b7.js:2:536844
2723/a/k/<@http://dappnode.local/static/js/main.709a36b7.js:2:538188
2723/a/w/</<@http://dappnode.local/static/js/main.709a36b7.js:2:537207
n@http://dappnode.local/static/js/main.709a36b7.js:2:531886
s@http://dappnode.local/static/js/main.709a36b7.js:2:532090
4795/a/</<@http://dappnode.local/static/js/main.709a36b7.js:2:532149
4795/a/<@http://dappnode.local/static/js/main.709a36b7.js:2:532029
b@http://dappnode.local/static/js/main.709a36b7.js:2:573921
jl/e/<@http://dappnode.local/static/js/main.709a36b7.js:2:712772
f@http://dappnode.local/static/js/main.709a36b7.js:2:536844
2723/a/k/<@http://dappnode.local/static/js/main.709a36b7.js:2:538188
2723/a/w/</<@http://dappnode.local/static/js/main.709a36b7.js:2:537207
n@http://dappnode.local/static/js/main.709a36b7.js:2:531886
s@http://dappnode.local/static/js/main.709a36b7.js:2:532090

Expected behavior

I should be able to use the connected harddisk.

Screenshots dappnode_hardware_expansion

DAppNode version:

https.dnp.dappnode.eth:0.2.1
dappmanager.dnp.dappnode.eth:0.2.68
wifi.dnp.dappnode.eth:0.2.8
wireguard.wireguard.dnp.dappnode.eth:0.1.2
api.wireguard.dnp.dappnode.eth:0.1.2
ipfs.dnp.dappnode.eth:0.2.19
bind.dnp.dappnode.eth:0.2.6

System is a small desktop pc where the dappnode ISO was installed.

stale[bot] commented 11 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!

stale[bot] commented 8 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!

chopperdaddy commented 2 months ago

Any insight into this issue? I am also experiencing this error.