GithubHelp home page GithubHelp logo

neos-base-distribution's Introduction

Neos base distribution

This repository provides a basis for starting new Neos projects. After running composer update or composer install respectively, you will have all packages installed which are needed for a standard Neos website.

It is best practice is to fork this repository, then clone it locally and adjust the dependencies in composer.json to your needs. After running composer update, check in the generated composer.lock file and push the result to your fork or a new repository.

Learn more about the Neos content application platform on http://www.neos.io/. You'll find the installation instructions and more at http://neos.readthedocs.org/en/stable/

neos-base-distribution's People

Contributors

aertmann avatar albe avatar bwaidelich avatar crydotsnake avatar daniellienert avatar danielpoe avatar davidspiola avatar foerthner avatar gerhard-boden avatar hlubek avatar jonnitto avatar kdambekalns avatar kitsunet avatar markusguenther avatar mficzel avatar mgoldbeck avatar mhsdesign avatar mrsunshine avatar neos-bot avatar neos-project avatar robertlemke avatar skorpi avatar skurfuerst avatar t3easy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

neos-base-distribution's Issues

Installation crashed (with empty package creation)

I can't install Neos especially when I try to init it with new empty package.

What I did:

This is manual method:

composer create-project neos/neos-base-distribution neos-example

./flow setup:database

./flow doctrine:migrate

./flow setup:imagehandler

./flow user:create --roles Administrator username password firstname lastname

./flow kickstart:site Vendor.Site

And at this point I get this error:

Script Neos\Flow\Composer\InstallerScripts::postUpdateAndInstall handling the post-update-cmd event terminated with an exception

In PackageManager.php line 589:
                                                                                                                                                                                       
  The package with the name "neos/kickstarter" was found more than once, please make sure it exists only once. Paths "Framework/Neos.Kickstarter/" and "Libraries/neos/kickstarter/".  
                                                                                                                                                                                       

require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>...]

The installation was not successful.
Composer returned the error code: 1493030262

  Type: Neos\Flow\Package\Exception
  Code: 1572187932
  File: Packages/Framework/Neos.Flow/Classes/Package/PackageManager.php
  Line: 385

Open Data/Logs/Exceptions/20221120073428fa79d0.txt for a full stack trace.

Log content:

Exception #1572187932 in line 67 of /var/www/neos.test/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/Neos_SiteKickstarter_Generator_AfxTemplateGenerator.php:
The installation was not successful. Composer returned the error code: 1493030262

12 Neos\Flow\Package\PackageManager::createPackage()
11 Neos\SiteKickstarter\Generator\AfxTemplateGenerator_Original::generateSitePackage()
10 Neos\SiteKickstarter\Command\KickstartCommandController_Original::siteCommand()
9 Neos\Flow\Cli\CommandController_Original::callCommandMethod()
8 Neos\Flow\Cli\CommandController_Original::processRequest()
7 Neos\Flow\Cli\Dispatcher_Original::dispatch()
6 Neos\Flow\Cli\CommandRequestHandler::Neos\Flow\Cli\{closure}()
5 Closure::__invoke()
4 Neos\Flow\Security\Context_Original::withoutAuthorizationChecks()
3 Neos\Flow\Cli\CommandRequestHandler::handleRequest()
2 Neos\Flow\Core\Bootstrap::run()
1 require("/var/www/neos.test/Packages/Framework/Neos.Flow/Scripts/flow.php")

And here is installation method with browser '/setup':

All is going well until step 4 "Create new site"

I fill the fields like on screenshot and then get error:

The installation was not successful. Composer returned the error code: 1

image

Error log:

Exception #1572187932 in line 67 of /var/www/neos.test/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/Neos_SiteKickstarter_Generator_AfxTemplateGenerator.php:
 The installation was not successful. Composer returned the error code: 1

50 Neos\Flow\Package\PackageManager::createPackage()
49 Neos\SiteKickstarter\Generator\AfxTemplateGenerator_Original::generateSitePackage()
48 Neos\Neos\Setup\Step\SiteImportStep_Original::importSite()
47 Neos\Neos\Setup\Step\SiteImportStep_Original::Neos\Neos\Setup\Step\{closure}()
46 Neos\Form\Finishers\ClosureFinisher_Original::executeInternal()
45 Neos\Form\Core\Model\AbstractFinisher::execute()
44 Neos\Form\Core\Runtime\FormRuntime_Original::invokeFinishers()
43 Neos\Form\Core\Runtime\FormRuntime_Original::render()
42 Neos\Setup\Controller\SetupController_Original::indexAction()
41 Neos\Setup\Controller\SetupController::indexAction()
40 Neos\Setup\Controller\SetupController::Flow_Aop_Proxy_invokeJoinPoint()
39 Neos\Flow\Aop\Advice\AdviceChain::proceed()
38 Neos\Flow\Security\Aspect\PolicyEnforcementAspect_Original::enforcePolicy()
37 Neos\Flow\Aop\Advice\AroundAdvice::invoke()
36 Neos\Flow\Aop\Advice\AdviceChain::proceed()
35 Neos\Setup\Controller\SetupController::indexAction()
34 Neos\Flow\Mvc\Controller\ActionController_Original::callActionMethod()
33 Neos\Flow\Mvc\Controller\ActionController_Original::processRequest()
32 Neos\Flow\Mvc\Dispatcher_Original::initiateDispatchLoop()
31 Neos\Flow\Mvc\Dispatcher_Original::dispatch()
30 Neos\Flow\Mvc\DispatchMiddleware_Original::process()
29 Neos\Flow\Http\Middleware\MiddlewaresChain_Original::handle()
28 Neos\Flow\Http\Middleware\SecurityEntryPointMiddleware_Original::process()
27 Neos\Flow\Http\Middleware\MiddlewaresChain_Original::handle()
26 Neos\Flow\Http\Middleware\RequestBodyParsingMiddleware_Original::process()
25 Neos\Flow\Http\Middleware\MiddlewaresChain_Original::handle()
24 Neos\Flow\Mvc\FlashMessage\FlashMessageMiddleware_Original::process()
23 Neos\Flow\Http\Middleware\MiddlewaresChain_Original::handle()
22 Neos\Flow\Http\Middleware\PoweredByMiddleware_Original::process()
21 Neos\Flow\Http\Middleware\MiddlewaresChain_Original::handle()
20 Neos\RedirectHandler\RedirectMiddleware_Original::process()
19 Neos\Flow\Http\Middleware\MiddlewaresChain_Original::handle()
18 Neos\Flow\Mvc\Routing\RoutingMiddleware_Original::process()
17 Neos\Flow\Http\Middleware\MiddlewaresChain_Original::handle()
16 Neos\Setup\Core\ConfigureRoutingMiddleware_Original::process()
15 Neos\Flow\Http\Middleware\MiddlewaresChain_Original::handle()
14 Neos\Neos\Routing\RequestUriHostMiddleware_Original::process()
13 Neos\Flow\Http\Middleware\MiddlewaresChain_Original::handle()
12 Neos\FluidAdaptor\Core\Widget\AjaxWidgetMiddleware_Original::process()
11 Neos\Flow\Http\Middleware\MiddlewaresChain_Original::handle()
10 Neos\Flow\Http\Middleware\SessionMiddleware_Original::process()
9 Neos\Flow\Http\Middleware\MiddlewaresChain_Original::handle()
8 Neos\Flow\Http\Middleware\MethodOverrideMiddleware_Original::process()
7 Neos\Flow\Http\Middleware\MiddlewaresChain_Original::handle()
6 Neos\Flow\Http\Middleware\TrustedProxiesMiddleware_Original::process()
5 Neos\Flow\Http\Middleware\MiddlewaresChain_Original::handle()
4 Neos\Flow\Http\Middleware\StandardsComplianceMiddleware_Original::process()
3 Neos\Flow\Http\Middleware\MiddlewaresChain_Original::handle()
2 Neos\Setup\Core\RequestHandler::handleRequest()
1 Neos\Flow\Core\Bootstrap::run()


HTTP REQUEST:
target: /setup/index?step=3
Host: neos.test
Connection: keep-alive
Content-Length: 1211
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
Origin: http://neos.test
Content-Type: multipart/form-data; boundary=----WebKitFormBoundarydhLD8IdBGG1o29ES
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Referer: http://neos.test/setup/index?step=3
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9,de;q=0.8
Cookie: Neos_Session=6He2koxfjwXOIQZmsnx01j4ShyohGGmv

PHP PROCESS:
Inode: 20074432
PID: 8315
UID: 1000
GID: 1000
User: noname

If I leave 'package name' and 'site name' fields empty then it works.

My environment:

  • Ubuntu 20.04.4 LTS
  • apache2
  • 5.7.37 - MySQL Community Server (GPL)
  • apache-php 8.1 and php-cli 8.1
  • composer 2.4.4

`"post-create-project-cmd": "./flow welcome"` Issues

composer create-project neos/neos-base-distribution fails on windows

see https://discuss.neos.io/t/composer-create-project-neos-neos-base-distribution-mysite-not-working-windows/6147/3
duplicate of https://discuss.neos.io/t/setting-up-neos-with-xampp/5917

The problem is that we run flow welcome, at a time where flow cant find the php executable - as this needs to be adjusted first.
https://discuss.neos.io/t/setting-up-neos-with-xampp/5917/5?u=marc

Adjusting Neos.Flow.core.phpBinaryPathAndFilename on windows is a mandatory step before flow would even run: https://discuss.neos.io/t/running-neos-flow-on-windows-10-success/2752

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.