Fork me on GitHub

Jobs & Bewerber

Bewerbermanagement System. Lebenslauf Datenbank. Anzeigen Management. Dezentral. Fokus auf Privatsphäre. Free and Open Source

Update Yawik via Composer

wir kommen der Sache näher.  Wir haben gerade die PHP7 Version von unserem Demo per Composer aktualisiert. Das ist einfach cool …

Aber bitte nicht als “root” nachmachen. Das macht man normalerweise nicht. Und es führt am Ende zum Problem, dass die assets per npm nicht korrekt verteilt werden. 


root@php7:/var/www/YAWIK# composer update
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 21 updates, 4 removals
  - Removing symfony/debug (v4.1.7)
  - Removing mikey179/vfsstream (v1.6.5)
  - Removing mikemix/zf2htmlpurifier (1.0.1)
  - Removing ezyang/htmlpurifier (v4.10.0)
  - Updating symfony/finder (v3.4.18 => v4.1.7): Downloading (100%)         
  - Updating psr/log (1.0.2 => 1.1.0): Downloading (100%)         
  - Updating symfony/console (v3.4.18 => v4.1.7): Downloading (100%)         
  - Downgrading yawik/composer-plugin (dev-master 5a33e71 => v0.32.0-alpha1):  Checking out 71a23056d5
  - Updating zendframework/zend-hydrator (2.4.0 => 2.4.1): Downloading (100%)         
  - Updating doctrine/persistence (v1.0.1 => v1.1.0): Downloading (100%)         
  - Updating doctrine/common (v2.9.0 => v2.10.0): Downloading (100%)         
  - Removing doctrine/doctrine-module (1.2.0)
  - Installing doctrine/doctrine-module (dev-master 66addcc): Cloning 66addcc57b from cache
  - Updating symfony/dotenv (v3.4.18 => v4.1.7): Downloading (100%)         
  - Updating symfony/filesystem (v3.4.18 => v4.1.7): Downloading (100%)         
  - Updating symfony/process (v3.4.18 => v4.1.7): Downloading (100%)         
  - Updating yawik/core (dev-develop 0e03237 => v0.32.0-RC1):  Checking out c4762bfb25
  - Updating yawik/settings (dev-develop 06b45f8 => v0.32.0-RC1):  Checking out 95f7a1175f
  - Updating yawik/pdf (dev-develop 671c1fa => v0.32.0-RC1):  Checking out ac62777532
  - Updating yawik/organizations (dev-develop 48dac74 => v0.32.0-RC1):  Checking out bd97146854
  - Updating yawik/jobs (dev-develop bbef3df => v0.32.0-RC1):  Checking out 4994c4b142
  - Updating yawik/install (dev-develop 8564eb0 => v0.32.0-RC1):  Checking out 4b892eb51c
[warning] No module definition for: yawik/install
  - Updating yawik/geo (dev-develop a54a814 => v0.32.0-RC1):  Checking out dad0aacb31
  - Updating yawik/cv (dev-develop 4834ed1 => v0.32.0-RC1):  Checking out 7ef0f3e635
  - Updating yawik/auth (dev-develop 6214ed1 => v0.32.0-RC1):  Checking out b0bc6ceb57
  - Downgrading yawik/applications (dev-master 7acb747 => v0.32.0-RC1):  Checking out 93df736285
Writing lock file
Generating autoload files


Yawik Assets Installed!
-----------------------

 --- --------------- ------------------ 
      Module          Method / Error    
 --- --------------- ------------------ 
  ✔   Core            relative symlink  
  ✔   Auth            relative symlink  
  ✔   Cv              relative symlink  
  ✔   Applications    relative symlink  
  ✔   Jobs            relative symlink  
  ✔   Settings        relative symlink  
  ✔   Geo             relative symlink  
  ✔   Organizations   relative symlink  
  ✔   YawikDemoSkin   relative symlink  
  ✔   Orders          relative symlink  
 --- --------------- ------------------ 

                                                                                                                        
 [OK] All assets were successfully installed.                                                                           
                                                                                                                        

[chmod] config/autoload with 777
[chmod] var/cache with 777
[chmod] var/log with 777
[chmod] var/log/tracy with 777
[chmod] public/static/Organizations/Image with 777
[chmod] var/log/yawik.log with 666
> ./vendor/bin/yawik clear-cache
Cleaning up all cache files.
> npm install
npm WARN lifecycle yawik-standard@0.32.0~postinstall: cannot run in wd yawik-standard@0.32.0 grunt (wd=/var/www/YAWIK)
npm WARN yawik-standard@0.32.0 No repository field.
npm WARN yawik-standard@0.32.0 No license field.

updated 1 package and audited 500 packages in 3.004s
found 0 vulnerabilities

Leave a Reply