mirror of https://github.com/pixelfed/pixelfed
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
The media storage migration commands read/parsed the .env file directly to
check and flip PF_ENABLE_CLOUD. In containerized deploys there is no .env on
disk (config is injected via env vars), so updateEnvFile() threw
'file_get_contents(.env): Failed to open stream' and the scheduled command
exited 1.
- Check the live setting via config_cache('pixelfed.cloud_storage') like the
rest of the app, instead of parsing .env.
- Make the .env write best-effort in ManagesMediaStorageEnv: skip gracefully
when the file is missing or read-only, and still apply the runtime + DB
config-cache updates (the load-bearing changes on a hot server).
- Apply the same fix to the sibling unstable:MediaMoveStorageCloudToLocal.
- Add a regression test covering the no-.env container scenario.
|
3 weeks ago | |
|---|---|---|
| .. | ||
| Account | 3 weeks ago | |
| Admin | 4 weeks ago | |
| Api | 3 weeks ago | |
| Auth | 4 weeks ago | |
| AuthScope | 4 weeks ago | |
| Compose | 4 weeks ago | |
| Console | 4 weeks ago | |
| CriticalRoutes | 4 weeks ago | |
| Federation | 4 weeks ago | |
| Framework | 4 weeks ago | |
| MediaPipeline | 4 weeks ago | |
| Security | 4 weeks ago | |
| Settings | 4 weeks ago | |
| ActivityPubDeliveryServiceTest.php | 4 weeks ago | |
| AdminRemoveCwTest.php | 4 weeks ago | |
| CommentPrivatePostTest.php | 4 weeks ago | |
| ComposeControllerTest.php | 4 weeks ago | |
| DedupeQueryPatternsTest.php | 3 weeks ago | |
| DeleteWorkerAuthorizationTest.php | 4 weeks ago | |
| FollowerServiceFollowingIdsTest.php | 3 weeks ago | |
| HttpClientMigrationTest.php | 4 weeks ago | |
| LoginTest.php | 1 year ago | |
| ModelNamespaceMigrationTest.php | 4 weeks ago | |
| NotificationServiceTest.php | 4 weeks ago | |
| RemoteAuthServiceTest.php | 3 weeks ago | |
| RemoteOidcTest.php | 4 weeks ago | |
| SeasonalAggregationTest.php | 3 weeks ago | |
| StatusDeleteCleanupTest.php | 3 weeks ago | |
| ValidUsernameTest.php | 4 weeks ago | |