500 Sorry, Something went wrong! – Error after Installation

Laraship QuestionsCategory: Technical500 Sorry, Something went wrong! – Error after Installation
Himangi Lawate asked 1 year ago
Hello, We have purchased the Extended subscription for Laraship Product. I downloaded & try to install it on my localhost. I am getting "500, Sorry, Something went wrong!" after installed it on my localhost. Here are the details: PHP version: 8.0.17 Composer Update:
  • Used command with ignore - "composer update --ignore-platform-req=ext-imagick"
    • Installed all the packages but at the end I am getting error for few packages PFA screenshot - composer-issue.pngCoral Install:
  • Installed successfully PFA screenshot - passport-install.pngPassport Install:
  • Installed successfully PFA screenshot - coral-install.png
Please help me install it.
Attachments
Himangi Lawate replied 1 year ago

I have enabled debug from .env but not getting any error in detail.

laraship Staff replied 1 year ago

Hello, please send us laravel.log file under storage/logs/ folder

Himangi Lawate replied 1 year ago

[2023-02-16 08:53:08] local.ERROR: There are no commands defined in the "passport" namespace. {"exception":"[object]

I can't attach log file here (no option) so sending top logs

laraship Staff replied 1 year ago

Please run “composer update” command

Himangi Lawate replied 1 year ago

ttpl-rt-37@tekdi-HP-EliteBook-840-G3:~/tekgithub/laraship$ composer update
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
– Root composer.json requires spatie/pdf-to-image ^2.2.0 -> satisfiable by spatie/pdf-to-image[2.2.0].
– spatie/pdf-to-image 2.2.0 requires ext-imagick * -> it is missing from your system. Install or enable PHP’s imagick extension.

To enable extensions, verify that they are enabled in your .ini files:
– /etc/php/8.0/cli/php.ini
– /etc/php/8.0/cli/conf.d/10-mysqlnd.ini
– /etc/php/8.0/cli/conf.d/10-opcache.ini
– /etc/php/8.0/cli/conf.d/10-pdo.ini
– /etc/php/8.0/cli/conf.d/15-xml.ini
– /etc/php/8.0/cli/conf.d/20-calendar.ini
– /etc/php/8.0/cli/conf.d/20-ctype.ini
– /etc/php/8.0/cli/conf.d/20-curl.ini
– /etc/php/8.0/cli/conf.d/20-dom.ini
– /etc/php/8.0/cli/conf.d/20-exif.ini
– /etc/php/8.0/cli/conf.d/20-ffi.ini
– /etc/php/8.0/cli/conf.d/20-fileinfo.ini
– /etc/php/8.0/cli/conf.d/20-ftp.ini
– /etc/php/8.0/cli/conf.d/20-gd.ini
– /etc/php/8.0/cli/conf.d/20-gettext.ini
– /etc/php/8.0/cli/conf.d/20-iconv.ini
– /etc/php/8.0/cli/conf.d/20-imap.ini
– /etc/php/8.0/cli/conf.d/20-mbstring.ini
– /etc/php/8.0/cli/conf.d/20-mysqli.ini
– /etc/php/8.0/cli/conf.d/20-pdo_mysql.ini
– /etc/php/8.0/cli/conf.d/20-phar.ini
– /etc/php/8.0/cli/conf.d/20-posix.ini
– /etc/php/8.0/cli/conf.d/20-readline.ini
– /etc/php/8.0/cli/conf.d/20-shmop.ini
– /etc/php/8.0/cli/conf.d/20-simplexml.ini
– /etc/php/8.0/cli/conf.d/20-sockets.ini
– /etc/php/8.0/cli/conf.d/20-sysvmsg.ini
– /etc/php/8.0/cli/conf.d/20-sysvsem.ini
– /etc/php/8.0/cli/conf.d/20-sysvshm.ini
– /etc/php/8.0/cli/conf.d/20-tokenizer.ini
– /etc/php/8.0/cli/conf.d/20-xmlreader.ini
– /etc/php/8.0/cli/conf.d/20-xmlwriter.ini
– /etc/php/8.0/cli/conf.d/20-xsl.ini
– /etc/php/8.0/cli/conf.d/20-zip.ini
You can also run `php –ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `–ignore-platform-req=ext-imagick` to temporarily ignore these required extensions.

1 Answers
laraship Staff answered 1 year ago

Hello,

Clearly you have missing depencancies

– spatie/pdf-to-image 2.2.0 requires ext-imagick * -> it is missing from your system. Install or enable PHP’s imagick extension.

Himangi Lawate replied 1 year ago

Still not resolved

Himangi Lawate replied 1 year ago

– Installed imagick extension using – sudo apt-get install php-imagick
– run composer update command & I get following message/issues

Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in
Composer is operating significantly slower than normal because you do not have the PHP curl extension enabled.

Himangi Lawate replied 1 year ago

Any update?

Himangi Lawate replied 1 year ago

My PHP Version is – 8.0.28
Composer – 2.5.4
Mysql – mysql Ver 8.0.32-0ubuntu0.20.04.2 for Linux on x86_64 ((Ubuntu))
OS – Ubuntu 20.04.4 LTS

Himangi Lawate replied 1 year ago

Hello Team,
I am awaiting your response. Please help

laraship Staff replied 1 year ago

Hello, We need access to the server to be able to check, since the provided input are not sufficient for us to diagnose the issue, error 00 is very generic,

please send server details, SSH and cPanel to info@corals.io

Himangi Lawate replied 1 year ago

First I am installing it on my localhost & want to discover all the features & functionalities.
So please let me know what should I need to do?

laraship Staff replied 1 year ago

we need a remote desktop, unfortunately, most of the local environments are missing a lot of dependencies