schultzdavid opened a new issue, #5569:
URL: https://github.com/apache/couchdb/issues/5569

   ## Description
   When choosing an admin password containing spaces during installation (or 
rather, in the initial setup tool that gets opened then), I get the following 
warning:
   
   ```
   WARNING: Unable to create standalone system databases.
   CouchDB may not have started correctly (no init?)
   
   Once CouchDB has started correctly, run the following:
   
     curl -X PUT http://<admin-user>:<admin-pass>@127.0.0.1:5984/_users
     curl -X PUT http://<admin-user>:<admin-pass>@127.0.0.1:5984/_replicator
   ```
   
   I ran into this when trying to install a YunoHost app relying on CouchDB, 
with the result that the installation aborts with an error.
   
   When choosing a password without spaces, no such error ever occurs.
   
   ## Steps to Reproduce
   Install CouchDB on a fresh Debian Bookworm machine via the commands stated 
in the [installation instructions from the 
docs](https://docs.couchdb.org/en/stable/install/unix.html). In the console 
setup dialog that gets opened, choose Standalone Installation, then as IP e.g. 
127.0.0.1 or 0.0.0.0, and as admin password choose one that contains one or 
more space characters.
   
   ## Expected Behaviour
   
   Installation going through without errors/warnings about a possible 
(probable) incorrect start-up of CouchDB
   
   ## Your Environment
   
   
   
   
   * CouchDB version used: amd64 couchdb 3.5.0.~bookworm
   * Operating system and version: Debian Bookworm 12.11 (tested both on a Dell 
Wyse 5070 with an Intel J4105 64-bit CPU, and on a Raspberry Pi 3)
   
   ## Additional Context
   
   This is the command I run and the full resulting console output when 
choosing, in the intermittent setup dialog, a password containing spaces:
   
   ```
   root@machine:/home/user# apt install -y couchdb
   Reading package lists... Done
   Building dependency tree... Done
   Reading state information... Done
   Suggested packages:
     couchdb-nouveau
   The following NEW packages will be installed:
     couchdb
   0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
   Need to get 0 B/73.9 MB of archives.
   After this operation, 105 MB of additional disk space will be used.
   Preconfiguring packages ...
   Selecting previously unselected package couchdb.
   (Reading database ... 93026 files and directories currently installed.)
   Preparing to unpack .../couchdb_3.5.0~bookworm_amd64.deb ...
   Unpacking couchdb (3.5.0~bookworm) ...
   Setting up couchdb (3.5.0~bookworm) ...
   Created symlink /etc/systemd/system/multi-user.target.wants/couchdb.service 
→ /lib/systemd/system/couchdb.service.
   WARNING: Unable to create standalone system databases.
   CouchDB may not have started correctly (no init?)
   Once CouchDB has started correctly, run the following:
   
     curl -X PUT http://<admin-user>:<admin-pass>@127.0.0.1:5984/_users
     curl -X PUT http://<admin-user>:<admin-pass>@127.0.0.1:5984/_replicator
   
   Processing triggers for man-db (2.11.2-2) ...
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to