jmueller17 / Aixada

Aixada helps self-managed consumption cooperatives to organize their flow of products, money, and information.
Other
33 stars 37 forks source link

axiada + ubuntu 16.04 + php 7.0 -- roles/users errors #207

Closed thewaywest closed 5 years ago

thewaywest commented 8 years ago

When migrating to a new server, we created an exact copy of our instance of Aixada. Source Ubutnu 14.04 + Nginx + PHP 5.x, target Ubuntu 14.04 + Nginx + PHP 7.x. We copied the /var/www/aixada directory and database verabtim.

It spins up and mostly runs fine. Problems, however, exist:

I have checked every log I could find, including the aixada logs (empty) and system logs (nothing relevant).

Any thoughts or direction for further tests would be appreciated! We are on line, but insecure.

jorix commented 8 years ago

Oops! AFAIK for now Aixada 1.x is not tested on PHP 7.x
(the work is pending...)

thewaywest commented 8 years ago

Oops. An oversight, and we're already in production. It might be easier for us to fix PHP 7 issues than to rebuild from scratch. Is there any way we can help the process along? Not sure how to debug...


This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

jorix commented 8 years ago

Miraré a ver qué puedo hacer...

Cuando esté en casa montaré un Php 7 para reproducir los errores en desarrollo y cuando tenga algo voy informando.

El 29/07/2016 19:26, "thewaywest" notifications@github.com escribió:

Oops. An oversight, and we're already in production. It might be easier for us to fix PHP 7 issues than to rebuild from scratch. Is there any way we can help the process along? Not sure how to debug...


This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jmueller17/Aixada/issues/207#issuecomment-236241447, or mute the thread https://github.com/notifications/unsubscribe-auth/ABDGDmfv1s1uiyVM0vZ3yulFBJdlmxrdks5qajfLgaJpZM4JYIsF .

thewaywest commented 8 years ago

Gracias, Xavi. No stress: tenemos demandes mañana, entonces decimos subir una máquina virtual nueva c Trusty.

Se encuentras algo fácil, estoy trabajando hoy para tener algo funcionando -- lo más rápido preferido :)

Mark

On Jul 30, 2016, at 09:53, Xavier Mamano notifications@github.com wrote:

Miraré a ver qué puedo hacer...

Cuando esté en casa montaré un Php 7 para reproducir los errores en desarrollo y cuando tenga algo voy informando.

El 29/07/2016 19:26, "thewaywest" notifications@github.com escribió:

Oops. An oversight, and we're already in production. It might be easier for us to fix PHP 7 issues than to rebuild from scratch. Is there any way we can help the process along? Not sure how to debug...


This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jmueller17/Aixada/issues/207#issuecomment-236241447, or mute the thread https://github.com/notifications/unsubscribe-auth/ABDGDmfv1s1uiyVM0vZ3yulFBJdlmxrdks5qajfLgaJpZM4JYIsF .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

jorix commented 8 years ago

@thewaywest : Localizado!

La herramienta utilizada por Aixada para generar PDF tiene diversos puntos de incompatibilidad con PHP-7.

Desactivar la herramienta mPdf para salir del apuro:

Propuesta definitiva: Dejar de soportar "Descargar PDF" para PHP-7 o en general.

@jmueller17 : ¿Qué solución ves mejor?

  1. la radical de quitar php/external/mpdf54 y quitar la opción del desplegable "Descargar PDF" en las dos páginas mencionadas. Yo soy partidario de esta, ya que actualmente solo dos de los informes ofrecen la opción de PDF y la cosa quedará limpia y coherente.
  2. la suave de desactivar las opción solo para servidores con PHP-7.
  3. Que alguien que no sea yo se dedique a probar nuevas versiones de mPdf
thewaywest commented 8 years ago

@jorix : gracias!

acutalmente vivo c/ Trusty downgrade php5, quedamos allá. Todos estan de vacaciones ahora, pero voy a mencionar la propuesta de quitar relatos PDF... creo yo, no usamos, pero no tengo experiencia suficiente para dar mi opinion.

Creo yo: opción dos es mejor para el codestream. Si hay mucho interese en relatos PDF, alguien va a investigar y solucionar para nosotros (quien sabe, un futuro yo?).

jorix commented 5 years ago

La reflexión segue en #234

jorix commented 5 years ago

Resuelto en master!!
( con #248 y #249 )

jmueller17 commented 5 years ago

Thank you!!