ZyXEL NSA310S – 最新的ownCloud版本可能运行

我拥有一台小型家庭NAS /服务器 – 合勤NSA310S。 不幸的是,在官方软件包存储库中,只有5.0.8版本可用。 去年我设法安装了7.x. 版本,使用下面的方法:

(Connect to the NSA as root using telnet - you first need to enable in the administrator's webpanel. Then you can run the commands.) cd /usr/local/zy-pkgs/gui wget http://download.owncloud.org/community/owncloud-latest.tar.bz2 tar xjvf owncloud-latest.tar.bz2 cp ownCloud/config/config.php owncloud/config/config.php vi owncloud/config/config.php (To set 'version' to the correct value for the downloaded one.) cd /usr/local/zy-pkgs/gui/owncloud/lib/private chmod 660 config.php cd /usr/local/zy-pkgs/gui mv ownCloud oldCloud (Just to be safe, keeping the old original version at hand for now.) mv owncloud ownCloud (Putting the new version in place of the old one. Now only thing needed is to log in as the admin to the web interface and follow the instruction shown on screen - voila, new version installed and working.) 

不幸的是,这个方法对当前版本的ownCloud根本不起作用。 我不知道什么改变了,打破了这种升级方法,也没有哪个版本是最后一个工作的版本。

有没有人试用过ZyXEL NSA的? 或者有什么想法哪个版本的ownCloud可以使用这个设备?

我使用最新版本的固件 – 4.75。

我做了一些试验,发现原来问题中提到的安装方法适用于8.0.10。 或者至less – 部分工作 – 应用程序只有在我执行后才起作用

 chmod -R 777 /usr/local/zy-pkgs/gui/ownCloud 

作为最后一步。 没有这个,我得到了一个空白页面。 当然,我极力阻止这样做,因为这允许任何人读取,运行或编辑目录中的任何文件,这是严重的安全漏洞。

目前我正在使用ownCloud内置的升级工具进行试验,看看它能让我升级多less应用程序,然后我会尝试手动安装最高的工作版本,然后尝试find需要的文件涉及到权限时要特别注意。

更新:ownCloud成功更新到8.0.13。 现在更新程序build议升级到8.1.8。 现在尝试。

更新2:版本8.1.8不起作用,尝试在浏览器中打开它失败 – 显示一个空白页面。 调整自己的云端导向至777不会改变任何东西。 8.0.13可能是可以在这些设备上工作的最新版本,现在我会坚持下去。

更新3:无法使用此方法安装版本8.0.13(即使将整个目录chmod设置为777,也是空白页)。 8.0.13启动和运行的唯一可能的方式似乎是安装8.0.10,然后使用内置工具进行升级。

更新4:我设法从干净的安装chown'ingCloudCloud目录到根目录并chmod'ing到og + rw的版本8.0.13工作(我知道它可能不是从安全的angular度来看最佳的解决scheme,但这是仍然比777好)。 然后我使用内置的更新程序成功更新到8.0.13。 在设备上安装新版本的全过程如下:

  (Connect to the NSA as root using telnet - you first need to enable in the administrator's webpanel. Then you can run the commands.) cd /usr/local/zy-pkgs/gui wget https://download.owncloud.org/community/owncloud-8.0.13.tar.bz2 tar xjvf owncloud-8.0.13.tar.bz2 cp ownCloud/config/config.php owncloud/config/config.php vi owncloud/config/config.php (To set 'version' to the correct value for the downloaded one - 8.0.13 in this case) mv ownCloud oldCloud (Just to be safe, keeping the old original version at hand for now.) mv owncloud ownCloud (Putting the new version in place of the old one.) chown -R root:root ownCloud (Changing ownership to root:root, the way original ZyXEL apps are) chmod -R uog+rw ownCloud (Giving permission to read and write the files to the system users, this is needed, because otherwise the app won't work - an empty page will be shown.) Next step is opening the app in browser, by visiting http://nsa's_ip/pkg/ownCloud and following the instructions displayed on screen. Feel free to remove the oldCloud directory if everything worked fine. To do this run the command: rm -rf oldCloud 

不要更新到8.1.X或更新,它不会在这些设备上工作 – 将显示空白页面。

更新5:我已经testing了当前版本(8.0.14) – 从8.0.13更新和基于上面显示的干净安装过程工作。 应用程序运行干净可靠。 尽pipe如此,仍然没有运气。