Cannot start Drupal CMS via ddev

Created on 26 November 2024, 4 months ago

Problem/Motivation

I would like to start Drupal CMS via DDEV.

Steps to reproduce

* Install DDEV on MacOS. It does currently work for me for other projects.
* I did follow this instruction page: https://dri.es/installing-drupal-cms-or-drupal-starshot-using-ddev
* Clone the Drupal CMS repo: git clone https://git.drupalcode.org/project/drupal_cms.git
* Run the project via DDEV: ddev start

Then I do get this error:

Loading custom entrypoint config from /mnt/ddev_config/web-entrypoint.d
+ ls '/mnt/ddev_config/web-entrypoint.d/*.sh'
+ logpipe=/var/tmp/logpipe
+ [[ ! -p /var/tmp/logpipe ]]
+ exec /usr/bin/supervisord -n -c /etc/supervisor/supervisord-nginx-fpm.conf
Traceback (most recent call last):
  File "/usr/bin/supervisord", line 33, in <module>
    sys.exit(load_entry_point('supervisor==4.2.5', 'console_scripts', 'supervisord')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/supervisor/supervisord.py", line 359, in main
    go(options)
  File "/usr/lib/python3/dist-packages/supervisor/supervisord.py", line 369, in go
    d.main()
  File "/usr/lib/python3/dist-packages/supervisor/supervisord.py", line 72, in main
    self.options.make_logger()
  File "/usr/lib/python3/dist-packages/supervisor/options.py", line 1488, in make_logger
    loggers.handle_file(
  File "/usr/lib/python3/dist-packages/supervisor/loggers.py", line 419, in handle_file
    handler = RotatingFileHandler(filename, 'a', maxbytes, backups)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/supervisor/loggers.py", line 213, in __init__
    FileHandler.__init__(self, filename, mode)
  File "/usr/lib/python3/dist-packages/supervisor/loggers.py", line 160, in __init__
    self.stream = open(filename, mode)
                  ^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: '/var/log/supervisord.log'
+ trap - SIGTERM
+ kill -- -1

I do see this error via the following command: ddev logs -s web

My ddev version: v1.23.2

Can anyone help? Is there any special setting needed?

๐Ÿ› Bug report
Status

Active

Component

General

Created by

๐Ÿ‡ฉ๐Ÿ‡ชGermany Peter Majmesku ๐Ÿ‡ฉ๐Ÿ‡ชDรผsseldorf

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Peter Majmesku
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States phenaproxima Massachusetts

    I'm pretty sure this is beyond the scope of Drupal CMS. I'd recommend filing this bug report in DDEV's GitHub repository: https://github.com/ddev/ddev

    Closing this as a "can't reproduce", but feel free to reopen if there's further discussion to be had here.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States rfay Palisade, CO, USA

    Please use current stable DDEV (currently v1.23.5). If that doesn't solve it, come on over to DDEV and we'll be happy to help. AFAICT this has nothing to do with Drupal CMS, but it may have to do with using an old version of DDEV.

Production build 0.71.5 2024