Gert-dev / php-ide-serenata

Atom IDE package that integrates the Serenata server to provide PHP code assistance
https://serenata.gitlab.io/
Other
275 stars 19 forks source link

Cannot install server since 4.4.0 #440

Closed BradCrumb closed 3 years ago

BradCrumb commented 6 years ago

Hi there,

Every time I open Atom I get the question to install the Serenata server. After I click on "Install server" I immediately get the error "Serenata - Server Installation Failed". I checked the error console but there are no errors in the list. Also it looks like all things are working correctly after the error popup.

When I open a new project or restart Atom the same thing happens.

I use Atom version 1.28.1 and Docker for the server.

Gert-dev commented 6 years ago

What operating system are you using?

I tried a quick installation from scratch using Docker (on Linux), but do not immediately encounter this problem. In v4.3.0 I changed the folder the core is installed to in order to fix an issue, but v4.4.0 didn't really contain any related changes.

BradCrumb commented 6 years ago

@Gert-dev I'am using Ubuntu 18.04. I'm going to try to fully remove the package and clean composer cache. Maybe it is an upgrade issue only and not a specific bug of the version.

Shadowmad commented 6 years ago

@Gert-dev I would like to participate in the issue. I just upgraded Atom package and core is not setting up anymore. I re-installed PHP and upgraded everything, Currently running Ubuntu 18.04 I run everything locally. In developer tools view there is no error

I tried fully removing the package and install, atom clean install, php and nginx, composer installed globally. Nothing worked.

Thank you!

Shadowmad commented 6 years ago

@BradCrumb I fixed my issue with newest version.

Go to atom and enter developer tools before you click install server. Change setting of reporting level in developer tools to All levels, you will see more issues, and composer output on install try. Basically for me was .composer folder belonged to root and all files inside it were rooted. I moved the folder with other name and installed the package. All good.

Gert-dev commented 6 years ago

@Shadowmad Nice catch. I think the console logging behavior changed in a newer Electron release which is now part of Atom and hides the verbose messages by default, which doesn't really help. I may look into migrating to the atom-ide-ui output console in the future to counter this.

Gert-dev commented 4 years ago

Is this still a problem for anyone? In 5.0 the installation has been rewritten to just download a PHAR and run that, so there should be no more trouble with downloading. running or missing extensions pertaining to Composer.

machitgarha commented 3 years ago

@Gert-dev This issue should be closed. No reply for two (three?) years.