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

Failed Running App Update #1804

Closed
chaseconey opened this issue May 23, 2016 · 15 comments
Closed

Failed Running App Update #1804

chaseconey opened this issue May 23, 2016 · 15 comments
Assignees
Milestone

Comments

@chaseconey
Copy link
Contributor

chaseconey commented May 23, 2016

Your setup

  • What version of Cachet? v2.2.2
  • What database driver? MySQL? Postgres? SQLite? MySQL
  • What version of PHP? PHP 5.5.9-1ubuntu4.16

Expected behaviour

When I run php artisan app:update that the application would update.

Actual behaviour

Receive MySQL socket error. Full output:

Copied Directory [/vendor/roumen/feed/src/views] To [/resources/views/vendor/feed]
Publishing complete for tag []!


[PDOException]
SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Steps to reproduce

  • Install v2.2.2 with normal installation process
  • Follow updating instructions here
@GrahamCampbell
Copy link
Contributor

Looks like your database is not set up to accept socket connections.

@chaseconey
Copy link
Contributor Author

chaseconey commented May 23, 2016

I am using an external database - so that would make sense. Is there anyway to use a tcp connection instead for backups? I am not seeing a way to really change settings for this. I would even be ok with disabling this feature for now. What would you recommend?

@GrahamCampbell
Copy link
Contributor

We don't do backups on the 2.2.x version?

@chaseconey
Copy link
Contributor Author

application_setup_-_dashboard

@GrahamCampbell
Copy link
Contributor

Why are you showing me that?

@chaseconey
Copy link
Contributor Author

Sorry, just giving more data points. I am using version 2.2.2 as far as I know. I installed using that tag and all steps were performed as stated in the installation instructions.

Is there something obvious that I am missing?

@jbrooksuk
Copy link
Member

Try running rm -rf bootstrap/cache/* and then php artisan config:cache?

@chaseconey
Copy link
Contributor Author

Ran those commands and followed up with another php artisan app:update and the same error occurred.

@GrahamCampbell
Copy link
Contributor

I don't think this is a Cachet bug. Please ensure you've entered your database information correctly.

@GrahamCampbell
Copy link
Contributor

If you're not able to get this working, we do offer an installation service for $99.

@chaseconey
Copy link
Contributor Author

chaseconey commented May 24, 2016

I don't doubt there is some sort of caching issue - but the application is running just fine (MySQL connection and all). Just that command seems to fail. I have had repeated issues with cache getting stuck somehow. Even after clearing all cache via artisan and completely killing the bootstrap caching, it still seems to persist.

@GrahamCampbell
Copy link
Contributor

Opening until we know more.

@GrahamCampbell GrahamCampbell added this to the V2.3.0 milestone May 24, 2016
@jbrooksuk
Copy link
Member

@chaseconey can you try this on v2.3.0-RC2 please?

@jbrooksuk
Copy link
Member

Out of interest what is your DB_ settings like? You using Homestead or something?

Closing as we can't replicate and it's unlikely to be Cachet issue. Let me know if you need more support.

@chaseconey
Copy link
Contributor Author

Just as an FYI for the environment.

It is an AWS setup, just a basic single instance + RDS setup. No worries on the issue, I am sure once 2.3 rolls around it will fix itself.

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

3 participants