Jump to content

[Solved] Install A Laravel Application


Recommended Posts

Hey admin, I got ths error

" Execution /opt/plesk/php/8.2/bin/php has failed with exit code 1, stdout: , stderr: Creating a "laravel/laravel" project at "./laravel_tmp"
Installing laravel/laravel (v10.3.3)
- Downloading laravel/laravel (v10.3.3)
- Installing laravel/laravel (v10.3.3): Extracting archive
Failed to extract laravel/laravel: (9) '/usr/bin/unzip' -qq '/home/ppblk.space/chat.ppblk.space/vendor/composer/tmp-b20df6c9330f0fac3512afd97a844de7.zip' -d '/home/ppblk.space/chat.ppblk.space/vendor/composer/fe6445d8'
 
unzip: cannot find or open /home/ppblk.space/chat.ppblk.space/vendor/composer/tmp-b20df6c9330f0fac3512afd97a844de7.zip.
 
This most likely is due to a custom installer plugin not handling the returned Promise from the downloader
Install of laravel/laravel failed
 
In ZipDownloader.php line 222:
 
'/home/ppblk.space/chat.ppblk.space/vendor/composer/tmp-b20df6c9330f0fac351
2afd97a844de7.zip' is a corrupted zip archive (0 bytes), try again.
 
 
create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--ask] [--] [<package> [<directory> [<version>]]]"
 
while install a skeleton to a sub domain. It's chat.ppblk.space can you install laravel for me at there !
Link to comment
Share on other sites

8 hours ago, Krydos said:

Try deleting everything in /home/ppblk.space/chat.ppblk.space/ and run the installer again.

Now It says "Internal Server Error" while I try to "create website" option

Link to comment
Share on other sites

I tested installing Laravel through Plesk on Tommy and it worked just fine for me. You must have corrupted your account somehow. I created a full backup which you can download if you need it from https://heliohost.org/backup/ You have 4 options:

  1. Reset your account to the default settings, which includes deleting all of your data, but this would fix Laravel.
  2. Install Laravel manually without Plesk's help.
  3. Switch to a VPS and use the Docker deployment of Laravel. https://heliohost.org/vps/
  4. Use something other than Laravel on your existing, albeit broken, account.

I recommend option 1, since it's likely that Laravel isn't the only thing broken on your account, but that requires a lot of effort from you to restore all of your websites from backups.

  • Confused 1
Link to comment
Share on other sites

22 hours ago, Krydos said:

I tested installing Laravel through Plesk on Tommy and it worked just fine for me. You must have corrupted your account somehow. I created a full backup which you can download if you need it from https://heliohost.org/backup/ You have 4 options:

  1. Reset your account to the default settings, which includes deleting all of your data, but this would fix Laravel.
  2. Install Laravel manually without Plesk's help.
  3. Switch to a VPS and use the Docker deployment of Laravel. https://heliohost.org/vps/
  4. Use something other than Laravel on your existing, albeit broken, account.

I recommend option 1, since it's likely that Laravel isn't the only thing broken on your account, but that requires a lot of effort from you to restore all of your websites from backups.

Okay I'll Handle

Link to comment
Share on other sites

  • Krydos locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...