On Sun, 24 Apr 2016 00:39:36 +0200
tflidd <[email protected]> wrote:

> Hi,
> 
> you could try to use the occ-command for installation:
> https://doc.owncloud.org/server/8.2/admin_manual/configuration_server/occ_command.html#command-line-installation

That worked, without even looking to see if there was a 9.0 equivalent
page. Thank you.

Since I am running Debian, and don't like or use sudo, I modified the
command line.

# su - www-data -c 'php /var/www/owncloud/occ maintenance:install \
--database "mysql" --database-name "owncloud"  --database-user "root" \
--database-pass "obfuscated" --admin-user "Administrator" --admin-pass \
"obfuscated"'

Actually, that was all one line. I don't know if backslashes work as
this example expects them to work inside single quotes.

In order for that to work, I had to hack /etc/passwd by letting
www-data have a shell, bash in this case. Don't forget to unhack it.

-- 

The right of the people to be secure in their persons, houses, papers,
and effects, against unreasonable searches and seizures, shall not be
violated, and no Warrants shall issue, but upon probable cause,
supported by Oath or affirmation, and particularly describing the
place to be searched, and the persons or things to be seized.
-- U.S. Const. Amendment IV

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
_______________________________________________
User mailing list
[email protected]
http://mailman.owncloud.org/mailman/listinfo/user

Reply via email to