Forum
Delete buckets?
Hi,
I've a few buckets in Perch Runway I no longer need. I'd like to remove them from the CMS, but they're proving quite stubborn.
What I've done so far
- Deleted assets and re-saved any posts/content
- Deleted assets via the CMS that use the buckets
- Deleted the buckets/folders in the resources folder
- Reindexed assets
/perch/core/apps/assets/reindex/
The buckets still show in the CMS?
I found this forum post, that mention:
The list is made up of the options in your buckets.php combined with evidential usage from the resources db table.
Using Sequel Pro, I've had a look at the resources
db table and I can see the unwanted bucket names listed under resourceBucket
Is it safe to delete these rows?
Summary
Perch Runway: 3.1.1, PHP: 7.1.12, MySQL: mysqlnd 5.0.12-dev - 20150407 - $Id: b396954eeb2d1d9ed7902b8bae237b287f21ad9e $, with PDO
Server OS: Darwin, cgi-fcgi
Installed apps: content (3.1.1), assets (3.1.1), categories (3.1.1)
App runtimes: <?php $apps_list = [ ];
PERCH_LOGINPATH: /perch
PERCH_PATH: /Users/stephen/Repositories/project/cms/perch
PERCH_CORE: /Users/stephen/Repositories/project/cms/perch/core
PERCH_RESFILEPATH: /Users/stephen/Repositories/project/cms/perch/resources
Image manipulation: GD
PHP limits: Max upload 32M, Max POST 32M, Memory: 128M, Total max file upload: 32M
F1: 3b606135b33e6a102526838f4152a807
Resource folder writeable: Yes
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
REQUEST_URI: /perch/core/settings/diagnostics/
DOCUMENT_ROOT: /Users/stephen/Repositories/project/cms
HTTP_HOST: project.local
I generally wouldn't advise deleting stuff from the database directly, but if your purpose is to trash the content anyway then it probably makes no odds.