Feed Rss

ownCloud 4.5.1 Synology package -> update info!

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

Hi guys its an official Holiday today which means I’ve got a lot of time to take care of my Synology packages.

The first one is the owncloud package, which has been updated to 4.5.1. Nothing special so far, but then Synology-Version-Number-Counting strikes!

For some reason it detects the 4.5.1 to be lower than the previous 4.5 and quits the update process. This wouldn’t be a problem if at least one of the scripts in the package would be executed so I could change the number by running this script and you wouldn’t recognize anything, but it fails before anything is done to the package. It also means there will be no update button in the package center for the people who installed 4.5 because the installed version is detected to be newer.

There are a few workarounds to update from 4.5 to 4.5.1

1. Quick and dirty: Uninstall ownCloud and install the new one -> You will loose all your data and settings

2. owerwrite the INFO file which contains the version number

  1. Download my patched INFO file
  2. copy it into the public folder of your Disk Station
  3. connect to your DiskStation via SSH
  4. type
    cp /volumeX/public/INFO /var/packages/owncloud

    replace the X with the volume number that contains your public folder

  5. type exit, the editor closes
  6. Now the update button appears in the package center, you can update normally

3. DIY:  Edit the version in the INFO file (afterwards the update button appears)

  1. connect to your Disk Station using SSH (How do I do that?)
  2. type
    cd /var/packages/owncloud
  3. type 
    vi INFO

    the text editor vi should start

  4. in vi navigate to the third line which is: version=“4.5-012″
  5. hit <a>
  6. add .0 after 4.5 so the changed line is  version=“4.5.0-012″
  7. hit <Esc>
  8. type :wq and hit <Enter>
  9. type exit, the editor closes
  10. Now the update button appears in the package center, you can update normally

Another way is to backup the data and config folder in the /web folder, deinstall owncloud, install the new version and recover it. If you do this you have to take care of the folder permissions.

I apologize for the circumstances, if you know an easier way to update, let me know.

Manual Download link:

6 Responses to ownCloud 4.5.1 Synology package -> update info!

  1. Tnx for the updated INFO File.

    btw with webmin from qtip you can upload it directly to the owncloud dir.

  2. 2012-11-08 at 11:14 Michel


    habe mit dieser Version das Problem, dass ich keine ics-Dateien uploaden kann. Die Fehlermeldung lautet:

    „Ihre Datei kann nicht hochgeladen werden, da sie entweder ein Verzeichnis oder 0 Bytes groß ist.“

    Kennt Ihr auch so ein Problem; könnte das mal jemand testen?

    -> kann ich noch an das alte Paket kommen?

    Danke und Gruß

  3. 2012-11-20 at 15:13 cereyanli

    Hey ,

    Thanks for your all efforts

    Are you working on 4.5.2 ?

  4. Hi all,
    I’ve done the DIY-way, but there appears no update button in the package center of DRM. If I check the details of OC in the package center, the version is 4.5.0-012.
    Do you know why the button doesn’t appear?

  5. Pingback: ownCloud 4.5.2 Synology Package | eg-blog

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.