Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Gullit Miranda
    @gullitmiranda
    It is possible, we just need to identify the best way to do this.
    It will be much easier to control it when azk support plugins.
    If you can contribute to this improvement will be very interesting.
    Vytenis
    @FDiskas
    I'm not a smart guy with node knowledge
    Gullit Miranda
    @gullitmiranda
    you can do the checks on the main rule and then add the provisions and mounts the main suggestion.
    Vytenis
    @FDiskas
    why this is mounted? '/azk/#{manifest.dir}/composer.phar': persistent("./composer.phar"), .phar is not a directory :/
    Gullit Miranda
    @gullitmiranda
    then you can at least open an issue 😁
    Vytenis
    @FDiskas
    :)
    Gullit Miranda
    @gullitmiranda
    The mounts also supports files.
    Slobodan Mišković
    @slobo
    is it possible to enlarge the VM disk size in OSX, or at least set it to bigger size on creation?
    i tried VBoxManage modifymedium ~/.azk/data/vm/azk-agent.vmdk.link --resize 50000
    but got VBoxManage: error: Resize medium operation for this format is not implemented yet!
    I take it this is since it's in VMDK instead of VDI format?
    Slobodan Mišković
    @slobo
    seems so, found solution on stackoverflow, requires cloning the disk
    Gullit Miranda
    @gullitmiranda
    Yes.It is the same that I see.
    I asked @fearenales join the conversation as he went about doing several tests on disk optimization.
    Felipe Arenales Santos
    @fearenales
    @slobo It was a poor design decision on early days. We're aware of how using VDI format is better than using VMDK, and it's in our backlog to migrate from the former to the latter.
    For now, if you can handle the issue by cloning and increasing the disk size, would be great. We apologize for any inconvenience.
    Slobodan Mišković
    @slobo
    :D
    Slobodan Mišković
    @slobo
    ok, found where all the space is going to, cleaning up all terminated containers released 7GB
    docker ps -a | grep Exited | awk '{print $1}' | xargs docker rm
    i thought when starting containers that azk does docker run --rm, any idea how come all these containers get accumulated? Is it something with my dockerfiles, or how I'm starting/stopping them?
    Gullit Miranda
    @gullitmiranda
    Yes @slobo . The ask removes the containers it creates. Can be your Dockerfiles. When you have accumulated more containers to send the list before you remove them so we analyze. Maybe we're missing something.
    I recommend taking a look in this cheat sheet:
    https://gist.github.com/gullitmiranda/d5e322cdf473a8dddf14
    Slobodan Mišković
    @slobo
    here's a few from another sever:
    9723a37055a6        azkbuild/453ddcdfe6-index-worker:ddb5107c94245ab7da84b9d17d2d145b3754b099       "/bin/bash -c '/bin/s"   3 weeks ago         Exited (137) 2 weeks ago                                                                                        dev.azk.io_type.daemon_mid.453ddcdfe6_sys.index-worker_seq.1_uid.033c28e08e
    20b51db79948        azkbuild/453ddcdfe6-index-worker-ocr:ddb5107c94245ab7da84b9d17d2d145b3754b099   "bash -c '/bin/sh -c "   3 weeks ago         Exited (137) 2 weeks ago                                                                                        dev.azk.io_type.daemon_mid.453ddcdfe6_sys.index-worker-ocr_seq.1_uid.0261a7608e
    f2a33ebf1bea        2d03ce9f4067                                                                    "/azk-entrypoint.sh p"   3 weeks ago         Exited (0) 2 weeks ago                                                                                          dev.azk.io_type.daemon_mid.453ddcdfe6_sys.aws-rds-postgres_seq.1_uid.017524808e
    07196cad0bb6        library/memcached:1.4.24                                                        "/entrypoint.sh memca"   3 weeks ago         Exited (0) 2 weeks ago                                                                                          dev.azk.io_type.daemon_mid.453ddcdfe6_sys.aws-elasticache-node-1_seq.1_uid.ffcbe1508e
    74af14ac8c35        library/memcached:1.4.24                                                        "/entrypoint.sh memca"   3 weeks ago         Exited (0) 2 weeks ago                                                                                          dev.azk.io_type.daemon_mid.453ddcdfe6_sys.aws-elasticache-node-2_seq.1_uid.fe5917708e
    b6a2597cc557        schickling/mailcatcher:latest                                                   "mailcatcher -f --ip="   3 weeks ago         Exited (0) 2 weeks ago                                                                                          dev.azk.io_type.daemon_mid.453ddcdfe6_sys.mail_seq.1_uid.fca96ba08e
    ed7fb36bd477        makuk66/docker-solr:5.2.1                                                       "/bin/bash -c '/opt/s"   3 weeks ago         Exited (137) 2 weeks ago                                                                                        dev.azk.io_type.daemon_mid.453ddcdfe6_sys.solr-drupal-1_seq.1_uid.f97235708e
    there are a few hundred entries like that. sometimes we shutdown -r that server, and we don't do azk stop or azk agent stop, so maybe that leaves stuff hanging?
    Gullit Miranda
    @gullitmiranda
    yes. it’s the problem :(
    Slobodan Mišković
    @slobo
    anyways, it's no biggie for me now that I've seen it, i just add a cronjob to clean exited stuff :)
    Gullit Miranda
    @gullitmiranda
    yes. there are even GC (garbage collector) to make cleaning containers and images of docker.
    open an issue of it, as this related to azk clean.
    Vytenis
    @FDiskas
    Can't make it work. Please could you check what I'm doing wrong here?
    mysql is running, php is running, phpmyadmin is running, but can't connect to database
    Vytenis
    @FDiskas
    I tryed this as workarownd https://github.com/azukiapp/azk/issues/569#issuecomment-159260217 and it worked. Looks like on every PC restart I need to do that again and again
    Gullit Miranda
    @gullitmiranda
    @FDiskas which one works, the dnsmasq or firewall?
    Vytenis
    @FDiskas
    Firewall probably
    I executed them both
    Gullit Miranda
    @gullitmiranda
    I understand. I think we have documented how to resolve this problem.
    try:
    sudo firewall-cmd --permanent --zone=public --add-port=53/udp
    sudo systemctl restart firewalld
    Vytenis
    @FDiskas
    thanks.
    got another question, azk shell and then bower install --allow-root all files that was created by bower is unaccessable. How can I shell in to the container with no root?
    that all created files would be accessable my my in the host
    Gullit Miranda
    @gullitmiranda

    in theory the assets generated by the bower should not change over, that is, they do not need to be on your hosts.

    As in docker, everything is root, files are generated as a property of the root user. You change the user's access on your machine or use a custom Dockerfile with a user with the same ID for your.

    Vytenis
    @FDiskas
    But if I try to include them in index.html they are not accessable to. Browser displays them as 404
    Its not a big issue, but...
    Gullit Miranda
    @gullitmiranda
    you use apache or nginx?
    Vytenis
    @FDiskas
    apache
    This message was deleted
    I mean - I cant add custom htaccess file to the project
    allow rewrite all must be enabled
    sorry for my bad english :)
    Gullit Miranda
    @gullitmiranda
    apache you are using allows you to access the root files?
    image azukiapp was changed to be able to do that.
    Vytenis
    @FDiskas
    for example I'm making single page app with angular, and I cant make that all requested urls go to index page
    I'm using this "azukiapp/php-fpm:5.6"
    Gullit Miranda
    @gullitmiranda

    then this should not be a problem :(

    I will have to search a bit more about it. This problem happens with that demo application you sent?