Describe the bug
The serve command is not working as expected. The log isn't showing any error except some deprecation warnings. For the test, I was running php (8.1) - no container.
To reproduce
- cecil new:site
- Give a title, rest confirm with enter
- cecil serve
- Open your browser on localhost:8000 you'll get a http status code 500 in the dev tools
Expected behavior
Expecting a running development server with hot reload etc.
Version
7.28.1
Operating System
Linux (openSUSE)
Relevant log output
cecil serve -vvv
Box Requirements Checker
========================
> Using PHP 8.1.13
> PHP is using the following php.ini file:
/etc/php8/cli/php.ini
> Checking Box requirements:
β The application requires the version "^7.4||^8.0||^8.1" or greater.
β The application requires the extension "fileinfo".
β The package "intervention/image" requires the extension "fileinfo".
β The package "spatie/image-optimizer" requires the extension "fileinfo".
β The application requires the extension "gd".
β The package "matthiasmullie/minify" requires the extension "pcre".
β The package "matthiasmullie/path-converter" requires the extension "pcre".
β The package "myclabs/php-enum" requires the extension "json".
β The package "scrivo/highlight.php" requires the extension "json".
β The package "scssphp/scssphp" requires the extension "json".
β The package "nikic/php-parser" requires the extension "tokenizer".
β The package "voku/html-min" requires the extension "dom".
β The package "voku/simple_html_dom" requires the extension "dom".
β The package "voku/simple_html_dom" requires the extension "libxml".
β The package "voku/simple_html_dom" requires the extension "simplexml".
[OK] Your system is ready to run the application.
Process: /usr/bin/php /home/benjamin/.local/bin/cecil build --config /home/benjamin/dev/demo/demo/config.yml -vvv
Box Requirements Checker
========================
> Using PHP 8.1.13
> PHP is using the following php.ini file:
/etc/php8/cli/php.ini
> Checking Box requirements:
β The application requires the version "^7.4||^8.0||^8.1" or greater.
β The application requires the extension "fileinfo".
β The package "intervention/image" requires the extension "fileinfo".
β The package "spatie/image-optimizer" requires the extension "fileinfo".
β The application requires the extension "gd".
β The package "matthiasmullie/minify" requires the extension "pcre".
β The package "matthiasmullie/path-converter" requires the extension "pcre".
β The package "myclabs/php-enum" requires the extension "json".
β The package "scrivo/highlight.php" requires the extension "json".
β The package "scssphp/scssphp" requires the extension "json".
β The package "nikic/php-parser" requires the extension "tokenizer".
β The package "voku/html-min" requires the extension "dom".
β The package "voku/simple_html_dom" requires the extension "dom".
β The package "voku/simple_html_dom" requires the extension "libxml".
β The package "voku/simple_html_dom" requires the extension "simplexml".
[OK] Your system is ready to run the application.
Building website...
Path: /home/benjamin/dev/demo/demo
Config: /home/benjamin/dev/demo/demo/config.yml
Cache: /home/benjamin/dev/demo/demo/.cache
1. Loading pages
[9/9] Files loaded
2. Creating pages
[1/9] Page "about" created
[2/9] Page "blog/post-1" created
[3/9] Page "blog/post-2" created
[4/9] Page "blog/post-3" created
[5/9] Page "blog/post-4" created
[6/9] Page "blog/post-5" created
[7/9] Page "blog/post-6" created
[8/9] Page "index" created
[9/9] Page "markdown" created
3. Converting pages
[1/9] Page "about" converted
[2/9] Page "blog/post-1" converted
[3/9] Page "blog/post-2" converted
[4/9] Page "blog/post-3" converted
[5/9] Page "blog/post-4" converted
[6/9] Page "blog/post-5" converted
[7/9] Page "blog/post-6" converted
[8/9] Page "index" converted
Asset "/favicon.c1af8a129a0cde81f9b94ffbf452e10b.png" saved
[9/9] Page "markdown" converted
4. Creating taxonomies
[1/2] Vocabularies collection created
[2/2] Terms collection created
5. Generating pages
[1/9] 5 "DefaultPages" pages generated
[2/9] 0 "VirtualPages" pages generated
[3/9] 0 "ExternalBody" pages generated
[4/9] 7 "Section" pages generated
[5/9] 3 "Taxonomy" pages generated
[6/9] 1 "Homepage" pages generated
[7/9] 4 "Pagination" pages generated
[8/9] 2 "Alias" pages generated
[9/9] 0 "Redirect" pages generated
6. Creating menus
[1/4] Page menu entry "main > about" created (weight: 999)
[2/4] Page menu entry "main > index" created (weight: 0)
[3/4] Page menu entry "main > markdown" created (weight: 500)
[4/4] Page menu entry "main > blog" created (weight: 100)
7. Copying static
[1/1] Files copied
8. Rendering pages
Translation loader for format "yaml" found
Translation loader for format "mo" found
Asset "/assets/thumbnails/32/favicon.c1af8a129a0cde81f9b94ffbf452e10b.png" saved
Asset "/assets/thumbnails/57/favicon.c1af8a129a0cde81f9b94ffbf452e10b.png" saved
Asset "/assets/thumbnails/76/favicon.c1af8a129a0cde81f9b94ffbf452e10b.png" saved
Asset "/assets/thumbnails/96/favicon.c1af8a129a0cde81f9b94ffbf452e10b.png" saved
Asset "/assets/thumbnails/128/favicon.c1af8a129a0cde81f9b94ffbf452e10b.png" saved
Asset "/assets/thumbnails/192/favicon.c1af8a129a0cde81f9b94ffbf452e10b.png" saved
Asset "/assets/thumbnails/228/favicon.c1af8a129a0cde81f9b94ffbf452e10b.png" saved
Asset "/assets/thumbnails/196/favicon.c1af8a129a0cde81f9b94ffbf452e10b.png" saved
Asset "/assets/thumbnails/120/favicon.c1af8a129a0cde81f9b94ffbf452e10b.png" saved
Asset "/assets/thumbnails/152/favicon.c1af8a129a0cde81f9b94ffbf452e10b.png" saved
Asset "/assets/thumbnails/180/favicon.c1af8a129a0cde81f9b94ffbf452e10b.png" saved
Asset "/assets/thumbnails/1200/cecil-card.c0bc77e003455fafeb15f3072e857d85.png" saved
[ 1/22] Page "about" rendered with template(s) "cecil:_default/page.html.twig"
Since symfony/intl 5.3: Polyfills are deprecated, try running "composer require symfony/polyfill-intl-icu ^1.21" instead.
Since symfony/intl 5.3: Polyfills are deprecated, try running "composer require symfony/polyfill-intl-icu ^1.21" instead.
Since symfony/intl 5.3: Polyfills are deprecated, try running "composer require symfony/polyfill-intl-icu ^1.21" instead.
[ 2/22] Page "blog/post-1" rendered with template(s) "site:blog/page.html.twig"
Since symfony/intl 5.3: Polyfills are deprecated, try running "composer require symfony/polyfill-intl-icu ^1.21" instead.
Since symfony/intl 5.3: Polyfills are deprecated, try running "composer require symfony/polyfill-intl-icu ^1.21" instead.
[ 3/22] Page "blog/post-2" rendered with template(s) "site:blog/page.html.twig"
Since symfony/intl 5.3: Polyfills are deprecated, try running "composer require symfony/polyfill-intl-icu ^1.21" instead.
Since symfony/intl 5.3: Polyfills are deprecated, try running "composer require symfony/polyfill-intl-icu ^1.21" instead.
[ 4/22] Page "blog/post-3" rendered with template(s) "site:blog/page.html.twig"
Since symfony/intl 5.3: Polyfills are deprecated, try running "composer require symfony/polyfill-intl-icu ^1.21" instead.
Since symfony/intl 5.3: Polyfills are deprecated, try running "composer require symfony/polyfill-intl-icu ^1.21" instead.
[ 5/22] Page "blog/post-4" rendered with template(s) "site:blog/page.html.twig"
Since symfony/intl 5.3: Polyfills are deprecated, try running "composer require symfony/polyfill-intl-icu ^1.21" instead.
Since symfony/intl 5.3: Polyfills are deprecated, try running "composer require symfony/polyfill-intl-icu ^1.21" instead.
[ 6/22] Page "blog/post-5" rendered with template(s) "site:blog/page.html.twig"
Since symfony/intl 5.3: Polyfills are deprecated, try running "composer require symfony/polyfill-intl-icu ^1.21" instead.
Since symfony/intl 5.3: Polyfills are deprecated, try running "composer require symfony/polyfill-intl-icu ^1.21" instead.
[ 7/22] Page "blog/post-6" rendered with template(s) "site:blog/page.html.twig"
[ 8/22] Page "index" rendered with template(s) "site:index.html.twig, cecil:_default/list.atom.twig"
[ 9/22] Page "markdown" rendered with template(s) "cecil:_default/page.html.twig"
[10/22] Page "404" rendered with template(s) "cecil:404.html.twig"
[11/22] Page "robots" rendered with template(s) "cecil:robots.txt.twig"
[12/22] Page "sitemap" rendered with template(s) "cecil:sitemap.xml.twig"
[13/22] Page "xsl/atom" rendered with template(s) "cecil:feed.xsl.twig"
[14/22] Page "xsl/rss" rendered with template(s) "cecil:feed.xsl.twig"
Since symfony/intl 5.3: Polyfills are deprecated, try running "composer require symfony/polyfill-intl-icu ^1.21" instead.
Since symfony/intl 5.3: Polyfills are deprecated, try running "composer require symfony/polyfill-intl-icu ^1.21" instead.
Since symfony/intl 5.3: Polyfills are deprecated, try running "composer require symfony/polyfill-intl-icu ^1.21" instead.
Since symfony/intl 5.3: Polyfills are deprecated, try running "composer require symfony/polyfill-intl-icu ^1.21" instead.
Since symfony/intl 5.3: Polyfills are deprecated, try running "composer require symfony/polyfill-intl-icu ^1.21" instead.
Since symfony/intl 5.3: Polyfills are deprecated, try running "composer require symfony/polyfill-intl-icu ^1.21" instead.
Since symfony/intl 5.3: Polyfills are deprecated, try running "composer require symfony/polyfill-intl-icu ^1.21" instead.
Since symfony/intl 5.3: Polyfills are deprecated, try running "composer require symfony/polyfill-intl-icu ^1.21" instead.
Since symfony/intl 5.3: Polyfills are deprecated, try running "composer require symfony/polyfill-intl-icu ^1.21" instead.
Since symfony/intl 5.3: Polyfills are deprecated, try running "composer require symfony/polyfill-intl-icu ^1.21" instead.
[15/22] Page "blog" rendered with template(s) "site:blog/list.html.twig, cecil:_default/list.atom.twig"
[16/22] Page "tags/tag-1" rendered with template(s) "cecil:_default/list.html.twig, cecil:_default/list.atom.twig"
[17/22] Page "tags/tag-2" rendered with template(s) "cecil:_default/list.html.twig, cecil:_default/list.atom.twig"
[18/22] Page "tags" rendered with template(s) "cecil:_default/vocabulary.html.twig"
[19/22] Page "page/2" rendered with template(s) "site:index.html.twig"
Since symfony/intl 5.3: Polyfills are deprecated, try running "composer require symfony/polyfill-intl-icu ^1.21" instead.
Since symfony/intl 5.3: Polyfills are deprecated, try running "composer require symfony/polyfill-intl-icu ^1.21" instead.
[20/22] Page "blog/page/2" rendered with template(s) "site:blog/list.html.twig"
[21/22] Page "page/1" rendered with template(s) "cecil:redirect.html.twig"
[22/22] Page "blog/page/1" rendered with template(s) "cecil:redirect.html.twig"
9. Saving pages
[ 1/22] File(s) "_site/about/index.html" saved
[ 2/22] File(s) "_site/blog/post-1/index.html" saved
[ 3/22] File(s) "_site/blog/post-2/index.html" saved
[ 4/22] File(s) "_site/blog/post-3/index.html" saved
[ 5/22] File(s) "_site/blog/post-4/index.html" saved
[ 6/22] File(s) "_site/blog/post-5/index.html" saved
[ 7/22] File(s) "_site/blog/post-6/index.html" saved
[ 8/22] File(s) "_site/index.html, _site/atom.xml" saved
[ 9/22] File(s) "_site/markdown/index.html" saved
[10/22] File(s) "_site/404.html" saved
[11/22] File(s) "_site/robots.txt" saved
[12/22] File(s) "_site/sitemap.xml" saved
[13/22] File(s) "_site/xsl/atom.xsl" saved
[14/22] File(s) "_site/xsl/rss.xsl" saved
[15/22] File(s) "_site/blog/index.html, _site/blog/atom.xml" saved
[16/22] File(s) "_site/tags/tag-1/index.html, _site/tags/tag-1/atom.xml" saved
[17/22] File(s) "_site/tags/tag-2/index.html, _site/tags/tag-2/atom.xml" saved
[18/22] File(s) "_site/tags/index.html" saved
[19/22] File(s) "_site/page/2/index.html" saved
[20/22] File(s) "_site/blog/page/2/index.html" saved
[21/22] File(s) "_site/page/1/index.html" saved
[22/22] File(s) "_site/blog/page/1/index.html" saved
Built in 0.16 s (11.97 mb)
Done! π
Starting server (localhost:8000)...
bug