Skip to content

Assets container doesn't update all images container when it changing #483

@vitalijalbu

Description

@vitalijalbu

Bug description

There's an issue about assets and containers, if I switched from public to local container the assets remained in public in the DB.
For non-dev users it can be difficult to change them, since you need to enter the database and update assets_meta

How to reproduce

Go to assets and switch from public to local and you'll see that the assets remained in public in the DB.

Logs

Environment

Environment
Application Name: albaluxstay
Laravel Version: 12.21.0
PHP Version: 8.4.10
Composer Version: 2.8.10
Environment: development
Debug Mode: ENABLED
URL: albaluxstay.test
Maintenance Mode: OFF
Timezone: UTC
Locale: en

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: file
Database: mysql
Logs: stack / single
Mail: log
Queue: sync
Session: file

Storage
public/storage: LINKED

Statamic
Addons: 1
Sites: 10 (Italiano, English, Russian, and 7 more)
Stache Watcher: Disabled (auto)
Static Caching: Disabled
Version: 5.61.0 PRO

Statamic Addons
statamic/eloquent-driver: 4.30.0

Statamic Eloquent Driver
Asset Containers: eloquent
Assets: eloquent
Blueprints: file
Collection Trees: file
Collections: file
Entries: eloquent
Fieldsets: file
Form Submissions: eloquent
Forms: eloquent
Global Sets: eloquent
Global Variables: eloquent
Navigation Trees: eloquent
Navigations: eloquent
Revisions: file
Sites: eloquent
Taxonomies: eloquent
Terms: eloquent
Tokens: eloquent

Installation

Fresh statamic/statamic site via CLI

Additional details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions