Giter Site home page Giter Site logo

ddev-typo3-src's Issues

"Trusted hosts pattern mismatch" with apache

Using apache-fpm instead of nginx-fpm causes above mentioned error, which in consequences does not allow for installing / accessing the db (neither sb/sb nor root/root are accepted. Tested with Typo3 11.5, php 8.1.

Bildschirmfoto 2022-12-09 um 17 06 52

Bildschirmfoto 2022-12-09 um 17 05 52

ELTS not working

For versions already in ELTS the script tries to download latest ELTS version which does not work of course. To circumvent the issue the user can set an explicit version in the config.yaml e.g. TYPO3_SRC_VERSION=7.6.32.

The script should install the latest LTS instead.

2 options not explained in docu

  • What is the "PATH" variable good for? How does it have to be changed to one's own needs?
  • There is a "B13_MAKE_EXTENSION_DIR" variable, which causes an error on installation. Is there additional software necessary to be installed? What does it do?

Performance

Hello,

I have a TYPO3 11 instance using your project (imported files and database from live server). If pages are not cached it loads really slow (+- 30 seconds). If page is cached just 100ms. The same system on a live server and dev server (debian10) runs fast. If I run a fresh ddev TYPO3 12 composer mode instance everything runs very fast.

System:
Intel iMac and M1 Macbook tested (on m1 it is a little bit faster, but not much)
colima and ddev installed via homebrew
mutagen enabled (if mutagen is disabled it is slower)
mariadb 10.5
PHP 8.2
nginx-fpm

upload_dirs:
- fileadmin
- files
- private
- public
- intranet
- uploads
- slides
- sasslog
- apps
- typo3temp/var/log

Any hints what could cause the problem?

Creating symllinks to local extensions fails due to missing "ext" folder

Steps to reproduce:

  • clone this repo
  • enter this repo
  • adjust ".ddev/config.yaml" and add "packages" to "- TYPO3_LOCAL_EXTENSIONS"
  • create "packages"
  • add 2 extensions to "packages"
  • run "ddev start"

What happens?

The terminal shows this error message:

Create symlinks for local extensions...
  packages/rwfm -> htdocs/typo3conf/ext/rwfm
ln: failed to create symbolic link 'htdocs/typo3conf/ext/rwfm': No such file or directory
Task failed: Exec command 'bin/install-typo3' in container/service 'web': exit status 1 
A task failure does not mean that ddev failed, but your hook configuration has a command that failed. 

The Install page opens as expected, but before proceeding there, I check "htdocs/typo3conf/" to see what happened to the local extensions. They could not have been installed, because there is no "ext" folder yet.

This only happens, when "TYPO3_LOCAL_EXTENSIONS" is configured.

I assume ddev's setup routine didn't finish in time, before the symlinking was initiated?

No idea, if this is fixable. But in case it is not, I wonder if the symlinking could be externalized to a separate bash script. That would also make it possible to call it at a later time, when TYPO3 is already installed and working, but suddenly the wish for local extension comes up. Or when I add more local extensions that need to be symlinked again...

What do you think?

How to upgrade to the next TYPO3 version?

It would be great, it the repo could also describe how an upgrade an existing project to the next version of TYPO3 and pre-requisites as well as the consequences to be considered.

Simply changing the requirement in ddev's config.yaml does not seem to suffice.

This is what I did:

  • Backup the DB with ddev export --gzip=false --file=db_backup.sql
  • Run ddev poweroff
  • Delete all .yaml files in the .ddev folder except for config.yaml
  • Configure config.yaml with the new TYPO3_MAJOR_VERSION (10 in my case) (and adapt TYPO3_MINOR_VERSION if necessary)
  • Run ddev start

At this point TYPO3's front is opened, and it throws an error pointing to the TYPO3 v10.4.21 resource:

Call to undefined method TYPO3\CMS\Core\Cache\Frontend\VariableFrontend::require()

in /var/www/html/typo3_src-10.4.21/typo3/sysext/core/Classes/Package/PackageManager.php line 207

However, when switching to the install tool, it shows that the just updated project is still running on TYPO3 v9.5.31.

I would have proceeded like this:

  • Import database with ddev import --src=db_backup.sql
  • Run Database update
  • Run Updater

None of that makes any difference at this point.

I am most likely doing something very very wrong here :-/

Any chance to provide the steps? I'd be happy to poor them in sentences and provide a PR for the documentation.

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.