Hello everyone,

I am trying to setup owncloud on a Debian 8 server. The stack will be:
- Nginx - version 1.6.2
- php-fpm - version 5.6.9
- PostgreSQL - version 9.4.3

I did follow the manual installation process[1], installed the following
packages: 

```
apt-get install php5-gd php5-json php5-pgsql php5-curl \
  php5-intl php5-mcrypt php5-imagick
```

I downloaded the tarball from the downloads page[2], but after descompacting set
the permissions I cannot run occ at all.

```
# sudo -u www-data php occ status 
ownCloud is not installed - only a limited number of commands are available
Error occurred while checking PostgreSQL version
Please make sure you have PostgreSQL >= 9 or check the logs for more 
information about the error

An unhandled exception has been thrown:
exception 'Exception' with message 'Environment not properly prepared.' in 
/usr/share/nginx/www/owncloud/lib/private/console/application.php:78
Stack trace:
#0 /usr/share/nginx/www/owncloud/console.php(67): 
OC\Console\Application->loadCommands(Object(Symfony\Component\Console\Output\ConsoleOutput))
#1 /usr/share/nginx/www/owncloud/occ(11): require_once('/usr/share/ngin...')
```

This is weird, because the server is running, and the module is indeed 
installed.

```
# php -i | grep pg 
/etc/php5/cli/conf.d/20-pdo_pgsql.ini,
/etc/php5/cli/conf.d/20-pgsql.ini,
PDO drivers => pgsql
pdo_pgsql
pgsql
pgsql.allow_persistent => On => On
pgsql.auto_reset_persistent => Off => Off
pgsql.ignore_notice => Off => Off
pgsql.log_notice => Off => Off
pgsql.max_links => Unlimited => Unlimited
pgsql.max_persistent => Unlimited => Unlimited
```

Any ideas on how to troubleshoot this ?

[1]: 
https://doc.owncloud.org/server/8.2/admin_manual/installation/source_installation.html
[2]: https://owncloud.org/install/#instructions-server

Regards,

-- 
Alfredo Palhares
GPG/PGP Key Fingerprint
68FC B06A 6C22 8B9B F110
38D6 E8F7 4D1F 0763 CAAD

Attachment: signature.asc
Description: PGP signature

_______________________________________________
User mailing list
[email protected]
http://mailman.owncloud.org/mailman/listinfo/user

Reply via email to