Code Monkey home page Code Monkey logo

Comments (9)

przemyslawlis avatar przemyslawlis commented on August 18, 2024

Can you please check the logs and see what is the error message on 500 response?

from concerto-platform.

foolswood avatar foolswood commented on August 18, 2024

I've got errors about being unable to open the log:

[Tue Apr 05 17:41:24.791407 2016] [:error] [pid 26247] [] PHP Fatal error: Uncaught exception 'UnexpectedValueException' with message 'The stream or file "/var/www/html/concerto-platform/app/logs/prod.log" could not be opened: failed to open stream: Permission denied' in /var/www/html/concerto-platform/app/cache/prod/classes.php:5945\nStack trace:\n#0 /var/www/html/concerto-platform/app/cache/prod/classes.php(5883): Monolog\Handler\StreamHandler->write(Array)\n#1 /var/www/html/concerto-platform/app/cache/prod/classes.php(6054): Monolog\Handler\AbstractProcessingHandler->handle(Array)\n#2 /var/www/html/concerto-platform/app/cache/prod/classes.php(6363): Monolog\Handler\FingersCrossedHandler->handle(Array)\n#3 /var/www/html/concerto-platform/app/cache/prod/classes.php(6470): Monolog\Logger->addRecord(500, 'Uncaught PHP Ex...', Array)\n#4 /var/www/html/concerto-platform/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/ExceptionListener.php(89): Monolog\Logger->critical('Uncaught PHP Ex...', Array)\n#5 /var/www/html/concerto-platform/vendor/symfony/symfony/src/Symfony/Comp in /var/www/html/concerto-platform/app/cache/prod/classes.php on line 5945
ubuntu:$ less /var/log/apache2/error.log
ubuntu:
$ grep error /var/log/apache2/error.log
[Tue Apr 05 17:33:30.719174 2016] [:error] [pid 25888] [] PHP Fatal error: Uncaught exception 'RuntimeException' with message 'Unable to create the cache directory (/var/www/html/concerto-platform/app/cache/prod)\n' in /var/www/html/concerto-platform/app/bootstrap.php.cache:2682\nStack trace:\n#0 /var/www/html/concerto-platform/app/bootstrap.php.cache(2643): Symfony\Component\HttpKernel\Kernel->buildContainer()\n#1 /var/www/html/concerto-platform/app/bootstrap.php.cache(2422): Symfony\Component\HttpKernel\Kernel->initializeContainer()\n#2 /var/www/html/concerto-platform/app/bootstrap.php.cache(2453): Symfony\Component\HttpKernel\Kernel->boot()\n#3 /var/www/html/concerto-platform/web/app.php(23): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request))\n#4 {main}\n thrown in /var/www/html/concerto-platform/app/bootstrap.php.cache on line 2682
[Tue Apr 05 17:41:24.781467 2016] [:error] [pid 26247] [] PHP Warning: SessionHandler::read(): open(/var/www/html/concerto-platform/app/cache/prod/sessions/sess_gn5i0jp1oupm5q0ur22tbep9t0, O_RDWR) failed: Permission denied (13) in /var/www/html/concerto-platform/app/cache/prod/classes.php on line 417
[Tue Apr 05 17:41:24.791407 2016] [:error] [pid 26247] [] PHP Fatal error: Uncaught exception 'UnexpectedValueException' with message 'The stream or file "/var/www/html/concerto-platform/app/logs/prod.log" could not be opened: failed to open stream: Permission denied' in /var/www/html/concerto-platform/app/cache/prod/classes.php:5945\nStack trace:\n#0 /var/www/html/concerto-platform/app/cache/prod/classes.php(5883): Monolog\Handler\StreamHandler->write(Array)\n#1 /var/www/html/concerto-platform/app/cache/prod/classes.php(6054): Monolog\Handler\AbstractProcessingHandler->handle(Array)\n#2 /var/www/html/concerto-platform/app/cache/prod/classes.php(6363): Monolog\Handler\FingersCrossedHandler->handle(Array)\n#3 /var/www/html/concerto-platform/app/cache/prod/classes.php(6470): Monolog\Logger->addRecord(500, 'Uncaught PHP Ex...', Array)\n#4 /var/www/html/concerto-platform/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/ExceptionListener.php(89): Monolog\Logger->critical('Uncaught PHP Ex...', Array)\n#5 /var/www/html/concerto-platform/vendor/symfony/symfony/src/Symfony/Comp in /var/www/html/concerto-platform/app/cache/prod/classes.php on line 5945
[Tue Apr 05 17:41:24.795609 2016] [:error] [pid 26247] [] PHP Warning: SessionHandler::write(): open(/var/www/html/concerto-platform/app/cache/prod/sessions/sess_gn5i0jp1oupm5q0ur22tbep9t0, O_RDWR) failed: Permission denied (13) in /var/www/html/concerto-platform/app/cache/prod/classes.php on line 421

from concerto-platform.

przemyslawlis avatar przemyslawlis commented on August 18, 2024

Seems like permission issue. I would guess that the cache has been created while doing something as root, and it's now not readable by your web server user. Clearing your cache should solve your problem. Remove all subdirectories in your app/cache directory. Please let me know if that helped.

from concerto-platform.

foolswood avatar foolswood commented on August 18, 2024

My apologies, that error was non fatal and the log was opened:

[2016-06-29 14:14:02] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\NotNullConstraintViolationException: "An exception occurred while executing 'INSERT INTO TestNode (type, posX, posY, updated, created, tags, flowTest_id, sourceTest_id, updatedBy_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)' with params ["0", null, null, "2016-06-29 14:14:02", "2016-06-29 14:14:02", "", 33, 12, null]: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'posX' cannot be null" at /var/www/html/concerto-platform/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 112 {"exception":"[object](Doctrine\DBAL\Exception\NotNullConstraintViolationException%28code: 0%29: An exception occurred while executing 'INSERT INTO TestNode %28type, posX, posY, updated, created, tags, flowTest_id, sourceTest_id, updatedBy_id%29 VALUES %28?, ?, ?, ?, ?, ?, ?, ?, ?%29' with params ["0", null, null, "2016-06-29 14:14:02", "2016-06-29 14:14:02", "", 33, 12, null]:nnSQLSTATE[23000]: Integrity constraint violation: 1048 Column 'posX' cannot be null at /var/www/html/concerto-platform/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:112, Doctrine\DBAL\Driver\PDOException%28code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'posX' cannot be null at /var/www/html/concerto-platform/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:93, PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'posX' cannot be null at /var/www/html/concerto-platform/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:91)"} []

from concerto-platform.

foolswood avatar foolswood commented on August 18, 2024

Unfortunately clearing the cache didn't help.

from concerto-platform.

przemyslawlis avatar przemyslawlis commented on August 18, 2024

How did you tried to add a new node? Did you tried to do it manually by creating POST request, or have you tried to do it by right clicking on the flowchart and selecting a new node to insert?
What browser are you using?

from concerto-platform.

foolswood avatar foolswood commented on August 18, 2024

Trying to do it via the right click menu. Firefox.

from concerto-platform.

przemyslawlis avatar przemyslawlis commented on August 18, 2024

Is it possible for me to get an access to your panel and see it reproduced? Can you send me an access details to [email protected]?

from concerto-platform.

przemyslawlis avatar przemyslawlis commented on August 18, 2024

Fixed in 2225b3e - closing.

from concerto-platform.

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.