I am deploying a web app with laravel

I am doing this in the env
11 Replies
Percy
Percy2y ago
Project ID: a728d3c1-7052-4d96-b286-6072115573a4
Yeraldi29#2900
Yeraldi29#2900OP2y ago
a728d3c1-7052-4d96-b286-6072115573a4 I can go to my page to the sign in and it works
Yeraldi29#2900
Yeraldi29#2900OP2y ago
Yeraldi29#2900
Yeraldi29#2900OP2y ago
But when I log in I have this error
Yeraldi29#2900
Yeraldi29#2900OP2y ago
I know that this is for laravel but I think that is related with the nixpack I don't know if that accepts all of those commands
Brody
Brody2y ago
simply store the cache in a folder within /app/storage since that folder is writeable
Yeraldi29#2900
Yeraldi29#2900OP2y ago
Oh Have you done that? So only do I need to put my boostrap folder there? Because in my github is empty
Brody
Brody2y ago
im not a php dev so no, but a php dev has told me that /app/storage is writable
Yeraldi29#2900
Yeraldi29#2900OP2y ago
And when I run it in the terminal it puts the files Oh, thank you very much I will try
Brody
Brody2y ago
may need a .gitkeep file to keep empty directory structures in tact
njoguamos
njoguamos2y ago
This is a permission-related error. Add the following to your build process.
"sudo chown -R $USER:$USER storage bootstrap public",
"sudo chmod -R 755 storage bootstrap public",
"sudo chmod -R 755 bootstrap/cache/",
"sudo chown -R $USER:$USER storage bootstrap public",
"sudo chmod -R 755 storage bootstrap public",
"sudo chmod -R 755 bootstrap/cache/",
This can be done in nixpack.json or from your dashboard.
Want results from more Discord servers?
Add your server