Feed Rss

ownCloud 5.0.3-021 Synology Package

04.05.2013, Allgemein, Download / Release Notes, ownCloud on Synology DS, by .

The 5.0.3 fixes a few bugs

If you had problems updating from 4.5.x this update should fix them.

Have a nice weekend, Eric

3 Responses to ownCloud 5.0.3-021 Synology Package

  1. I just found this and it is exactly what I was looking for!

    I do have one issue.

    I already have a music library on my Synology and want to access that with ownCloud as well so I created a symbolic link (ln -s /volume1/music music inside /volume1/web/owncloud/data/chall/files but I am not able to see the linked folder from the ownCloud web interface.

    I tried adding
    Options +FollowSymLinks
    to both the .htaccess file in /volue1/web/owncloud/data and also to /usr/syno/apache/conf/extra/httpd-autoindex.conf-user and restarted apache but I’m still not able to see the linked folder.

    What am I doing wrong?

    • 2013-04-06 at 11:53 JussiL

      Because Synology uses the PHP open_basedir restrictions to give PHP access to certain folders you have to add the other paths you want to access into that variable. This is the reason you cannot use direct symlinks, it prevents such behavior as a security measure. You can add paths via DSM Control Panel -> Web services -> PHP settings, remember to use „:“ as separator for paths. This way you can also change your data folder location.

      First create e.g. /volume1/owncloud shared folder and set rights for the www-user, in case of Synology „nobody“ : chown -R nobody:nobody /volume1/owncloud (if you want only the nobody to access data remove rights from others). Secondly you can then copy all existing user data (with cp -a, so rights are kept) under /volume1/owncloud. Thirdly change the path in owncloud/config/config.php.

      But before you do anything like this remember to backup at least the user settings and data.

      I’ve discussed about the open_basedir usage with a colleague who at least admits to know about these things and it seems to be ok way in this case with Synology diskstations (correct me if I’m wrong!). If you need to access those datafiles over owncloud instance all necessary permissions must be given to the http server. The open_basedir allows access to defined folders but the www-user has to have the access also. In case of shared folders others have all rights so these seem to work without ownership changes. But still I haven’t managed to use local user homes, however, when the data is outside www-root I’ve really got no use for them now.

  2. Wonderful!

    Thank you!!!


Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.