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

Deployer - Fehlermeldungen sammeln #13

Open
tbaddade opened this issue Mar 4, 2019 · 0 comments
Open

Deployer - Fehlermeldungen sammeln #13

tbaddade opened this issue Mar 4, 2019 · 0 comments

Comments

@tbaddade
Copy link
Member

tbaddade commented Mar 4, 2019

Git

Fehlermeldung

[Deployer\Exception\RuntimeException (1)]                      
 The command "export APP_ENV='prod'; command -v 'git'" failed.  
                                                                
 Exit Code: 1 (General error)

Lösung

host()
   ->set('bin/git', '/usr/bin/git')

Rsync

Fehlermeldung

[hostname] < bash: rsync: command not found
[hostname] < rsync: connection unexpectedly closed (0 bytes received so far) [sender]
[hostname] < rsync error: error in rsync protocol data stream (code 12) at /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-52.200.1/rsync/io.c(453) [sender=2.6.9]
➤ Executing task deploy:failed

Lösung

rsync installieren

/current/public kann der Domain nicht zugewiesen werden (Symlinks werden nicht angezeigt)

  1. Symlink current via FTP löschen
  2. physischen Ordner current erstellen
  3. physischen Ordner public innerhalb current erstellen
  4. Im Kundenmenü der Domain jetzt /current/public zuweisen und speichern
  5. physischen Ordner current via FTP löschen
  6. nochmals deployen
  7. testen ob die Domain nun die Website anzeigt

bin/console ydeploy::... nur wenn Mamp genutzt wird

Fehlermeldung

In sql.php line 90:
                                 
  Could not connect to database  

In sql.php line 117:
                                                    
  SQLSTATE[HY000] [2002] No such file or directory  

Lösung
Man muss dafür sorgen, dass man in der conole überhaupt die php-version aus mamp nutzt und nicht die default PHP-Version von macOS

https://gist.github.com/irazasyed/5987693

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

1 participant