Malformed database disk image

49 Replies
nerdylive
nerdylive5mo ago
403
disintegral
disintegralOP5mo ago
Trying to start A1111 instance. Keeps saying "port not up yet" ?
nerdylive
nerdylive5mo ago
Can't see the logs try to open your own url in incognito mode or private browsing thats what other see
disintegral
disintegralOP5mo ago
opens fine in incognito
disintegral
disintegralOP5mo ago
Anyways, here.
nerdylive
nerdylive5mo ago
ah just my vpn blocked yeah its a problem with a1111, i think some other people has reported this
disintegral
disintegralOP5mo ago
well damn. it was working fine two days ago, same 1.10.0 template...
Marcus
Marcus5mo ago
Its not a problem with A1111 Its a problem with installing multiple different A1111 templates on the same network storage and then they conflict with each other
disintegral
disintegralOP5mo ago
Okay. I have just been using a newer template as that is what runpod automatically gives me. How can I fix this?
Marcus
Marcus5mo ago
Which template are you using?
disintegral
disintegralOP5mo ago
ashleykza/a1111:1.10.0.post7
Marcus
Marcus5mo ago
source /workspace/venvs/a1111/bin/activate
pip3 install -U --force-reinstall torch==2.4.0+cu121 xformers==0.0.27.post2 torchvision torchaudio --index-url=https://download.pytorch.org/whl/cu121

cd /workspace/stable-diffusion-webui
find . -name __pycache__ | xargs rm -rf
source /workspace/venvs/a1111/bin/activate
pip3 install -U --force-reinstall torch==2.4.0+cu121 xformers==0.0.27.post2 torchvision torchaudio --index-url=https://download.pytorch.org/whl/cu121

cd /workspace/stable-diffusion-webui
find . -name __pycache__ | xargs rm -rf
Try that Then connect to port 8000 and stop A1111 and start it again
disintegral
disintegralOP5mo ago
run it in terminal inside jupyter ?
Marcus
Marcus5mo ago
Correct, either Jupyter, Code server, Web Terminal, SSH etc
disintegral
disintegralOP5mo ago
This filled up my storage disk even further. This is related to the issue I posted yesterday. I have no idea where 25-30GB of my storage has gone, and I keep needing to increase the storage disk size. (which I obviously don't want to do since it costs money, for space that I have no idea why it is even filling up) Seems to also not have fixed anything.
Marcus
Marcus5mo ago
Can you DM me your port 7777 URL so I can take a look for you
disintegral
disintegralOP5mo ago
This gives you access to the full pod? Preferably no.
Marcus
Marcus5mo ago
Can't help then sorry I have no interest in accessing your pod, was only trying to help, I fixed it for 2 other people
disintegral
disintegralOP5mo ago
I understand, it just isn't all my own data which I am able to make the call on right now.
nerdylive
nerdylive5mo ago
better just show the steps or explain it here
Marcus
Marcus5mo ago
I don't know the steps, look above, I told him and it didn't work 🤦‍♂️ How about reading before replying
nerdylive
nerdylive5mo ago
hey marcus its okay, don't need to be rude
Marcus
Marcus5mo ago
I am not being rude, you are sending messages which are unnecessary and not adding any value If you have nothing constructive to say, then don't say anything
nerdylive
nerdylive5mo ago
maybe its because it needs to write cache on your container disk its temporary
disintegral
disintegralOP5mo ago
I don't know what your affiliation with Runpod is, and from my perspective you are a random on the internet (no offense). I am also not dealing with only my own data, so I can't just give you access to the pod. At this time, therefore, I cannot receive a solution which I cannot perform myself or through a verified runpod employee that is bound to their organization.
Marcus
Marcus5mo ago
try deleting venv and template.json file and let it sync again, maybe you ran into issues when the syncing ran out of space
disintegral
disintegralOP5mo ago
This may be it. Thank you for the idea.
Marcus
Marcus5mo ago
Something like this
rm -rf /workspace/venvs/a1111
rm /workspace/stable-diffusion-webui/template.json
rm -rf /workspace/venvs/a1111
rm /workspace/stable-diffusion-webui/template.json
Then reset pod
disintegral
disintegralOP5mo ago
At least this is clearing a ridiculous amount of space. Around 30Gb cleared already, and still going. My local install of A1111 is nowhere near that size.
nerdylive
nerdylive5mo ago
well pip dependencies on the /venvs/ takes the most space i guess
disintegral
disintegralOP5mo ago
It ended up clearing around 40Gb in total
Marcus
Marcus5mo ago
Yep but probably also due to broken syncing when the disk space ran out I don't think the venv should be 40GB in size, that doesn't seem right
disintegral
disintegralOP5mo ago
which is a shame, since now I have a bunch of extra space to pay for every month that I have no need for. (because I kept increasing network volume size constantly to keep up with the broken sync or whatever)
Marcus
Marcus5mo ago
Fortunately the disk space isn't very expensive, like $7 a month for 100GB or something like that
disintegral
disintegralOP5mo ago
yeah, silver linings and all that sure
Marcus
Marcus5mo ago
GPU's are very expensive, so disk space doesn't really count in the grand scheme of things in my personal opinion
Encyrption
Encyrption5mo ago
ChtGPT says the following based upon your errors: It looks like you are encountering a SQLite database corruption issue while attempting to launch the stable-diffusion web UI. This error is related to the diskcache module, which is using SQLite for caching purposes. It suggests you clear your cache directory: rm -rf /workspace/venvs/a1111/lib/python3.10/site-packages/diskcache/
Marcus
Marcus5mo ago
The entire venv just got removed including that 🙂
Encyrption
Encyrption5mo ago
oic
Marcus
Marcus5mo ago
Claude 3.5 Sonnet beats ChatGPT by the way
disintegral
disintegralOP5mo ago
yeah i mean sucks also to pay for an instance to troubleshoot lol
Marcus
Marcus5mo ago
Oh yeah the time taken to troubleshoot must be really wasting your credits 😦
disintegral
disintegralOP5mo ago
'tis what 'tis
Marcus
Marcus5mo ago
Yep even though I hate that saying
disintegral
disintegralOP5mo ago
I am just huffing some premium grade copium you kno But I guess the costs come with the hobby. Sometimes I really understand the folks who never update a working environment.
Marcus
Marcus5mo ago
Yeah you sometimes you pick stability over new and shiny But other times you have no option when people like TheLastBen break their template 🙈
nerdylive
nerdylive5mo ago
Llama 3.1: 😁🙏
disintegral
disintegralOP5mo ago
Solved. Removing venvs and letting it resync freed up a lot of space and fixed the malformed disk image issue.
Want results from more Discord servers?
Add your server