You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the development environment, if you delete a source (as a collection, or individual submissions), the associated files are never deleted from /var/lib/securedrop/store.
Steps to Reproduce
Run Docker dev env with make dev in securedrop directory;
Submit a document or message via the Source Interface at localhost:8080
Delete the source via the Journalist Interface at localhost:8081
Expected Behavior
Source metadata and all associated files in /var/lib/securedrop/store are deleted.
Actual Behavior
Source metadata appears to be deleted; files in /var/lib/securedrop/store are not. redis-cli monitor shows the job being enqueued, but it is never picked up.
Logs also show a GPG-related exception when deleting a source, which is tracked as #4294.
Comments
@kushaldas and I have been unable to replicate this bug in a staging environment (Kushal tested with the pyy3 branch, I tested with develop); it appears to be dev env only.
The text was updated successfully, but these errors were encountered:
To ensure asynchronous processes like submission deletion and hashing
happen in dev containers, run supervisord and our rq worker.
This adds a "run_supervisor" function in dev-deps that creates a
supervisor config under /tmp (which just runs the rq worker), and
starts supervisor.
That function is now invoked in securedrop/bin/run.
The Dockerfiles now install supervisor via pip or pip3.
Fixesfreedomofpress#4328.
To ensure asynchronous processes like submission deletion and hashing
happen in dev containers, run supervisord and our rq worker.
This adds a "run_supervisor" function in dev-deps that creates a
supervisor config under /tmp (which just runs the rq worker), and
starts supervisor.
That function is now invoked in securedrop/bin/run.
The Dockerfiles now install supervisor via pip or pip3.
Fixes#4328.
Description
In the development environment, if you delete a source (as a collection, or individual submissions), the associated files are never deleted from
/var/lib/securedrop/store
.Steps to Reproduce
make dev
insecuredrop
directory;Expected Behavior
Source metadata and all associated files in
/var/lib/securedrop/store
are deleted.Actual Behavior
Source metadata appears to be deleted; files in
/var/lib/securedrop/store
are not.redis-cli monitor
shows the job being enqueued, but it is never picked up.Logs also show a GPG-related exception when deleting a source, which is tracked as #4294.
Comments
@kushaldas and I have been unable to replicate this bug in a staging environment (Kushal tested with the
pyy3
branch, I tested withdevelop
); it appears to be dev env only.The text was updated successfully, but these errors were encountered: