HelloZeroNet / HelloZeroNet/ZeroNet

name 'filter_storage' is not defined

Open
#2,553 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
18.8k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

### Step 1: Please describe your environment

* ZeroNet version: 4486
* Operating system: Raspbian

### Step 2: Describe the problem:

Already 20 minutes avery second or every a few seconds i see errors for site 1ADQAH*:

> ERROR Site:1ADQAH..g6aA Error deleting data/users/usernamehere/src/filenamehere.jpg: name 'filter_storage' is not defined

interesting is to me that this is on a SSD drive (so i would expect faster progress). But "htop" linux command shows single CPU thread out of 4 is overutilized by the zeronet.py

i think that these errors appears after starting zeronet with content.db and chart.db removed. And also when shm and wal db files are not present. I do not know how to properly start ZN so it rebuild databases from files (there are .db .db-wal .db-shm files) #2551

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by searching the Python codebase for filter_storage and tracing the data-deletion path for the affected site. Check how content.db and chart.db are rebuilt when WAL/SHM files are absent; done means the repeated deletion error no longer occurs and the recovery behavior is verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.