Skip to content

[6.x] Missing images #13404

@ekrist1

Description

@ekrist1

Bug description

This is a strange issue and have no logical explanation. On our staging server (Laravel Forge), there is a issue with the asset container and a folder named "statisk". If I upload a image on a collection, using the File-field, the image is not appearing when I navigate to the assets file explorer and vica versa. If start a bash shell, both files are there.

I have narrowed the issue down the folder gets its permission changed when uploading files. If I change the permission back to 775 it seems like working again.

Permission before uploading:
drwxrwxr-x (775)

Permission after uploading files:
drwxr-xr-x (755)

Image Image Image

How to reproduce

Not sure how to reproduce. It's working at my local development, but not on Laravel Forge.

Logs

No error is logged

Environment

Environment
Application Name: pblno
Laravel Version: 12.43.1
PHP Version: 8.4.14
Composer Version: 2.9.2
Environment: production
Debug Mode: OFF
URL: [removed]
Maintenance Mode: OFF
Timezone: UTC
Locale: no

Cache
Config: NOT CACHED
Events: CACHED
Routes: 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: 1
Stache Watcher: Disabled (auto)
Static Caching: Disabled
Version: 6.0.0-alpha.20 PRO

Statamic Addons
statamic/seo-pro: 7.0.0-beta.1

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