I'm using a DNS-327L/0.1RC5. Tried to install from the Alt-F Packages interface which failed so from the cli I type:
ipkg install owncloud
and get:
Package owncloud (7.0.2) installed in /Alt-F is up to date.
Configuring owncloud
Downloading https://download.owncloud.org/community/owncloud-7.0.2.tar.bz2...
--2016-11-21 18:13:01-- https://download.owncloud.org/community/owncloud-7.0.2.tar.bz2
Resolving download.owncloud.org... 2a01:4f8:190:21ad::3, 213.239.207.26, 46.4.80.187, ...
Connecting to download.owncloud.org|2a01:4f8:190:21ad::3|:443... failed: Address family not supported by protocol.
Connecting to download.owncloud.org|213.239.207.26|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-11-21 18:13:01 ERROR 404: Not Found.
The ownCloud .tar archive contains all of the required PHP modules. This section
lists all required and optional PHP modules. Consult the PHP manual for more information on modules.
Your Linux distribution should have packages for all required modules. You can
check the presence of a module by typing php -m | grep -i <module_name>
.
If you get a result, the module is present.
Required:
Database connectors (pick the one for your database:)
Recommended packages:
Required for specific apps:
- PHP module ldap (for LDAP integration)
- PHP module ftp (for FTP storage / external user authentication)
- PHP module imap (for external user authentication)
- PHP module smbclient (SMB/CIFS integration)
Looks like 7.x is no longer supported according to your link.
I'd be willing to tool around with that last 7.x version if it helps... or even the latest 8.x or 9.x. Just might need a quick primer or link to one to explain how to build/debug :)
I updated owncloud package to 7.0.15 (untested). Update feeds and try installing.
Please install one of these locales on your system and restart your webserver.
Is there an easy way to rectifiy this to see if 8.x is viable?
Ok... so after the "clean" install of Alt-F and confirming that lighttpd and mysql were setup and restarting on reboot I am back to this. The 7.0.15 version of owncloud installed fine from the cli (probably would have from the gui too). I've setup the database and connected and the basics work. Still getting the UTF errors but I can live with it.
7.x is obviously very outdated at this point. I've downloaded 8.2.9 and am going to attempt to install it manually since I've got no real time into the oC setup yet. From what I can tell, the only thing that's out of the ordinary in this setup are the data and config links in /opt/owncloud.
Is that correct? Am I able to simply move the current /opt/owncloud directory elsewhere and put the new one in place and replace those two links or are there more things outside of my vision that would need done to test this? Also, if this test shows that it can run (at least on the 327L) would we be able to change the Alt-F repo or would it present problems on other versions?
I don't think 9.x would work becasue it's mysql and php requirements aren't yet met by Alt-F's versions.
Thanks,
kK
Ok... so I did what I said above and maybe it's working? :)
Problem is, when I restart lighttpd and try to hit the /owncloud directory I get stopped by that UTF error. Apparently I can't even get in without that working in 8.x where as it was just an "annoyance" in 7.x.
On Thursday, 1 December 2016 15:00:43 UTC, kKimmell wrote:Ok... so after the "clean" install of Alt-F and confirming that lighttpd and mysql were setup and restarting on reboot I am back to this. The 7.0.15 version of owncloud installed fine from the cli (probably would have from the gui too). I've setup the database and connected and the basics work. Still getting the UTF errors but I can live with it.Yes, that is an old topic. Alt-F doesn't has "locales"
On Thursday, 1 December 2016 15:17:29 UTC, kKimmell wrote:Ok... so I did what I said above and maybe it's working? :)
Problem is, when I restart lighttpd and try to hit the /owncloud directory I get stopped by that UTF error. Apparently I can't even get in without that working in 8.x where as it was just an "annoyance" in 7.x.Again, the postinst script "fixes" that for 7.x:# disable owncloud locale checkingsed -i '/OC_Util::isSetLocaleWorking/,/}/s|.*|#&|' $OC_DIR/lib/private/util.phpCan you read sh(sed? The above comments the line containing 'OC_Util::isSetLocaleWorking' in file /opt/owncloud/lib/private/util.phpDon't know if it will work for latter versions
So while the version of php we have is acceptable, it's complaining about it being out of support.
Next I will try to do a clean install of the prior 8.x version to see if things look right. But is there any hope of updating php to something more recent, if not the latest in version 5?
As it stands it is working and looking fine with these warning on the admin screen:
I assume a lot of what I did is what you do in your pre and post install scripts?? I'll continue toying with this version to confirm that it is the newest version that we can run on the current repo enabled version of rc0.5.
Can you detail if mysql and/or php versions in 0.6 will be any newer? I'll be happy to test rc0.6 for you :)
Ok... so verifying that a clean install of ownCloud 8.1.11 seems to be working without the graphical wonkiness.
I cleaned out what I had done so if this were being done be another user my steps would be:
- get all of the lighttpd/php settings right and restart lighttod
- ipkg install owncloud
- download ownCloud 8.1.11 and unzip/tar it somewhere
- recursively chmod the apps directory to lighttpd:network
- rename the config directory
- copy the crt file from the renamed config directory into the Alt-F created owncloud-config directory
- rename the owncloud-config/config.php to config.php.bak so it will run the setup wizard
- create your mysql database and user
- recursively delete /opt/owncloud/*
- move your new version into /opt/owncloud/
- create the ./data and ./config links to
- browse to http://[YOUR.IP.ADDR]/owncloud and walk through the setup
As it stands it is working and looking fine with these warning on the admin screen:
- System locale can not be set to a one which supports UTF-8.
This means that there might be problems with certain characters in file names.
We strongly suggest installing the required packages on your system to support one of the following locales: en_US.UTF-8/fr_FR.UTF-8/es_ES.UTF-8/de_DE.UTF-8/ru_RU.UTF-8/pt_BR.UTF-8/it_IT.UTF-8/ja_JP.UTF-8/zh_CN.UTF-8.
- No memory cache has been configured. To enhance your performance please configure a memcache if available. Further information can be found in our documentation.
- The "Strict-Transport-Security" HTTP header is not configured to least "15768000" seconds. For enhanced security we recommend enabling HSTS as described in our security tips.
I assume a lot of what I did is what you do in your pre and post install scripts??
I'll continue toying with this version to confirm that it is the newest version that we can run on the current repo enabled version of rc0.5.
Can you detail if mysql and/or php versions in 0.6 will be any newer?
I'll be happy to test rc0.6 for you :)
I will then release a owncloud-8.1.11 package for you to try (from a clean state, if possible).Do you think that one has to/should use mysql? I know that for "performance" reason that is recommended, but I think that it puts an additional burden on our low powered boxes. And what is mean with "performance"? On a single user light usage?sqlite is already on the lighttpd dependencies list, should mysql-server be put on the owncloud dependencies list?sqlite has no initial user setup, but mysql might need manual intervention. Doesn't starting mysql ('rcmysqld start') is enough to make it available to owncloud or special user intervention is needed?
Can you detail if mysql and/or php versions in 0.6 will be any newer?
I'm afraid they will mostly be the same or eventually only minor versions (such as php-5.4.45)