elkex
01/31/2023, 6:14 PMelkex
01/31/2023, 6:14 PMifox
01/31/2023, 6:14 PMifox
01/31/2023, 6:15 PMelkex
01/31/2023, 6:16 PMjefsev
01/31/2023, 9:28 PMjefsev
01/31/2023, 9:31 PMjefsev
01/31/2023, 9:31 PMifox
01/31/2023, 10:20 PMkerkness
02/01/2023, 1:27 AMUnable to create a directory at /var/app/current/mfa-twill/app/View/Components/Twill/Blocks.
I'm running on a local server in my lab ubuntu/nginx/mysql . I have checked and triple checked the permissions on the folder, nginx ect. Have even set the folder to 777
but can't seem to work around it. Feel like I'm missing something required for 3.x that is maybe not documented? Any suggestions?ifox
02/01/2023, 2:03 AMifox
02/01/2023, 2:05 AMifox
02/01/2023, 2:06 AMkerkness
02/01/2023, 2:10 AMjefsev
02/01/2023, 8:02 AMHarings Rob
02/01/2023, 8:17 AMelkex
02/01/2023, 10:40 AMifox
02/01/2023, 10:43 AMelkex
02/01/2023, 10:49 AMifox
02/01/2023, 10:49 AMelkex
02/01/2023, 10:50 AMkerkness
02/01/2023, 11:22 AMcomposer create-project laravel/laravel mfa-twill
Added Twill with
composer require area17/twill:3.x-dev
php artisan twill:install
php artisan storage:link
Then logged into admin console and tried to access my profile at
https://content.crid.ca/admin/users/1/edit
and get
Unable to create a directory at /var/app/current/mfa-twill/app/View/Components/Twill/Blocks. (View: /var/app/current/mfa-twill/vendor/area17/twill/views/layouts/form.blade.php) (View: /var/app/current/mfa-twill/vendor/area17/twill/views/layouts/form.blade.php)
The only thing I can think of is that I create the project as a sudoer user and not as www-data
which is the nginx user. However that isn't an issue with any of my other laravel projects. Changing user:group of folders and paths doesn't seem to resolve the issue anyway.Harings Rob
02/01/2023, 11:24 AMkerkness
02/01/2023, 11:24 AM3.x-dev
?kerkness
02/01/2023, 11:25 AM3.0.0-rc3
kerkness
02/01/2023, 11:31 AM3.0.0-rc3
. I will create an issue and also try rc2Harings Rob
02/01/2023, 11:43 AMkerkness
02/01/2023, 11:50 AMapp
folder and vendor
folder to 777
permissions. Error goes away. Reverting the permissions back to 775
and the error DOES NOT return. So possibly just exists first load of the formkerkness
02/01/2023, 11:50 AMkerkness
02/01/2023, 11:57 AM