Enhancement #2669
Upgrade to ownCloud 7
Status: | CLOSED | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-owncloud | |||
Target version: | v6.5 | |||
Resolution: | NEEDINFO: | No |
Description
Goals:
- creation of admin user (using the nethserver admin pwd?)
- automatic LDAP integration
- don't use autoconfigfile but config.php directly
- enable app for mount external share
- disable calendar/phonebook/music
- create owncloud group and enable only users into this group
Subtasks
Related issues
Associated revisions
New ownCloud dashboard widget application. Refs #2669
New ownCloud dashboard widget application. Refs #2669
New ownCloud dashboard widget application. Refs #2669
Patch ownCloud "occ" command line tool. Refs #2669
ownCloud ldap config initialization. Refs #2669
Fix /usr/libexec/nethserver/owncloud-ldap-init. Refs #2669
Second fix /usr/libexec/nethserver/owncloud-ldap-init. Refs #2669
Change init ldap script to an action. Refs #2669
Set "en" as ownCloud default language. Refs #2669
Spec: fix ownCloud dir permissions. Refs #2669
Remove ldap password from widget. Refs #2669
Add owncloud template-begin for register_command.php. refs #2669
Fix owncloud file permissions. Refs #2669
Change first url request with curl. Refs #2669
Add "trusted_domains" to nethserver-owncloud-conf. Refs #2669
Fix string in php array in nethserver-owncloud-conf. Refs #2669
Change order of action "nethserver-owncloud-conf-ldap". Refs #2669
Fix to support ownCloud 7.0.2. Refs #2669
Add ownCloud dashboard widget. Refs #2669
Manage automatic db upgrade from 5 to 7 version. Refs #2669
Fix "email" ldap attribute. Refs #2669
Fix action "nethserver-owncloud-conf-ldap". Refs #2669
Remove ntp template expansion. Refs #2669
Add ownCloud section. Refs #2669
Fix owncloud.rst. Refs #2669
it admin manual: new owncloud section. Refs #2669
en admin manual: fix owncloud note. Refs #2669
Fix ownCloud 7 backup. Refs #2669
Add "ownCloud" substitution keyword. Refs #2669
LDAP Note in owncloud.rst. Refs #2669
ownCloud: refresh ldap user list. refs #2669
Merge pull request #41 from alepolidori/master
New ownCloud note section. Refs #2669
Fix ownclud backup tool name. Refs #2669
New ownCloud developer doc. Refs #2669
Merge pull request #42 from alepolidori/master
New ownCloud developer doc. Refs #2669
"default_language" key in autoconfig is not accepted. Refs #2669
Fix config.php when upgrade from version 5. Refs #2669
Fix nethserver-owncloud-conf-ldap. Refs #2669
Do not use TLS and do not check for webdav. Refs #2669
Disable ldap cache. Refs #2669
Disable tls and ldap cache also when update. Refs #2669
Fix owncloud.rst. Refs #2669
Conf action: fix sql schema upgrade. Refs #2669
See: https://github.com/owncloud/core/issues/6152#issuecomment-30236917
History
#1 Updated by Davide Principi over 7 years ago
- Target version set to ~FUTURE
#2 Updated by Davide Principi over 7 years ago
- Subject changed from Support for Owncloud6 to Upgrade to ownCloud 6
- Priority changed from Low to Normal
#3 Updated by Alessio Fattorini about 7 years ago
- Subject changed from Upgrade to ownCloud 6 to Upgrade to ownCloud 7
#4 Updated by Alessio Fattorini about 7 years ago
- Description updated (diff)
#5 Updated by Alessio Fattorini about 7 years ago
- Description updated (diff)
#6 Updated by Alessio Fattorini almost 7 years ago
- Description updated (diff)
#7 Updated by Giacomo Sanchietti almost 7 years ago
- Status changed from NEW to TRIAGED
- Target version changed from ~FUTURE to v6.5
- % Done changed from 0 to 20
The new release will be a simple Owncloud installation without LDAP/apps provisioning.
The new package must:- correctly install Owncloud 7: remember to download the rpms using yum-download-only and upload them to testing repository
- handle the upgrade from release 5
- implement a simple Dashboard widget (maybe inside the Apps tabs). The widget must display the app URL and auto-generate user and password for LDAP configuration
- move wiki pages to Developer manual
- create a chapter for the Administrator manual with basic informations:
- installation
- changing the admin password
- LDAP configuration
#8 Updated by Alessandro Polidori almost 7 years ago
- Assignee set to Alessandro Polidori
#9 Updated by Alessandro Polidori almost 7 years ago
- Assignee deleted (
Alessandro Polidori)
#10 Updated by Alessandro Polidori almost 7 years ago
How to use yum-downloadonly: https://access.redhat.com/solutions/10154
#11 Updated by Alessandro Polidori almost 7 years ago
- Status changed from TRIAGED to ON_DEV
- Assignee set to Alessandro Polidori
- % Done changed from 20 to 30
#12 Updated by Alessandro Polidori almost 7 years ago
I have downloaded new version of ownCloud for CentOS-6:
owncloud-3rdparty-7.0.2-12.1.noarch owncloud-7.0.2-12.1.noarch
and I have uploaded them into "testing" repository.
#13 Updated by Alessandro Polidori almost 7 years ago
Upgrade from release 5 is automatically done by the occ
tool.
#14 Updated by Giacomo Sanchietti almost 7 years ago
Upstream official rpm package doesn't have policycoreutils-python among dependencies.
Errors on install:
/var/tmp/rpm-tmp.WSF2AS: line 5: semanage: command not found /var/tmp/rpm-tmp.WSF2AS: line 7: semanage: command not found /var/tmp/rpm-tmp.WSF2AS: line 9: semanage: command not found
See upstream bug https://github.com/owncloud/core/issues/11576
#15 Updated by Giacomo Sanchietti almost 7 years ago
- Related to Bug #2910: ownCloud 7 rpm package has missing dependency. added
#16 Updated by Alessandro Polidori almost 7 years ago
The occ
command line tool has been patched to support ldap empty configuration creation:
occ ldap:create-empty-config
as explained here.
This feature should be present in a next version of ownCloud.
It is used when clear installation, before setting the ldap configuration values.
The occ
tool is launched using:
php -d "magic_quotes_gpc = Off" /var/www/html/owncloud/occ ...
#17 Updated by Alessandro Polidori almost 7 years ago
With clear installation, LDAP authentication is activated by default.
With update from ownCloud 5, the configuration will not be changed. Only the upgrade of database is automatically made using occ upgrade
.
#18 Updated by Alessandro Polidori almost 7 years ago
#19 Updated by Alessandro Polidori almost 7 years ago
Giacomo Sanchietti wrote:
Upstream official rpm package doesn't have policycoreutils-python among dependencies.
Errors on install:
[...]See upstream bug https://github.com/owncloud/core/issues/11576
The bug has been resolved and the new packages are available for CentOS-6:
owncloud-3rdparty-7.0.2-17.1.noarch.rpm owncloud-7.0.2-17.1.noarch.rpm
#20 Updated by Alessandro Polidori almost 7 years ago
- Status changed from ON_DEV to MODIFIED
- Assignee deleted (
Alessandro Polidori) - % Done changed from 30 to 60
#21 Updated by Alessandro Polidori almost 7 years ago
nethserver-testing
Packages:
- nethserver-owncloud-1.0.2-7.0git3ea1b772.ns6.noarch.rpm
- owncloud-3rdparty-7.0.2-17.1.noarch.rpm
- owncloud-7.0.2-17.1.noarch.rpm
- Test clean installation
- install
nethserver-owncloud 7
in NethServer 6.5 withoutownCloud 5
installed. Theupdates
repo may be necessary. - verify that installation ends with success (no error generation in the command line and in the log file
/var/log/messages
) - verify default login authentication with default credentials of admin user.
- create a new user in NethServer (https://server:980) and set its password (or use one already present)
- verify owncloud login authentication with new user credentials
- try to test all the general ownCloud functionalities
- install
- Test the update from ownCloud 5 (with no ldap authentication configured)
- update from OC5 to OC7
- verify that the update ends with success (no error generation in the command line and in the log file
/var/log/messages
) - go to https://server/owncloud and verify that no "upgrade" button is present (the upgrade is automatically done)
- verify that the old OC configuration has not been changed
- verify that the old OC authentication continues to work correctly
- configure LDAP authentication (see the admin manual section)
- create a new user in NethServer (https://server:980) and set its password (or use one already present)
- verify owncloud login authentication with new user credentials
- Test the update from ownCloud 5 (with ldap authentication configured)
- update from OC5 to OC7
- verify that the update ends with success (no error generation in the command line and in the log file
/var/log/messages
) - go to https://server/owncloud and verify that no "upgrade" button is present (the upgrade is automatically done)
- verify that the old OC configuration has not been changed
- verify that the old OC authentication (default and LDAP) continues to work correctly
- create a new user in NethServer (https://server:980) and set its password (or use one already present)
- verify owncloud login authentication with new user credentials
- For each test
- try to test all the general ownCloud functionalities
#22 Updated by Alessandro Polidori almost 7 years ago
- Status changed from MODIFIED to ON_QA
- % Done changed from 60 to 70
#23 Updated by Giacomo Sanchietti almost 7 years ago
- Status changed from ON_QA to TRIAGED
- % Done changed from 70 to 20
Owncloud does not reload LDAP users after creating/editing/modifying a system user.
#24 Updated by Giacomo Sanchietti almost 7 years ago
- Status changed from TRIAGED to ON_DEV
- Assignee set to Alessandro Polidori
- % Done changed from 20 to 30
#25 Updated by Alessandro Polidori almost 7 years ago
Giacomo Sanchietti wrote:
Owncloud does not reload LDAP users after creating/editing/modifying a system user.
The LDAP user list is cached with a default refresh interval time of ten minutes.
It should be possible to force the cache to zero with:
php -d "magic_quotes_gpc = Off" /var/www/html/owncloud/occ ldap:set-config '' ldapCacheTTL 0
but this is not recommended because of performance, also when it is used with client extension.
So, I have updated the official documentation with a manual method to force the refresh of the list:
Refresh user list
When you create a new system user, it does not appears immediately in the ownCloud user list (admin -> Users). This is because a cache interval is expected and the default value is ten minutes. So if you want to force the update of the user list you must do the following actions:
admin -> Admin
click “Advanced” tab
click “Save” button
admin -> Users
#26 Updated by Alessandro Polidori almost 7 years ago
The backup save the configuration file/var/www/html/owncloud/config/config.php
and all data of the users/var/www/html/owncloud/data
The apps /var/www/html/owncloud/apps
are not copied, so after a restore they must be manually re-installed.
#27 Updated by Alessandro Polidori almost 7 years ago
- Status changed from ON_DEV to MODIFIED
- Assignee deleted (
Alessandro Polidori) - % Done changed from 30 to 60
#28 Updated by Alessandro Polidori almost 7 years ago
- Status changed from MODIFIED to ON_QA
- % Done changed from 60 to 70
nethserver-testing
Packages:
- nethserver-owncloud-1.0.2-7.0git3ea1b772.ns6.noarch.rpm
- owncloud-3rdparty-7.0.2-17.1.noarch.rpm
- owncloud-7.0.2-17.1.noarch.rpm
- Test clean installation
- install
nethserver-owncloud 7
in NethServer 6.5 withoutownCloud 5
installed. Theupdates
repo may be necessary. - verify that installation ends with success (no error generation in the command line and in the log file
/var/log/messages
) - verify default login authentication with default credentials of admin user.
- create a new user in NethServer (https://server:980) and set its password (or use one already present)
- verify owncloud login authentication with new user credentials
- try to test all the general ownCloud functionalities
- install
- Test the update from ownCloud 5 (with no ldap authentication configured)
- update from OC5 to OC7
- verify that the update ends with success (no error generation in the command line and in the log file
/var/log/messages
) - go to https://server/owncloud and verify that no "upgrade" button is present (the upgrade is automatically done)
- verify that the old OC configuration has not been changed
- verify that the old OC authentication continues to work correctly
- configure LDAP authentication (see the admin manual section)
- create a new user in NethServer (https://server:980) and set its password (or use one already present)
- verify owncloud login authentication with new user credentials
- Test the update from ownCloud 5 (with ldap authentication configured)
- update from OC5 to OC7
- verify that the update ends with success (no error generation in the command line and in the log file
/var/log/messages
) - go to https://server/owncloud and verify that no "upgrade" button is present (the upgrade is automatically done)
- verify that the old OC configuration has not been changed
- verify that the old OC authentication (default and LDAP) continues to work correctly
- create a new user in NethServer (https://server:980) and set its password (or use one already present)
- verify owncloud login authentication with new user credentials
- For each test
- try to test all the general ownCloud functionalities
- Test backup & restore
- create new users
- create some data for new users
- create & restore the backups and finally verify that the configuration is the same and all user data are present
- Test the use of only ldap admin user
- follow the instructions here
#29 Updated by Alessio Fattorini almost 7 years ago
- Assignee set to Alessio Fattorini
#30 Updated by Alessio Fattorini almost 7 years ago
- Test the update from ownCloud 5 (with ldap authentication configured)
- update from OC5 to OC7
- verify that the update ends with success (no error generation in the command line and in the log file
/var/log/messages
)- go to https://server/owncloud and verify that no "upgrade" button is present (the upgrade is automatically done)
I can't login because this error at login page
[1045] SQLSTATE28000 [1045] Access denied for user 'ownuser'@'localhost' (using password: YES)
Same error on owncloud.log
{"app":"index","message":"PDOException: SQLSTATE28000 [1045] Access denied for user 'ownuser'@'localhost' (using password: YES) [1045]","level":4,"time":"2014-07-05T09:35:13+00:00"}
Test Failed
#31 Updated by Alessio Fattorini almost 7 years ago
- Status changed from ON_QA to TRIAGED
- Assignee deleted (
Alessio Fattorini) - % Done changed from 70 to 20
#32 Updated by Alessandro Polidori almost 7 years ago
- Status changed from TRIAGED to ON_DEV
- Assignee set to Alessandro Polidori
- % Done changed from 20 to 30
#33 Updated by Alessandro Polidori almost 7 years ago
The problem
After upgrade from 5 to 7 the config.php remains the old and it uses the old password.
Now the nethserver-owncloud new package generate a different password for each installation, so the software crash to login owncloud database.
The solution
Find a method to regenerate the correct config.php file.
Note
"You cannot skip major releases; for example, upgrading from 5.0 to 7.0. This is unsupported, and you’ll likely experience unpredictable results. It is best to install all upgrades and updates in order." reported by the official doc page.
Nevertheless we have decided to do the upgrade from 5 to 7 because the upgrade of the databases is made by the occ
command line tool.
#34 Updated by Alessandro Polidori almost 7 years ago
I have enabled also HTTPS by default inserting "forcessl": true
in the config.php file.
#35 Updated by Alessandro Polidori almost 7 years ago
- Status changed from ON_DEV to MODIFIED
- Assignee deleted (
Alessandro Polidori) - % Done changed from 30 to 60
#36 Updated by Alessandro Polidori almost 7 years ago
nethserver-testing
Packages:
- nethserver-owncloud-1.0.2-10.0git30645abe.ns6.noarch.rpm
- owncloud-3rdparty-7.0.2-17.1.noarch.rpm
- owncloud-7.0.2-17.1.noarch.rpm
- Test clean installation
- install
nethserver-owncloud 7
in NethServer 6.5 withoutownCloud 5
installed. Theupdates
repo may be necessary. - verify that installation ends with success (no error generation in the command line and in the log file
/var/log/messages
) - verify default login authentication with default credentials of admin user.
- create a new user in NethServer (https://server:980) and set its password (or use one already present)
- verify owncloud login authentication with new user credentials
- try to test all the general ownCloud functionalities
- install
- Test the update from ownCloud 5 (with no ldap authentication configured)
- update from OC5 to OC7
- verify that the update ends with success (no error generation in the command line and in the log file
/var/log/messages
) - go to https://server/owncloud and verify that no "upgrade" button is present (the upgrade is automatically done)
- verify that the old OC configuration has not been changed
- verify that the old OC authentication continues to work correctly
- configure LDAP authentication (see the admin manual section)
- create a new user in NethServer (https://server:980) and set its password (or use one already present)
- verify owncloud login authentication with new user credentials
- Test the update from ownCloud 5 (with ldap authentication configured)
- update from OC5 to OC7
- verify that the update ends with success (no error generation in the command line and in the log file
/var/log/messages
) - go to https://server/owncloud and verify that no "upgrade" button is present (the upgrade is automatically done)
- verify that the old OC configuration has not been changed
- verify that the old OC authentication (default and LDAP) continues to work correctly
- create a new user in NethServer (https://server:980) and set its password (or use one already present)
- verify owncloud login authentication with new user credentials
- For each test
- try to test all the general ownCloud functionalities
- Test backup & restore
- create new users
- create some data for new users
- create & restore the backups and finally verify that the configuration is the same and all user data are present
- Test the use of only ldap admin user
- follow the instructions here
- Test HTTPS
- for both "clear installation" and "upgrade" test that in "admin -> Admin", "Enforce HTTPS" is enabled by default
#37 Updated by Alessandro Polidori almost 7 years ago
- Status changed from MODIFIED to ON_QA
- % Done changed from 60 to 70
#38 Updated by Alessio Fattorini almost 7 years ago
- Assignee set to Alessio Fattorini
#39 Updated by Alessio Fattorini almost 7 years ago
> # *Test the update from ownCloud 5 (with ldap authentication configured)*
- update from OC5 to OC7
- verify that the update ends with success (no error generation in the command line and in the log file
/var/log/messages
)
no error
- go to https://server/owncloud and verify that no "upgrade" button is present (the upgrade is automatically done)
verified, no button
- verify that the old OC configuration has not been changed
verified
- verify that the old OC authentication (default and LDAP) continues to work correctly
verified
- create a new user in NethServer (https://server:980) and set its password (or use one already present)
- verify owncloud login authentication with new user credentials
verified
- For each test
- try to test all the general ownCloud functionalities
verified
- Test HTTPS
- for both "clear installation" and "upgrade" test that in "admin -> Admin", "Enforce HTTPS" is enabled by default
verified on upgrade
#40 Updated by Alessio Fattorini almost 7 years ago
- Test backup & restore
- create new users
- create some data for new users
- create & restore the backups and finally verify that the configuration is the same and all user data are present
verified only with backup-data
it works, we should document
- Test the use of only ldap admin user
- follow the instructions here
- change admin_xxx group, checking "admin"
- change admin password is the same of LDAP admin
- logout and login with LDAP admin
- delete owncloud admin, named "admin"
- Test HTTPS
- for both "clear installation" and "upgrade" test that in "admin -> Admin", "Enforce HTTPS" is enabled by default
verified
#41 Updated by Alessio Fattorini almost 7 years ago
- Test the update from ownCloud 5 (with no ldap authentication configured)
- update from OC5 to OC7
- verify that the update ends with success (no error generation in the command line and in the log file
/var/log/messages
)
verified
- go to https://server/owncloud and verify that no "upgrade" button is present (the upgrade is automatically done)
verified
- verify that the old OC configuration has not been changed
- verify that the old OC authentication continues to work correctly
verified
- create a new user in NethServer (https://server:980) and set its password (or use one already present)
verified
- verify owncloud login authentication with new user credentials
verified
Tested also "External storage support" app- intalled on OC5
- configured and verified
- upgrade on OC7
- verified it continues to work correctly
remains TO BE tested
- configure LDAP authentication (see the admin manual section)
and clean install of version 7
#42 Updated by Anonymous almost 7 years ago
Test clean installation
1. install nethserver-owncloud 7 in NethServer 6.5 without ownCloud 5 installed Done Ok .
2. verify that installation ends with success (no error generation in the command line and in the log file /var/log/messages) Done and all seems to be ok .
In messages i've found only: "Oct 31 16:18:05 kthulu nslcd1359: [8b4567] ldap_result() failed: No such object" , but i don't know if it's related to owncloud.
3. verify default login authentication with default credentials of admin user. Fail : Blank page, no login prompted .
In /var/www/html/owncloud/data/owncloud.log i've
{"app":"user_ldap","message":"Configuration Error (prefix ): No LDAP Port given!","level":2,"time":"2014-10-31T15:18:24+00:00"}
{"app":"user_ldap","message":"Configuration Error (prefix ): No LDAP Login Filter given!","level":2,"time":"2014-10-31T15:18:24+00:00"}
{"app":"user_ldap","message":"Configuration Error (prefix ): login filter does not contain %uid place holder.","level":2,"time":"2014-10-3
#43 Updated by Alessandro Polidori almost 7 years ago
- Related to Task #2942: Documentation: use only ldap admin user. added
#44 Updated by Alessandro Polidori almost 7 years ago
Alessio Fattorini wrote:
it works, we should document
- Test the use of only ldap admin user
- follow the instructions here
- change admin_xxx group, checking "admin"
- change admin password is the same of LDAP admin
- logout and login with LDAP admin
- delete owncloud admin, named "admin"
I opened the #2942 task.
#45 Updated by Alessio Fattorini almost 7 years ago
- Assignee deleted (
Alessio Fattorini)
#46 Updated by Alessio Fattorini almost 7 years ago
@alepolidori: can you put this issue on DEV status and verify why step 1 fails?
#47 Updated by Alessandro Polidori almost 7 years ago
- Assignee set to Alessio Fattorini
Alessio Fattorini wrote:
@alepolidori: can you put this issue on DEV status and verify why step 1 fails?
Of course. I am testing the clean installation to find out the problem.
Then I try to fix it ;)
#48 Updated by Alessandro Polidori almost 7 years ago
- Status changed from ON_QA to TRIAGED
- % Done changed from 70 to 20
#49 Updated by Giacomo Sanchietti almost 7 years ago
- Assignee deleted (
Alessio Fattorini)
#50 Updated by Alessandro Polidori almost 7 years ago
- Status changed from TRIAGED to ON_DEV
- Assignee set to Alessandro Polidori
- % Done changed from 20 to 30
#51 Updated by Alessandro Polidori almost 7 years ago
- Status changed from ON_DEV to MODIFIED
- Assignee deleted (
Alessandro Polidori) - % Done changed from 30 to 60
#52 Updated by Alessandro Polidori almost 7 years ago
- Assignee set to Alessandro Polidori
#53 Updated by Alessandro Polidori almost 7 years ago
I have uploaded the following new packages:
owncloud-7.0.2-28.1.noarch owncloud-3rdparty-7.0.2-28.1.noarch
from here
#54 Updated by Alessandro Polidori almost 7 years ago
LDAP does not work, so ldap TLS has been disabled, because of the following error in the log:
{"app":"PHP","message":"ldap_start_tls() [<a href='function.ldap-start-tls'>function.ldap-start-tls<\/a>]: Unable to start TLS: Connect error at \/var\/www\/html\/owncloud\/apps\/user_ldap\/lib\/ldap.php#252","level":3,"time":"2014-11-04T14:58:57+00:00"} {"app":"user_ldap","message":"Bind failed: -1: Can't contact LDAP server","level":3,"time":"2014-11-04T14:58:57+00:00"} {"app":"PHP","message":"ldap_start_tls() [<a href='function.ldap-start-tls'>function.ldap-start-tls<\/a>]: Unable to start TLS: Connect error at \/var\/www\/html\/owncloud\/apps\/user_ldap\/lib\/ldap.php#252","level":3,"time":"2014-11-04T14:58:57+00:00"} {"app":"user_ldap","message":"Bind failed: -1: Can't contact LDAP server","level":3,"time":"2014-11-04T14:58:57+00:00"} {"app":"user_ldap","message":"Connection could not be established","level":3,"time":"2014-11-04T14:58:57+00:00"}
I have added the following to the config.php:
'check_for_working_webdav' => false,
because of the following error in the log:
{"app":"core","message":"isWebDAVWorking: NO - Reason: [CURL] Error while making request: Problem with the SSL CA cert (path? access rights?) (error code: 77) (Sabre\\DAV\\Exception)","level":2,"time":"2014-11-04T14:59:49+00:00"}
#55 Updated by Alessandro Polidori almost 7 years ago
The ldap cache is now set to "0".
So the user list does not be manually updated and so I have updated also the admin documentation.
#56 Updated by Alessandro Polidori almost 7 years ago
- Status changed from MODIFIED to ON_QA
- Assignee deleted (
Alessandro Polidori) - % Done changed from 60 to 70
Repo: nethserver-testing
Packages:- nethserver-owncloud-1.0.2-14.0git46c9dbb6.ns6.noarch.rpm
- owncloud-3rdparty-7.0.2-28.1.noarch.rpm
- owncloud-7.0.2-28.1.noarch.rpm
- Test the update from ownCloud 5 (with no ldap authentication configured)
- configure LDAP authentication (see the admin manual section)
- clean install of version 7
It is recommended to repeat the other test.
#57 Updated by Anonymous over 6 years ago
test 1
Clean installation done, owncloud webpage visible (no login) with some errors
"No database drivers (sqlite, mysql, or postgresql) installed."
"PHP module GD not installed.Please ask your server administrator to install the module."
"PHP module PDO not installed.Please ask your server administrator to install the module."
"PHP modules have been installed, but they are still listed as missing?Please ask your server administrator to restart the web server."
#58 Updated by Alessio Fattorini over 6 years ago
I confirm the behaviour described by Michele
It seems we need to have these dendencies php-pdo php-gd
If I install them this problem disappears but another come out, owncloud asks me to configure admin credentials and database (wrong behaviour)
If I install these packages:
php-pear-MDB2-Driver-mysqli php-pear-Net-Curl
this second problem disappears too.
See this diff from packages required by owncloud version 5 and 7
< config(owncloud) = 7.0.2-28.1
---
config(owncloud) = 5.0.12-12.1
7a7
ntp
9a10
php-gd
11a13,14
php-pear-MDB2-Driver-mysqli
php-pear-Net-Curl
15d17
< policycoreutils-python
17a20
rpmlib(PartialHardlinkSets) <= 4.0.4-1
I think that owncloud 7 rpm doesn't have all right dependencies
#59 Updated by Anonymous over 6 years ago
now we have this message
"You are accessing the server from an untrusted domain.
Please contact your administrator. If you are an administrator of this instance, configure the "trusted_domain" setting in config/config.php. An example configuration is provided in config/config.sample.php.
Depending on your configuration, as an administrator you might also be able to use the button below to trust this domain.
"
#60 Updated by Alessandro Polidori over 6 years ago
- Status changed from ON_QA to TRIAGED
- % Done changed from 70 to 20
The problem is caused by owncloud-7.0.2-28.1.noarch.rpm
package.
It removes some depencies.
Now I have removed
owncloud-7.0.2-28.1.noarch.rpm owncloud-3rdparty-7.0.2-28.1.noarch.rpm
in favor of precedent versions:
owncloud-7.0.2-17.1.noarch.rpm owncloud-3rdparty-7.0.2-17.1.noarch.rpm
#61 Updated by Alessandro Polidori over 6 years ago
- Status changed from TRIAGED to MODIFIED
- % Done changed from 20 to 60
#62 Updated by Alessandro Polidori over 6 years ago
- Status changed from MODIFIED to ON_QA
- % Done changed from 60 to 70
#63 Updated by Alessandro Polidori over 6 years ago
Repo: nethserver-testing
Packages:
nethserver-owncloud-1.0.2-14.0git46c9dbb6.ns6.noarch.rpm
owncloud-7.0.2-17.1.noarch.rpm
owncloud-3rdparty-7.0.2-17.1.noarch.rpm
Test to be done:
- Test the update from ownCloud 5 (with no ldap authentication configured)
- configure LDAP authentication (see the admin manual section)
- clean install of version 7
It is recommended to repeat the other test.
#64 Updated by Anonymous over 6 years ago
Test clean installation WORKS!
All done well done !
#65 Updated by Alessio Fattorini over 6 years ago
Alessandro Polidori wrote:
It is recommended to repeat the other test.
I maked all previuos tests with owncloud-7.0.2-17.1.noarch.rpm then from my point of view repeat tests isn't mandatory
#66 Updated by Alessandro Polidori over 6 years ago
- Status changed from ON_QA to VERIFIED
- % Done changed from 70 to 90
#67 Updated by Giacomo Sanchietti over 6 years ago
Fixed and error on upgrade from 5 to 7, see https://github.com/owncloud/core/issues/6152#issuecomment-30236917
New package in nethserver-testing:- nethserver-owncloud-1.0.2-15.0gitf3a5a923.ns6.noarch.rpm
Patch has been already tested.
As reported before, upgrade from version 5 to 7 is not supported.
Even if all tests went good, the package will be in testing for a while to find possible problems when upgrading old releases.
#68 Updated by Giacomo Sanchietti over 6 years ago
- Status changed from VERIFIED to CLOSED
- % Done changed from 90 to 100
- nethserver-owncloud-1.1.0-1.ns6.noarch.rpm
- owncloud-7.0.2-17.1.noarch.rpm
- owncloud-3rdparty-7.0.2-17.1.noarch.rpm