Open alexm opened 9 years ago
FWIW, I tried all examples in https://github.com/ceph/phprados/tree/master/examples (had to tweak some bits) and they did work fine. So it seems that phprados is working fine and I'm starting to wonder if I need to run oc 8.2.x instead of current stable.
I do have a work-around for this issue:
https://gist.github.com/jgalvez/694f506877bf6f408aa0
However, I have no idea why this works.
But it actually did work for me too :+1:
Steps to reproduce
ceph osd pool create owncloud 512 512
chmod go+rX /etc/ceph /etc/ceph/ceph.conf /etc/ceph/ceph.client.admin.keyring
cd /var/www/owncloud/apps && git clone https://github.com/owncloud/rados.git
cd /var/www/owncloud && sudo -u www-data php occ app:enable rados
Expected behaviour
File should be uploaded to ceph pool named owncloud.
Actual behaviour
Error is shown:
Could not create object: Could not write to 'urn:oid:20'
Server configuration
Operating system: ubuntu server 14.04.3
Web server: apache2 2.4.7-1ubuntu4.5
Database: mysql-server 5.5.44-0ubuntu0.14.04.1
PHP version: php5 5.5.9+dfsg-1ubuntu4.11
ownCloud version: 8.1.3 (stable)
Updated from an older ownCloud or fresh install: new install
List of activated apps:
The content of config/config.php:
Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: Firefox 41.0
Operating system: ubuntu desktop 15.04
Logs
Web server error log
ownCloud log (data/owncloud.log)