arthurperton / statamic-popular

Other
0 stars 0 forks source link

Failed to open stream: Read-only file system #7

Open HannesEURESA opened 3 weeks ago

HannesEURESA commented 3 weeks ago

Bug description

Hello Is there a way to create the Pageviews into default Laravel Database? Because if someone else is using this Package, and also on S3 Bucket, you got no rights to write into Lambda environment. In any case to change the permissions of the files I still get this errors.

file_put_contents(/var/task/database/popular/pageviews.sqlite): Failed to open stream: Read-only file system

Expected behavior

A way to get the default Database from Laravel to create migrations.

Extra Detail

If applicable, add screenshots, error messages etcetera to help explain your problem.

Environment

Laravel 11 Php 8.3 AWS S3 Bucket MySQL Database

Statamic version: Latest

Addon version: Latest