Backpack Basset failed to check it's working properly. #1136
-
Hey artisans! I'm hoping someone can give me some great guidance here. I'm trying to upgrade to Backpack V6. Below I am adding my composer.json, filesystems.php and what I've done so far. .envAPP_ENV=development
# Tried with both `development` and `local` composer.json "repositories": {
"backpack": {
"type": "composer",
"url": "https://repo.backpackforlaravel.com/"
},
},
"require": {
...
"backpack/crud": "^6.0",
"backpack/editable-columns": "^3.0",
"backpack/pro": "^2.0",
"backpack/theme-coreuiv2": "^1.2",
...
},
"require-dev": {
"backpack/devtools": "^3.1",
"backpack/generators": "^4.0",
...
} filesystems.php<?php
return [
'default' => env('FILESYSTEM_DISK', 'local'),
'disks' => [
'local' => [
'driver' => 'local',
'root' => storage_path('app'),
'throw' => false,
],
'public' => [
'driver' => 'local',
'root' => storage_path('app/public'),
'url' => env('APP_URL').'/storage',
'visibility' => 'public',
'throw' => false,
],
],
'links' => [
public_path('storage') => storage_path('app/public'),
],
]; I have run the following commands with their responses $> php artisan storage:link
INFO The [public/storage] link has been connected to [storage/app/public].
$> php artisan backpack:install (Selected coreuiv2 and added all the packages like devtools after that prompt)
STEP 1 Installing Backpack CRUD.
Publishing configs, views, routes and assets ..................................................................... DONE
Creating users table ............................................................................................. DONE
Creating CheckIfAdmin middleware ................................................................................. DONE
Installing Generators ............................................................................................ DONE
Installing Basset ................................................................................................ DONE
STEP 2 Installing a Theme.
│ Choose your admin UI, depending on your project and preferences.
CoreUIv2 was already installed
STEP 3 Creating an admin.
│ Quickly jump in your admin panel, using the email & password you choose here.
│ Currently there are 21174 users in the users table.
│ Skipping creating an admin user.
INFO Checking Backpack Basset installation.
Initializing basset check ........................................................................................ DONE
Checking cache storage ........................................................................................... DONE
Fetching a basset ................................................................................................ ERROR
ERROR Error fetching the file.
│ Backpack Basset failed to check it\'s working properly.
│
│ This may be due to multiple issues. Please ensure:
│ 1) APP_URL is correctly set in the .env file.
│ 2) Your server is running and accessible at https://development.domain.net.
│ 3) The public disk is properly configured in config/filesystems.php.
│ Optionally, basset provides a disk named "basset", you can use it instead.
│ 4) The storage symlink exists and is valid (by default: public/storage).
│
│ For more information and solutions, please visit the Backpack Basset FAQ at:
│ https://github.com/laravel-backpack/basset#faq
$> php artisan storage:unlink Then tried to rinse and repeat within my docker container as well as on the host machine to see if I got any other response but I keep coming to this error |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
If someone has ran into this issue before it would help a ton to get more insight 🙂 |
Beta Was this translation helpful? Give feedback.
-
Hello @r0aringthunder Did you check end .env the APP_URL is correctly config? Need to be the real URL of app.
You can try to remove and create again storage link:
Let me know if thats help for you. Cheers. |
Beta Was this translation helpful? Give feedback.
-
Due to not activity, I will close the issue, but please feel free to re-open or create a new one if needed. Cheers. |
Beta Was this translation helpful? Give feedback.
-
I'm having this exact issue with laravel 12 and backpack 6 on Windows, tried the suggestions on https://github.com/Laravel-Backpack/basset/blob/main/readme.md#faq without success. |
Beta Was this translation helpful? Give feedback.
-
Проблема сохраняется на laravel 10, backpack 6 root@bb529850d940:/var/www# php artisan backpack:install STEP 1 Installing Backpack CRUD. Publishing configs, views, routes and assets ........................................................................... DONE STEP 2 Installing a Theme. │ Choose your admin UI, depending on your project and preferences. CoreUIv2 was already installed STEP 3 Creating an admin. │ Quickly jump in your admin panel, using the email & password you choose here. STEP 4 Installing premium Backpack add-ons: │ Add tons of features and functionality to your admin panel, using our paid add-ons. 1 Backpack Pro .................................................................................................... INSTALLED 2 DevTools .................................................................................................... NOT INSTALLED 3 Editable Columns ............................................................................................ NOT INSTALLED INFO Checking Backpack Basset installation. Initializing basset check ................................................................................................................... DONE ERROR cURL error 7: Failed to connect to localhost port 8000 after 0 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://localhost:8000/storage/basset/vendor/backpack/basset/tests/Helpers/basset-test.js. │ Backpack Basset failed to check it's working properly. |
Beta Was this translation helpful? Give feedback.
I'll have to loop back to this ticket for upgrading backpack soon but thank you for the help! I'll let you know if this fixed my issue or not in a couple days if not later today 😄