Closed tnatanael closed 3 years ago
Could you please attach the error message as a photo?
No erros, the admin route simpli does not exists
You mean you get 404 error?
Yes! 404 on /admin route
I think your installation has been failed.
Because after registering Service Provider routes will be registered.
Remove the package with composer then reinstall it with --no-cache
flag.
Same behavior here... 404 for /admin route.
I also reinstalled the package with php artisan panel:install and got success message
I see no routes registered on routes/web.php is this expected?
I said reinstall with composer not artisan command
panel:install
install front end dependency and components
first remove package:
composer remove rezaamini-ir/laravel-easypanel
then :
composer require rezaamini-ir/laravel-easypanel --no-cache
Sure ive done this too: composer remove rezaamini-ir/laravel-easypanel And: composer require rezaamini-ir/laravel-easypanel --no-cache
I said reinstall with composer not artisan command
panel:install
install front end dependency and components first remove package:composer remove rezaamini-ir/laravel-easypanel
then :composer require rezaamini-ir/laravel-easypanel --no-cache
Also done, same problem...
Have you updated Laravel version? Tell me your Laravel version
Laravel 8 default fresh installation, latest version!
I checked it and there was no problem. You may have a conflict in your project with routes or service providers.
@tnatanael, I thaught the same, untill I manually added a is_superuser
column to my users-table (type int
with length 1). This isn't done by migrations.
I tried the php artisan panel:add [user_id]
command but this didn't work for me, so I manually changed the is_superuser
to value 1
, then /admin works.
Steps from scratch:
.env
config/easy_panel.php
and set todo
to true
@J87NL Thanks for your answer, I think some users don't add is_superuser
to the User model as a fillable field and maybe It's because of that!
And also you have to add is_superuser
column or any name which you want to your database structure (based on your config file).
Some users want to authenticate a user with themselves way.
As the title, i tryed everything, offcourse something is missing in the tutorial...