You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm totally desperate because I just can't get anywhere. I followed the instructions at https://snipe-it.readme.io/docs/installation step by step. But as soon as I try to access the website, I get an Error 500. Unfortunately, there is nothing useful in the logs.
What I'm using: PHP 8.4, MySQL
The web space is connected to the “public” directory.
I also set the logs to debug in .env, but unfortunately the storage/logs/laravel.log file remains empty.
The only thing that differs in my installation process is that during installation, when running “php8.4-cli artisan key:generate,” I received the following error message:
artisan key:generate Error Class"Laravel\Telescope\TelescopeServiceProvider" not found at vendor/laravel/framework/src/Illuminate/Foundation/Application.php:961957
▕ * @return \Illuminate\Support\ServiceProvider 958
▕ */ 959▕ public function resolveProvider($provider) 960
▕ { ➜ 961▕ return new$provider($this); 962
▕ } 963
▕ 964
▕ /** 965
▕ * Mark the given provider as registered. +1 vendor frames 2 app/Providers/AppServiceProvider.php:90Illuminate\Foundation\Application::register() +7 vendor frames 10 artisan:33Illuminate\Foundation\Console\Kernel::handle()
I then commented out the following lines in the app/Providers/AppServiceProvider.php file and was able to continue with the setup:
if ($this->app->environment('local')) {
#$this->app->register(\Laravel\Telescope\TelescopeServiceProvider::class);#$this->app->register(TelescopeServiceProvider::class);
}
The following PHP modules are installed:
php8.4-cli -m
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dba
dom
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
intl
json
ldap
libxml
mbstring
mysqli
mysqlnd
openssl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
random
Reflection
session
shmop
SimpleXML
soap
sodium
SPL
sqlite3
standard
tidy
tokenizer
xml
xmlreader
xmlwriter
xsl
zip
zlib
[Zend Modules]
The only difference between cli and web is that the web installation still includes the cgi-fcgi module. The rest appears to be identical.
If you need more information (about the available PHP modules or anything else), please let me know and I will provide it.
The web server is a Debian 11.11 installation.
I am grateful for any idea that helps me get the software up and running.
Thank you very much,
Peter
PS: I can select different PHP versions at IONOS and have already tried version 8.1, for example. But I have the same problem there :-(
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm totally desperate because I just can't get anywhere. I followed the instructions at https://snipe-it.readme.io/docs/installation step by step. But as soon as I try to access the website, I get an Error 500. Unfortunately, there is nothing useful in the logs.
What I'm using: PHP 8.4, MySQL
The web space is connected to the “public” directory.
When I enter “https://domain.tld,” I am redirected to “https://domain.tld/login.”
I also set the logs to debug in .env, but unfortunately the storage/logs/laravel.log file remains empty.
The only thing that differs in my installation process is that during installation, when running “php8.4-cli artisan key:generate,” I received the following error message:
I then commented out the following lines in the app/Providers/AppServiceProvider.php file and was able to continue with the setup:
The following PHP modules are installed:
The only difference between cli and web is that the web installation still includes the cgi-fcgi module. The rest appears to be identical.
If you need more information (about the available PHP modules or anything else), please let me know and I will provide it.
The web server is a Debian 11.11 installation.
I am grateful for any idea that helps me get the software up and running.
Thank you very much,
Peter
PS: I can select different PHP versions at IONOS and have already tried version 8.1, for example. But I have the same problem there :-(
Beta Was this translation helpful? Give feedback.
All reactions