Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Onboarding using Valet throws "server error" #24

Closed
DelphiWorlds opened this issue Nov 29, 2019 · 8 comments
Closed

Onboarding using Valet throws "server error" #24

DelphiWorlds opened this issue Nov 29, 2019 · 8 comments

Comments

@DelphiWorlds
Copy link

I've followed the steps here:

https://docs.craterapp.com/developer-guide.html#installation

..and started onboarding from a Valet URL, in my case: http://crater.test

On the Site URL & Database page, it succeeds in creating tables in the MySQL database, however it does not proceed any further, and indicates "Server Error" in the top right of the screen, with no other information.

@mohitpanjwani
Copy link
Contributor

We've just fixed an issue with SQL Modes. Can you do a git pull and see that fixes your issue?

If not, can you update the variable APP_DEBUG=true on .env file and mention the error that you're getting?

@DelphiWorlds
Copy link
Author

Did a pull.. now I get "Database Connection Failed". Setting APP_DEBUG=true does not give me any other information

@mohitpanjwani
Copy link
Contributor

mohitpanjwani commented Dec 2, 2019

Hey! we've fixed many issues on 2.0 update. Can you download the new update and check if it works for you?

@DelphiWorlds
Copy link
Author

Still having the same error, i.e. "Database Connection Failed" :-(

@mohitpanjwani
Copy link
Contributor

It seems to work perfectly for me and the rest of the team.. I am using valet too.

We'll push a small update where it shows the actual error on the installation instead of just "Database connection failed" so we can pinpoint what's happening.

@rafaelmb
Copy link

rafaelmb commented Dec 3, 2019

How is the error showing on your logs?

@codernize
Copy link

Hi, been trying to install it but didn't make it trough.

  1. First of all, on onboarding , all checks are ok in first steps (will be back to this after). On the second step I get a warning of some sort that 3 folders don't have (or have) proper permissions. I don't know what to do there, I have 755 . Should it be 777 ? Nothing is mentioned
  2. couldn't get it install db migrations. After it got a 500 error from the xhr request, it had always that error. I found that out to be the migration part for columns that are json. Even though at first the check was made and it was ok, my mysql version doesn't support json column type.
  3. after the previous one, another php error ( Laravel 6 proc_open laravel/framework#30054 ), but the fix that I've found was to be 'collect_git_information' => false, in flare.php config. I don't have ssh access to server , I'm on shared host.
  4. now I am stuck on an access denied for mysql user. I know the password is ok, the db and value is in there , and I get this error (I only assume ) at a later time in the run process, for select * from settingswhereoption = profile_complete limit 1 which is pretty simple, right ?

@DelphiWorlds
Copy link
Author

My sincerest apologies.. somehow between when I first tested and the second time, my MySQL server (on another machine) decided to revert to listening on localhost only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants