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

Devilbox Release v1.0.0 #416

Merged
merged 11 commits into from
Mar 19, 2019
Merged

Devilbox Release v1.0.0 #416

merged 11 commits into from
Mar 19, 2019

Conversation

cytopia
Copy link
Owner

@cytopia cytopia commented Nov 6, 2018

Devilbox Release v1.0.0

READFIRST

This branch is constantly being rebased from master until final merge, therefore requires git force pushing. So how to update changes from this branch:

# Receive new commits
git fetch --all --prune

# Delete release/v1.0.0 branch
git checkout master
git branch -D release/v1.0.0

# Checkout release/v1.0.0 again
git checkout release/v1.0.0
git pull origin release/v1.0.0

Then you will have to ensure to remove container before starting them up again:

docker-compose stop
docker-compose rm
docker-compose up

IMPORTANT

When using this branch, you will loose all you current data for MySQL, PostgreSQL and MongoDB, so ensure to make a backup first.

Once you have backed up everything, start the Devilbox from this branch and import your data.


DOCUMENTATION

Documentation for this release is available here: https://devilbox.readthedocs.io/en/release-v1.0.0/

DESCRIPTION

This will be the first stable release of the Devilbox.

Features

PR's:

Issues:

Notable readings

@cytopia cytopia self-assigned this Nov 6, 2018
@cytopia cytopia changed the title Devilbox release v1.0 Devilbox release v1.0.0 Nov 6, 2018
@cytopia cytopia changed the title Devilbox release v1.0.0 Devilbox Release v1.0.0 Nov 6, 2018
@llaville
Copy link
Contributor

llaville commented Nov 6, 2018

What a good new !
BTW, could you envisage to use this changelog format

@cytopia
Copy link
Owner Author

cytopia commented Nov 6, 2018

@llaville thanks for the info. I've altered it to their standard.

@vikas5914
Copy link
Contributor

Hi, I am trying this branch and getting this error:

Recreating devilbox_bind_1 ... error

ERROR: for devilbox_bind_1  Cannot start service bind: driver failed programming external connectivity on endpoint devilbox_bind_1 (0cca32e8f31ea237b52a7257a1d84276f3d3376f1a6ba4f304f3598a418d1eab): Error starting userland proxy: Bind for 0.0.0.0:1050: unexpected error Permission denied

ERROR: for bind  Cannot start service bind: driver failed programming external connectivity on endpoint devilbox_bind_1 (0cca32e8f31ea237b52a7257a1d84276f3d3376f1a6ba4f304f3598a418d1eab): Error starting userland proxy: Bind for 0.0.0.0:1050: unexpected error Permission denied
ERROR: Encountered errors while bringing up the project.

I have deleted all the images, container , volumes.

I have also checked if the port is in used (There are not)

But changing the DNS port to 53 works.

@vikas5914
Copy link
Contributor

@cytopia I tried 1050, 1051, 1052 and 1049 ports. Same result. (on 12th Feb)

@az09asdf
Copy link

@cytopia

  1. tried to reproduce error: now it's gone (false alarm; sorry; cannot remember error message)
  2. still the same: change to 0.30 prevents access to the devilbox site (the same for 0.15 version)
    (It's probably irrelevant, by I'm using somewhat specific setup: I'm working in Windows (coding, git, browsers) and using devilbox on an ubuntu 18.04 server virtual machine. However, never had such an issue before.)

@cytopia
Copy link
Owner Author

cytopia commented Mar 12, 2019

@az09asdf I have a strong feeling that this might have been related to a Nginx configuration change. Do you get an error like this: nginx: [emerg] "client_max_body_size" directive is duplicate in /etc/httpd-custom.d/devilbox-custom.conf:1 via Docker logs?

@cytopia
Copy link
Owner Author

cytopia commented Mar 12, 2019

@vikas5914 one thing I can suggest is to fully clean everything:

# Stop Devilbox and remove its stopped container
docker-compose stop
docker-compose rm -f
# Stop and remove all other container
docker ps -q | xargs docker stop
docker ps -qa | xargs docker rm

Then make sure that your .env file equals to the new env-example.
Also ensure there is for sure nothing else listening on UDP for that port.
And start Devilbox again.

@az09asdf
Copy link

@cytopia

Commenting client_max_body_size in my custom nginx.conf solved the issue.

  1. do you know how to set client_max_body_size for 0.30 ?
  2. couldn't find the error you suggested: "via Docker logs" means devilbox/log/nginx-stable/ ?

@cytopia
Copy link
Owner Author

cytopia commented Mar 12, 2019

@cytopia

Commenting client_max_body_size in my custom nginx.conf solved the issue.

  1. do you know how to set client_max_body_size for 0.30 ?
  2. couldn't find the error you suggested: "via Docker logs" means devilbox/log/nginx-stable/ ?

Yes you can still overwrite this value if you are on a different context: http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size

It currently has been set on the http context and you would need the server or location context to change this value. This can be achieved via custom vhost settings:

The actual issue that has information on why this was set (to 0 to be in sync with Apache 2.(2|4)) is here: #356

@cytopia
Copy link
Owner Author

cytopia commented Mar 16, 2019

I will postpone the planned merge until the current issues for Mac and MySQL are investigated. I would rather prioritize stability over features.

@vikas5914
Copy link
Contributor

@cytopia

I removed everything (images, volume, network and Devil) and tried again, it worked.

dvlbot
dvlbot previously approved these changes Mar 18, 2019
@cytopia
Copy link
Owner Author

cytopia commented Mar 18, 2019

@vikas5914 just in time :-)

The freeze is removed, issue in question (#542) has been resolved

dvlbot
dvlbot previously approved these changes Mar 18, 2019
@cytopia cytopia removed the WIP label Mar 18, 2019
@cytopia cytopia merged commit 3cbbdb3 into master Mar 19, 2019
@cytopia cytopia deleted the release/v1.0.0 branch March 19, 2019 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants