Code Monkey home page Code Monkey logo

Comments (10)

bravo-kernel avatar bravo-kernel commented on July 21, 2024

@dereuromark did I include phpmyadmin in the default set of applications? If so, this should not be too difficult to implement. I will investigate once I find some time.

from cakebox.

dereuromark avatar dereuromark commented on July 21, 2024

Low prio, yeah.

from cakebox.

bravo-kernel avatar bravo-kernel commented on July 21, 2024

To make sure I provisioned a fresh box and even though phpmyadmin is used as an example in the docs... phpmyadmin is not included by default so auto-patching is outside of this repo's responsibility.

There two ways I verified are:

  1. Running this command inside the box does not produce any results:

    apt list --installed | grep admin
  2. There are no packages in the extra section of the default Cakebox.yaml file. See line https://github.com/alt3/cakebox/blob/dev/Cakebox.yaml.default#L38

from cakebox.

bravo-kernel avatar bravo-kernel commented on July 21, 2024

Could it be phpmyadmin was re-provisioning using your customized Cakebox.yaml?

from cakebox.

dereuromark avatar dereuromark commented on July 21, 2024

Either way, any new app added via "application add" will also have the outdated line in the generated /sites-available/ file.. Always needs manual fixing afterwards.

from cakebox.

dereuromark avatar dereuromark commented on July 21, 2024

We should reopen
Even after removing all nginx files, fresh 7.1 and then reload --provision
we still have the issue of the php5 part in there.

Always need to run

sed -i 's|/var/run/php5-fpm.sock|/var/run/php/php7.1-fpm.sock|g' file.local

afterwards on those files :/

from cakebox.

bravo-kernel avatar bravo-kernel commented on July 21, 2024

Happy to reopen. Can you explain what the issue is/is causing then? There are no php5 pointers in any of the directories that seem relevant:

  • grep -rn '/etc/nginx/' -e 'php5'
  • grep -rn '/cakebox/' -e 'php5'

from cakebox.

dereuromark avatar dereuromark commented on July 21, 2024

I wonder where they come from then, the sites-available/ dir is empty, after reload the files contain the php5 parts.

We should also increase the client_max_body_size, e.g. adding

client_max_body_size 32M;

inside server{} block by default

PS: I am on the latest dev-dev branch.

from cakebox.

dereuromark avatar dereuromark commented on July 21, 2024

I still face this issue with a complete freshly installed php7.2 from master today.
It creates files with the above 5.x reference, I need to use

sed -i 's|/var/run/php5-fpm.sock|/var/run/php/php7.2-fpm.sock|g' file.local

or manually adjust to make it work.

from cakebox.

bravo-kernel avatar bravo-kernel commented on July 21, 2024

Closing as I cannot reproduce. A fresh box produces the expected:

fastcgi_pass    unix:/var/run/php/php7.2-fpm.sock;

from cakebox.

Related Issues (20)

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.