Code Monkey home page Code Monkey logo

launchpad's Introduction

eZ Launchpad

eZ Launchpad is a CLI tool to start an eZ Platform project in 5 min on top of a full Docker stack.

It's brought to you by, and supported by the eZ Community (on ezcommunity.slack.com #ez-launchpad).

You can find the full documentation here: https://ezsystems.github.io/launchpad

Branch Travis build status
master Build Status

Contribution

CONTRIBUTING

License

This project is under the MIT license. See the complete license in the file:

LICENSE

launchpad's People

Contributors

ahmed-bhs avatar amine-betari avatar anaelchardan avatar andrerom avatar crevillo avatar ddoghri avatar fchris82 avatar glye avatar hranicka avatar ibexalex avatar kmadejski avatar papelipe avatar plopix avatar raupie avatar vfederer avatar xserna avatar yohannsmonnier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

launchpad's Issues

ez create doesn't work

Q A
Bug report? no
Feature request? no
BC Break report? yes
RFC? no
Version 1.8.8
Environment Linux

Hi, I just installed ezlaunchpad in my Arch Linux machine, the init command works well, but when I run ~/ez clean or create it doesn't do anything, what could cause this?
I'm running PHP 8.0.2, Docker 20.10.3 and docker-compose 1.28.2

yarn watch not working

Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Version x.y.z
Environment Mac/Windows

If I activate yarn watch to watch filesystemchanges on css, html, js files the watcher does not react on any changes on editing files locally

how can we solve this

kind regards
Peter

Purge type not correctly set in prod mode right after install

Q A
Bug report? yes
Feature request? no
BC Break report? yes
RFC? yes/no
Version ezplatform 2.4
Environment Linux

Varnish does not work with ezplatform enterprise edition. Particularly with admin ui purge events. I've tested this using ezlaunchpad by initializing a ezplatform project and an ezplatform-ee project.

Test 1: ezplatform standard edition. Works as expected.

  1. ~/ez init
  2. Open homepage in tab 1, Varnish cache reports a miss. Refresh again to test that next reload is a hit.
  3. Open admin ui in tab 2
  4. Edit content
  5. Refresh tab 1, Varnish cache has been purged and varnish is a MISS and X-Count-Hits is reset.

Test 2: ezplatform-ee edition. Varnish is broken. Purge not working. Logged in session is being cached.

  1. ~/ez init ezystems/ezplatform-ee
  2. Open Homepage in tab 1, Varnish cache reports a miss. X-Varnish: 123
  3. Open Homepage in tab 2, Varnish cache reports hit. X-Varnish: 123
  4. Open admin ui in tab 3
  5. Edit ezplatform folder object
  6. Refresh Homepage in tab 2, Varnish cache does not purge. Tab 2 cache using different X-Varnish ID. X-Varnish: 789, X-Cache-Hits: 1
  7. Repeat step 5, X-Cache-Hits: 2
  8. Log out of Admin UI in tab 3
  9. Refresh tab 2, Varnish cache returns to same as tab 1. X-Varnish: 123

So it appears to me that ezplatform-ee is not purging content. When logged into the admin ui I can see that varnish is caching the homepage when in ezplatform project that is not happening as expected since Varnish shouldn't be caching content containing cookies. When I log out of admin ui the varnish cache returns to the original cache without the new content.

The other side affect I'm noticing ONLY when using the ezplatform-ee project is when running an ~/ez down && ~/ez create to rebuild the environments that leaving the admin ui logged in will cause varnish to cache a composer error message. If I log out of admin_ui then run the ez commands varnish doensn't cache that error. I believe it has something to do with the admin ui notifications trying to hit the site while it's down and varnish turns on it sees that request and caches it. However I've tested this on the ezplatform project and it doesn't happen there. Seems isolated to enterprise edition only.

SSH Key

Hello,

how can i work with the SSH Key from my Mac in the Launchpad?

Thanks
Dominik

mysql data lost after docker rm -f $(docker ps -a -q)

Q A
Bug report? yes
Feature request? no
BC Break report? yno
RFC? no
Version x.y.z
Environment Linux/Mac/Windows

Hi,

If i destroy the containers with docker rm -f and rebuild all mysql data are lost.
Do i have to add an own mountpoint to store the data on the host?

kind regards

Peter

KeyError: 'getpwuid(): uid not found: 501'

Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Version f62c16d583bb7e483366cf6e5a99aa721c118638
Environment Linux/Mac/Windows

When I execute the command ~/ez init, I got:

Traceback (most recent call last):
  File "site-packages/PyInstaller/loader/pyiboot01_bootstrap.py", line 200, in <module>
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "/Users/distiller/compose-osx-release/compose/venv/lib/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py", line 631, in exec_module
  File "ctypes/macholib/dyld.py", line 18, in <module>
  File "posixpath.py", line 247, in expanduser
KeyError: 'getpwuid(): uid not found: 501'
[81899] Failed to execute script pyiboot01_bootstrap

In Process.php line 239:

  The command "docker-compose -p richardez -f /Users/richard/dev/aad/ez/provisioning/dev/docker-compose.yml -f /Users/richar
  d/dev/aad/ez/provisioning/dev/docker-compose-osx.yml build --no-cache" failed.

  Exit Code: 255(Unknown error)

  Working directory: /Users/richard/dev/aad/ez

  Output:
  ================


  Error Output:
  ================

Docker for Mac 18.06.1-ce-mac73 (26764)
MacOS 10.13.6

ez command permission denied after update

Q A
Bug report? yes
Version 1.8.6
Environment Linux/Mac

Hi,

After an upgrade from 1.7.0 to 1.8.6 with command ez self-update.
Can not use ez command anymore.

I had to chmod u+x /path/to/.ezlaunchpad/ez.phar

I dunno if it could be fix from update (or if it's really an issue) but may be can it be had to your doc if it happen for others :)

Thx for everything you do on ezlaunchpad !

composer_cache no longer writable

Q A
Bug report? yes
Feature request? no
BC Break report? yes/no
RFC? yes/no
Version x.y.z
Environment Linux

Just noticed the composer_cache folder is no longer owned by wwwdata but by root.

ERROR 1114 (HY000) at line 8834: The table 'xxxx' is full

Q A
Bug report? yes/no
Feature request? yes/no
BC Break report? yes/no
RFC? yes/no
Version x.y.z
Environment Linux/Mac/Windows

If I try to import 14 GB dump i get:

ERROR 1114 (HY000) at line 8834: The table 'xxxx' is full

kind regards

Peter

platform.sh deploy redis error

Q A
Bug report? yes
Feature request? no
BC Break report? yes/no
RFC? yes/no
Version x.y.z
Environment Linux

Default deploy commands that were created by ezlaunchpad throws an error in platform.sh deploy logs.

bin/console cache:pool:clear cache.redis throws an error: `You have requested a non-existent service "cache.redis"

Solar install broken

Q A
Bug report? no
Feature request? no
BC Break report? yes
RFC? no
Version 3.1.1
Environment Mac

On command ~/ez init the solar installation breaks with following errormessage:

mkdir: cannot create directory '/ezsolr/server': Permission denied
cp: cannot stat 'vendor/ezsystems/ezplatform-solr-search-engine/lib/Resources/config/solr/*': No such file or directory
chmod: cannot access '/ezsolr/server/ez': No such file or directory

How to fix that?

kind regards

Peter

Studio-clean database

When installing eZ Enterprise, the php app/console ezplatform:install studio-clean must be run instead of the clean

Legacy Content Panels are empty when using eZ Launchpad on macOS with NFS

Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Version
Environment Mac

eZ Launchpad + Legacy Bridge + macOs + NFS is not compatible.
The problem is that /ezpublish_legacy/kernel/classes/clusterfilehandlers/ezfsfilehandler.php uses php function 'flock' to gain exclusive access to ezmutex files. Unfortunately the php flock function calls the underlying flock system call which is not supported by NFS. Therefore no content cache files will be generated, and consequently, Legacy Content Panels will be empty.

If anyone has this problem, a dirty workaround if you are working in dev is to comment out the following lines in /ezpublish_legacy/kernel/classes/clusterfilehandlers/ezfsfilehandler.php:

// Lock the entry for exclusive access, if the entry does not exist
// it will be inserted with mtime=-1
if ( !$this->_exclusiveLock( $fname ) )
{
    // Cannot get exclusive lock, so return null.
    return null;
}

Improve ezPlatform version detection

Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? yes/no
Version 1.5.4
Environment Linux/Mac/Windows

ezlaunchpad accept both command:

~/ez init ezsystems/ezplatform 2.5.9
~/ez init ezsystems/ezplatform v2.5.9

But when using "v2.5.9" as version, the "v" char make ezlaunchpad understanding the initialization as a Version 3 instalation.

ezlaunchpad should detect better the version to install.

Atte,
Vincent

[URGENT][Mac OS Catalina] Needs to change the mapping for NFS

If you are using eZ Launchpad on Mac OS, and you want to migrate to Catalina, just wait.

https://www.firehydrant.io/blog/nfs-with-docker-on-macos-catalina/

We need to redo the mapping from within eZ Launchpad.

Thank you @Webarkitekt who is the one living on the Edge that got first this issue and warned us.

To fix that brand new issue, we will have to change the export path depending on the OS version and the mapping in the docker-composer-osx.yaml.

That will require a new variable but that will be transparent for eZ Launchpad user.

There is a workaround so far:

Change your /etc/exports and your provisioning/dev/docker-compose-osx.yml manually.

Support Xdebug?

Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? no
Version x.y.z
Environment Linux/Mac/Windows

It would be very nice if eZ Launchpad supported xdebug.

Could this be implemented?

EZP_TEST_REST_HOST environment variable not set

It's impossible to run EzPublishRestBundle functional tests, as the client which executes http requests obtains the http host from environment variable 'EZP_TEST_REST_HOST', which should have value 'nginx'.

Solution:
Edit docker-compose.yml to include the 'EZP_TEST_REST_HOST' environment variable with value 'nginx' as so:

version: '2.1'
services:
    ...
    engine:
        ...
        environment:
            ...
            - EZP_TEST_REST_HOST=nginx

PR from a fork does not pass the test

Q A
Bug report? yes
Feature request? no
BC Break report? no
Environment Github

Travis does not work when someone forked because of 'before_install' line about decryption of the tar.

Todo: do it only for a merge on master. (not useful otherwise)

Support Traefik

Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? yes
Version -
Environment Linux/Mac/Windows

Currently no domains can be setup for the services. Traefik would be a great addition to the current Launchpad setup.

E.g.

  • solr.PROJECTNAME.local
  • mailcatcher.PROJECTNAME.local
  • redis.PROJECTNAME.local

Cannot start service nginx: OCI runtime create failed

Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Version 614ccf2
Environment Windows
jankal@ajank  /c/Users/alexa/Projekte/cyprotect-backend  ez init

               *
       *             *
                    ___
              |     | |
    *        / \    | |
            |--o|===|-|
            |---|   | |
       *   /     \  | |
          |  eZ   | | |
          |       |=| |
          Launchpad | |
          |_______| |_|
           |@| |@|  | |
  ____\|/___________|_|_

    eZ Launchpad 614ccf2e410ae6797a5049395aaa3978c2e96ee4

 eZ Launchpad will install a new architecture for you.
 Three modes are available:
  - standard: All the services, no composer auth
  - standard-with-composer-auth: Standard with ability to provide Composer Auth, useful for eZ Platform Enterprise
  - expert: All the questions will be asked and you can select the services you want only
 Please select your Initialization mode [standard]:
  [0] standard
  [1] standard-with-composer-auth
  [2] expert
 > 0

Building engine
Step 1/6 : FROM plopix/docker-php-ez-engine:7
 ---> e88b0ebccaa8
Step 2/6 : MAINTAINER Plopix
 ---> Running in 8d53a5fd9e35
Removing intermediate container 8d53a5fd9e35
 ---> 8dad2d0c663a
Step 3/6 : COPY entrypoint.bash /entrypoint.bash
 ---> 5b3917d15f94
Step 4/6 : RUN chmod +x /entrypoint.bash
 ---> Running in b5042d7e6aeb
Removing intermediate container b5042d7e6aeb
 ---> c38b37d03665
Step 5/6 : ENTRYPOINT ["/entrypoint.bash"]
 ---> Running in 03bcd5373afa
Removing intermediate container 03bcd5373afa
 ---> ade3795a6702
Step 6/6 : CMD ["php-fpm"]
 ---> Running in fef0ee07a32e
Removing intermediate container fef0ee07a32e
 ---> 9a3ba7af8d32
Successfully built 9a3ba7af8d32
Successfully tagged jankalcyprotectbackend_engine:latest
db uses an image, skipping
Recreating jankalcyprotectbackend_engine_1 ... done
Starting jankalcyprotectbackend_db_1       ... done

Installation Composer in the container
All settings correct for using Composer
Downloading...

Composer (version 1.6.5) successfully installed to: /var/www/html/project/composer.phar
Use it: php composer.phar

Installation eZ Platform (ezsystems/ezplatform:2.*:clean) in the container


  [ErrorException]
  include(phar:///var/www/html/project/composer.phar/vendor/composer/../../src/Composer/Command/SuggestsCommand.php): failed to o
  pen stream: phar error: Cannot open phar archive "/var/www/html/project/composer.phar" for reading


/var/www/html/project/ez_install.bash: line 16: cd: ezplatform: Not a directory
rm: cannot remove '.env': No such file or directory
rm: cannot remove '.platform.app.yaml': No such file or directory
rm: cannot remove 'Dockerfile': No such file or directory
rm: cannot remove '.travis.yml': No such file or directory
mysqld is alive

Could not open input file: bin/console
Could not open input file: bin/console
Installation OK
/var/www/html/project/ez_install_solr.bash: line 12: cd: /var/www/html/project/ezplatform: Not a directory
cp: cannot stat 'vendor/ezsystems/ezplatform-solr-search-engine/lib/Resources/config/solr/*': No such file or directory
Removing jankalcyprotectbackend_nginx_1
Starting jankalcyprotectbackend_mailcatcher_1 ...
Starting jankalcyprotectbackend_mailcatcher_1 ... done
Starting jankalcyprotectbackend_adminer_1     ... done
Starting jankalcyprotectbackend_redisadmin_1  ... done
Recreating jankalcyprotectbackend_engine_1    ... done
Starting jankalcyprotectbackend_blackfire_1   ... done
Recreating jankalcyprotectbackend_redis_1     ...
Recreating de8b6aae1a7f_jankalcyprotectbackend_nginx_1 ... error
Recreating jankalcyprotectbackend_solr_1               ...

ERROR: for de8b6aae1a7f_jankalcyprotectbackend_nginx_1  Cannot start service nginx: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"rootfs_linux.go:58: mounting \\\"/host_mnt/c/Users/alexa/Projekte/cyprotect-backend/ezplatform/doc/nginx/ez_params.d\\\" to rootfs \\\"/var/lib/docker/overlay2/07aba98117b97b26cacfRecreating jankalcyprotectbackend_redis_1              ... doneojekte/cyprotect-backend/ezplatform/doc/nginx/ez_params.d: not a directory\\\"\"": unknown: Are you trying to mount a directory ontoRecreating jankalcyprotectbackend_solr_1               ... done

ERROR: for nginx  Cannot start service nginx: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"rootfs_linux.go:58: mounting \\\"/host_mnt/c/Users/alexa/Projekte/cyprotect-backend/ezplatform/doc/nginx/ez_params.d\\\" to rootfs \\\"/var/lib/docker/overlay2/07aba98117b97b26cacfd13e197ba0cfb50c55ac17c11f9304d19a0efd36e0ad/merged\\\" at \\\"/etc/nginx/ez_params.d\\\" caused \\\"stat /host_mnt/c/Users/alexa/Projekte/cyprotect-backend/ezplatform/doc/nginx/ez_params.d: not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the
specified host path exists and is the expected type
ERROR: Encountered errors while bringing up the project.

In Process.php line 239:

  The command "docker-compose -p jankalcyprotectbackend -f /c/Users/alexa/Projekte/cyprotect-backend/provisioning/dev/docker-comp
  ose.yml up -d" failed.

  Exit Code: 1(General error)

  Working directory: /c/Users/alexa/Projekte/cyprotect-backend

  Output:
  ================


  Error Output:
  ================


docker:initialize [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-c|--config CONFIG] [--] <command> [<repository>] [<version>] [<initialdata>]

[New Feature?] New commands to import storage from remote url

Q A
Feature request? yes

To avoid travis error on building docker we need to have the latest database and storage.
Keep ez docker:importdata

But we could add some commands like :

  • ez docker:importdb
  • ez docker:importstorage
  • ez docker:import-storage-from-url
    also : (but not very secure) :
  • ez docker:import-db-from-url

So we could use dropbox or gdrive to import storage. What do you think ?

Engine not working correctly on M1

Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Version 1.9.1
Environment Mac (M1)

Dear @Plopix ,

I have tested eZLaunchpad more this week, and in fact it is not working perfectly :

  1. RAM is not managed correctly : As the engine is not based on an Apple M1 architecture (arm64v8 ?), the RAM is not correctly set up and we have exhausted memory at 256Mo even if we assign 8Go of Ram to docker)

See this issue for examples that have same kind of issue because of not correct architecture : docker/for-mac#5204

  1. If I force to build a dedicated version for the Apple M1 architecture - all other library won't work, especially concerning PHP GD installation and configuration.

Available to let you test different option on my machine,

Yohann

[Security] Workflow main-ci.yaml is using vulnerable action actions/checkout

The workflow main-ci.yaml is referencing action actions/checkout using references v1. However this reference is missing the commit a6747255bd19d7a757dbdda8c654a9f84db19839 which may contain fix to the some vulnerability.
The vulnerability fix that is missing by actions version could be related to:
(1) CVE fix
(2) upgrade of vulnerable dependency
(3) fix to secret leak and others.
Please consider to update the reference to the action.

Elastic Search for Enterprise ONLY

Q A
Bug report? no
Feature request? yes
BC Break report? no
Environment Linux, Mac

eZ Platform 3.x has now ElasticSearch in the EE version.

The launchpad wizard should be updated to propose ElasticSearch OR Solr when on Enterprise.

  • Update the Wizard
  • Do the Docker config
  • Do the recipe for install
  • Tests

Init Solr Core not created

Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? yes
Version x.y.z
Environment Linux

A fresh install of ezlaunchpad and a new init of ezplatform results in a solr collection error.

I've noticed that this happens off and on. See #61 .travis failure for example.

I believe this may have something to do with permissions. Ref #55

Solr is running

Creating new core 'collection1' using command:
http://localhost:8983/solr/admin/cores?action=CREATE&name=collection1&instanceDir=collection1


ERROR: Error CREATEing SolrCore 'collection1': Could not create a new core in /ezsolr/server/ez/collection1as another core is already defined there

Core collection1 created.
Solr is running
Re-indexing started for search engine: eZ Platform Solr Search Engine

Purging index...
Re-Creating index for 13 items across 1 iteration(s), using single (current) process:
 0/1 [>---------------------------]   0%08:07:10 ERROR     [console] Error thrown while running command "--env=prod ezplatform:reindex". Message: "Wrong HTTP status received from Solr: 404 on http://solr:8983/solr/collection1\nEzSystems\EzPlatformSolrSearchEngine\Gateway\Endpoint::__set_state(array(\n   'scheme' => 'http',\n   'user' => NULL,\n   'pass' => NULL,\n   'host' => 'solr',\n   'port' => 8983,\n   'path' => '/solr',\n   'core' => 'collection1',\n))\nEzSystems\EzPlatformSolrSearchEngine\Gateway\Message::__set_state(array(\n   'headers' => \n  array (\n    'version' => '1.1',\n    'status' => 404,\n    'Cache-Control' => 'must-revalidate,no-cache,no-store',\n
...
..
.

Add a new command init_ibexa

Q A
Feature request? yes
Version 3.3.x
Environment Mac

Add a new command init_ibexa to initialize a new ibexa 3.3.x project

Dynamic Host Variables

Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? yes
Version
Environment Linux/Mac/Windows

Would be nice to include more local cache directories i.e. ".npm" the same way .composer is handled. Instead of hard coding .composer it could be included dynamically. Essentially create a dynamic array of variables based on the global.yml file.

Error while mounting NFS volume

Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Version f62c16d583bb7e483366cf6e5a99aa721c118638
Environment Mac

After executing the ~/ez init command, the containers are well created but the following error appear:

Recreating richardez_engine_1 ... error

ERROR: for richardez_engine_1  Cannot start service engine: error while mounting volume '/var/lib/docker/volumes/richardez_nfsmount/_data': error while mounting volume with options: type='nfs' device=':/Users/richard/dev/aad/ez/' o='addr=host.docker.internal,lock': connection refused

ERROR: for engine  Cannot start service engine: error while mounting volume '/var/lib/docker/volumes/richardez_nfsmount/_data': error while mounting volume with options: type='nfs' device=':/Users/richard/dev/aad/ez/' o='addr=host.docker.internal,lock': connection refused
ERROR: Encountered errors while bringing up the project.

In Process.php line 239:

  The command "docker-compose -p richardez -f /Users/richard/dev/aad/ez/provisioning/dev/docker-compose.yml -f /Users/richard/dev/aad/ez/provis
  ioning/dev/docker-compose-osx.yml up -d" failed.

  Exit Code: 1(General error)

  Working directory: /Users/richard/dev/aad/ez

  Output:
  ================


  Error Output:
  ================

Docker for Mac 18.06.1-ce-mac73 (26764)
MacOS 10.13.6

Remove support for PHP5.6

What do you think @andrerom

Do we need to provide the support for 5.6?
We are talking about the PHP version useful for the CLI of eZ Launchpad, not for eZ Platform.

Removing PHP 5.6 support would allow us to:

  • move to Symfony 4.1
  • use strong type hint
  • speed Travis

Actually, the question is for everybody, I feel like since OSX ships 7.1 by default, we could/should.

?

Solr Permissions Bug

Q A
Bug report? yes
Environment Linux

Solr Container contains permissions issue when running ez create.

Solr is unable to create the new data directory inside /ezsolr/server/ez/collection1

Check if docker is alive before starting "init" wizard

Q A
Bug report? yes, or rather DX improvment
Feature request? no
BC Break report? no
RFC? no
Version x.y.z
Environment Mac/Windows

To avoid having to redo all steps if you forget to start docker server.

Probably most relevant for Windows and Mac, as this can happen if Docker server/app is stopped/paused.

Unsure which command is best to check against, but here is one possible:

$ docker system info
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

ERROR: Solr: invalid port specification: "65983"

Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Version 1.4.5
Environment Mac

It seems the limit for the TCP port prefix should be between 1 and 64.

With this option:

What is the TCP Port Prefix you want? [42]:
> 65

I had this error

ERROR: for solr  Cannot create container for service solr: invalid port specification: "65983"
ERROR: Encountered errors while bringing up the project.

clear prod cache via sf shortcut broken

Q A
Bug report? yes
Feature request? no
BC Break report? yes/no
RFC? yes/no
Version x.y.z
Environment Linux

I can clear my cache via ez sf cache:clear & ez sf cache:clear --env=dev however when trying to clear the prod env cache I get a [ERROR] Your are not in a folder managed by eZ Launchpad. when running ez sf cache:clear --env=prod

Not a deal breaker, I can ez enter -> cd project/ezplatform -> bin/console cache:clear --env=prod but the ez sf shortcut is supper nice to have :)

max_allowed_packet error

Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Version x.y.z
Environment Mac/Windows

I get a Communication link failure: 1153 Got a packet bigger than 'max_allowed_packet'

How can i Increese max_allowed_packet

Kind regards

Peter

Error on "defaults" command execution in Ubuntu

This line is causing 2 issues here (Ubuntu 16.04):

  • New package requirement: gnustep-base-runtime to have "defaults" command available
  • After that installed, every launchpad execution we're getting: defaults read: couldn't read default

if (exec('defaults read loginwindow SystemVersionStampAsString', $output, $returnCode)) {

Don't know if in modern Ubuntu releases is also happening.

Thanks!

Missing containers in ez info

Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? no
Version
Environment Linux/Mac/Windows

I replaced adminer with phpmyadmin and ez info isn't smart enough to pick up this change. It would be nice if ez info would be able to dynamically pick up additional containers added to the current project.

Varnish not working on Apple M1

Q A
Bug report? Maybe
Feature request? If its not a bug...yes
Version 1.9.1
Environment Mac (M1)

I try to get ezlaunchpad running on an Apple M1 and I am aware that Docker is not yet completely "M1 ready".
However I think this issue is not related to the Docker compatibility.

Varnish instantly crashes

varnish_1      | Error:
varnish_1      | Running VCC-compiler failed, signal 5
varnish_1      | VCL compilation failed

I think this might be related to Varnish not yet providing ARM packages

Improve the documentation

Documentation is harder to update because we did it "multilingual"

  • Do you think that is useful? I could be full English and would simplify the addition etc.

  • Doc for Blackfire usage/config

  • Doc for MySQL usage/config

  • Doc for X-Debug usage/config

More, other ideas for the doc?

Incorrect env variable: symfony_tmp_dir

Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Version latest
Environment Linux

In ez engine container, environment variable SYMFONY_TMP_DIR has a typo. /tmp/ezplatormcache/var/cache/dev

I'm not sure if this is causing any issues with ez sf cache:clear by not emptying the cache folder.

I've been running bin/console inside the engine container to work around this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.