nethserver 6 - enhancement #2669dev.nethserver.org/issues/2669.pdf · new owncloud developer doc....
TRANSCRIPT
NethServer 6 - Enhancement #2669Upgrade to ownCloud 702/25/2014 02:35 PM - Alessio Fattorini
Status: CLOSED Start date:Priority: Normal Due date:Assignee: % Done: 100%Category: nethserver-owncloudTarget version: v6.5Resolution: NEEDINFO: NoDescriptionIt's necessary to update the package for working with Owncloud 7.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:Enhancement # 2341: Automatic ownCloud LDAP configuration CLOSEDRelated issues:Related to NethServer 6 - Bug # 2670: Can't find ownCloud LDAP secret password CLOSEDRelated to NethServer 6 - Bug # 2910: ownCloud 7 rpm package has missing depe... CLOSEDRelated to NethServer 6 - Task # 2942: Documentation: use only ldap admin user. CLOSED
Associated revisionsRevision e7541453 - 10/01/2014 09:53 AM - Alessandro Polidori
New ownCloud dashboard widget application. Refs #2669
Revision 44a0e138 - 10/02/2014 09:58 AM - Alessandro Polidori
New ownCloud dashboard widget application. Refs #2669
Revision 99da9770 - 10/03/2014 07:37 PM - Alessandro Polidori
New ownCloud dashboard widget application. Refs #2669
Revision 2eafe69a - 10/05/2014 12:14 AM - Alessandro Polidori
Patch ownCloud "occ" command line tool. Refs #2669
Revision 593a33ca - 10/05/2014 12:24 AM - Alessandro Polidori
ownCloud ldap config initialization. Refs #2669
12/01/2020 1/20
Revision a3d91ec8 - 10/05/2014 12:57 AM - Alessandro Polidori
Fix /usr/libexec/nethserver/owncloud-ldap-init. Refs #2669
Revision 33bc0054 - 10/05/2014 01:00 AM - Alessandro Polidori
Second fix /usr/libexec/nethserver/owncloud-ldap-init. Refs #2669
Revision b1d658b5 - 10/05/2014 01:43 AM - Alessandro Polidori
Change init ldap script to an action. Refs #2669
Revision bf10d563 - 10/05/2014 01:52 AM - Alessandro Polidori
Set "en" as ownCloud default language. Refs #2669
Revision 750c4d95 - 10/05/2014 02:16 AM - Alessandro Polidori
Spec: fix ownCloud dir permissions. Refs #2669
Revision fb74d3d9 - 10/05/2014 02:27 AM - Alessandro Polidori
Remove ldap password from widget. Refs #2669
Revision e7a35c9d - 10/05/2014 02:48 AM - Alessandro Polidori
Add owncloud template-begin for register_command.php. refs #2669
Revision 4c18daeb - 10/05/2014 03:52 AM - Alessandro Polidori
Fix owncloud file permissions. Refs #2669
Revision 9a1a89a7 - 10/06/2014 03:55 AM - Alessandro Polidori
Change first url request with curl. Refs #2669
Revision 0c204d7d - 10/06/2014 05:52 AM - Alessandro Polidori
Add "trusted_domains" to nethserver-owncloud-conf. Refs #2669
Revision 226fa267 - 10/06/2014 10:47 PM - Alessandro Polidori
Fix string in php array in nethserver-owncloud-conf. Refs #2669
12/01/2020 2/20
Revision 671b4884 - 10/07/2014 01:29 AM - Alessandro Polidori
Change order of action "nethserver-owncloud-conf-ldap". Refs #2669
Revision 0a2a1311 - 10/07/2014 04:17 AM - Alessandro Polidori
Fix to support ownCloud 7.0.2. Refs #2669
Revision 38115e6f - 10/07/2014 04:19 AM - Alessandro Polidori
Add ownCloud dashboard widget. Refs #2669
Revision 853327d4 - 10/07/2014 06:20 AM - Alessandro Polidori
Manage automatic db upgrade from 5 to 7 version. Refs #2669
Revision 87b24a5e - 10/07/2014 10:55 AM - Alessandro Polidori
Fix "email" ldap attribute. Refs #2669
Revision de82c250 - 10/07/2014 02:14 PM - Alessandro Polidori
Fix action "nethserver-owncloud-conf-ldap". Refs #2669
Revision 5650cefe - 10/14/2014 11:48 AM - Alessandro Polidori
Remove ntp template expansion. Refs #2669
Revision cacf52a2 - 10/16/2014 09:27 AM - Alessandro Polidori
Add ownCloud section. Refs #2669
Revision 7476e6ee - 10/17/2014 04:30 AM - Alessandro Polidori
Fix owncloud.rst. Refs #2669
Revision fab79cc5 - 10/17/2014 06:17 AM - Alessandro Polidori
it admin manual: new owncloud section. Refs #2669
Revision 709e0854 - 10/17/2014 06:17 AM - Alessandro Polidori
12/01/2020 3/20
en admin manual: fix owncloud note. Refs #2669
Revision 4184ba9b - 10/17/2014 06:24 PM - Alessandro Polidori
Fix ownCloud 7 backup. Refs #2669
Revision 4792a6bb - 10/20/2014 05:47 AM - Alessandro Polidori
Add "ownCloud" substitution keyword. Refs #2669
Revision 8d0beae1 - 10/20/2014 06:00 AM - Alessandro Polidori
LDAP Note in owncloud.rst. Refs #2669
Revision d2dc0757 - 10/21/2014 04:00 AM - Alessandro Polidori
ownCloud: refresh ldap user list. refs #2669
Revision 6927495f - 10/21/2014 10:30 AM - Alessandro
Merge pull request #41 from alepolidori/master
New ownCloud note section. Refs #2669
Revision 005769cb - 10/22/2014 10:39 AM - Alessandro Polidori
Fix ownclud backup tool name. Refs #2669
Revision 95822e5a - 10/22/2014 10:42 AM - Alessandro Polidori
New ownCloud developer doc. Refs #2669
Revision 0d59541b - 10/22/2014 10:43 AM - Alessandro
Merge pull request #42 from alepolidori/master
New ownCloud developer doc. Refs #2669
Revision 96ed3639 - 10/24/2014 05:51 AM - Alessandro Polidori
"default_language" key in autoconfig is not accepted. Refs #2669
Revision 30645abe - 10/24/2014 11:22 AM - Alessandro Polidori
12/01/2020 4/20
Fix config.php when upgrade from version 5. Refs #2669
Revision d42c710d - 10/25/2014 08:48 AM - Alessandro Polidori
Fix nethserver-owncloud-conf-ldap. Refs #2669
Revision e8057e23 - 10/25/2014 02:12 PM - Alessandro Polidori
Do not use TLS and do not check for webdav. Refs #2669
Revision 3ff996fa - 10/25/2014 02:35 PM - Alessandro Polidori
Disable ldap cache. Refs #2669
Revision 46c9dbb6 - 10/25/2014 03:42 PM - Alessandro Polidori
Disable tls and ldap cache also when update. Refs #2669
Revision 29c9d2bf - 11/05/2014 04:35 AM - Alessandro Polidori
Fix owncloud.rst. Refs #2669
Revision f3a5a923 - 11/12/2014 09:30 AM - Giacomo Sanchietti
Conf action: fix sql schema upgrade. Refs #2669
See: https://github.com/owncloud/core/issues/6152#issuecomment-30236917
History#1 - 02/28/2014 10:30 AM - Davide Principi- Target version set to ~FUTURE
#2 - 03/05/2014 03:36 PM - Davide Principi- Subject changed from Support for Owncloud6 to Upgrade to ownCloud 6- Priority changed from Low to Normal
#3 - 06/26/2014 11:18 AM - Alessio Fattorini- Subject changed from Upgrade to ownCloud 6 to Upgrade to ownCloud 7
#4 - 06/26/2014 11:20 AM - Alessio Fattorini- Description updated
#5 - 06/28/2014 03:19 AM - Alessio Fattorini- Description updated
#6 - 09/04/2014 05:32 AM - Alessio Fattorini
12/01/2020 5/20
- Description updated
#7 - 09/16/2014 05:46 AM - Giacomo Sanchietti- 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 passwordfor LDAP configurationAlso update the documentation: - move wiki pages to Developer manual - create a chapter for the Administrator manual with basic informations: - installation - changing the admin password - LDAP configuration
#8 - 09/23/2014 03:49 AM - Alessandro Polidori- Assignee set to Alessandro Polidori
#9 - 09/23/2014 05:23 AM - Alessandro Polidori- Assignee deleted (Alessandro Polidori)
#10 - 09/23/2014 11:35 AM - Alessandro Polidori
How to use yum-downloadonly: https://access.redhat.com/solutions/10154
#11 - 09/23/2014 11:36 AM - Alessandro Polidori- Status changed from TRIAGED to ON_DEV- Assignee set to Alessandro Polidori- % Done changed from 20 to 30
#12 - 10/01/2014 09:52 AM - Alessandro Polidori
I have downloaded new version of ownCloud for CentOS-6:
owncloud-3rdparty-7.0.2-12.1.noarchowncloud-7.0.2-12.1.noarch
and I have uploaded them into "testing" repository.
#13 - 10/14/2014 06:12 AM - Alessandro Polidori
Upgrade from release 5 is automatically done by the occ tool.
12/01/2020 6/20
#14 - 10/16/2014 09:34 AM - Giacomo Sanchietti
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 - 10/16/2014 10:07 AM - Giacomo Sanchietti- Related to Bug #2910: ownCloud 7 rpm package has missing dependency. added
#16 - 10/16/2014 10:08 AM - Alessandro Polidori
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 - 10/16/2014 10:10 AM - Alessandro Polidori
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 - 10/16/2014 10:18 AM - Alessandro Polidori
Admin manualDeveloper manual
#19 - 10/16/2014 10:22 AM - Alessandro Polidori
Giacomo Sanchietti wrote:
Upstream official rpm package doesn't have policycoreutils-python among dependencies.Errors on install:[...]
12/01/2020 7/20
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.rpmowncloud-7.0.2-17.1.noarch.rpm
#20 - 10/16/2014 11:16 AM - Alessandro Polidori- Status changed from ON_DEV to MODIFIED- Assignee deleted (Alessandro Polidori)- % Done changed from 30 to 60
#21 - 10/16/2014 11:36 AM - Alessandro PolidoriRepo: nethserver-testingPackages: - 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
1. Test clean installation 1. install nethserver-owncloud 7 in NethServer 6.5 without ownCloud 5 installed. The updates repo may be necessary. 2. verify that installation ends with success (no error generation in the command line and in the log file /var/log/messages) 3. verify default login authentication with default credentials of admin user. 4. create a new user in NethServer (https://server:980) and set its password (or use one already present) 5. verify owncloud login authentication with new user credentials 6. try to test all the general ownCloud functionalities 2. Test the update from ownCloud 5 (with no ldap authentication configured) 1. update from OC5 to OC7 2. verify that the update ends with success (no error generation in the command line and in the log file /var/log/messages) 3. go to https://server/owncloud and verify that no "upgrade" button is present (the upgrade is automatically done) 4. verify that the old OC configuration has not been changed 5. verify that the old OC authentication continues to work correctly 6. configure LDAP authentication (see the admin manual section) 7. create a new user in NethServer (https://server:980) and set its password (or use one already present) 8. verify owncloud login authentication with new user credentials 3. Test the update from ownCloud 5 (with ldap authentication configured) 1. update from OC5 to OC7 2. verify that the update ends with success (no error generation in the command line and in the log file /var/log/messages) 3. go to https://server/owncloud and verify that no "upgrade" button is present (the upgrade is automatically done) 4. verify that the old OC configuration has not been changed 5. verify that the old OC authentication (default and LDAP) continues to work correctly 6. create a new user in NethServer (https://server:980) and set its password (or use one already present) 7. verify owncloud login authentication with new user credentials 4. For each test 1. try to test all the general ownCloud functionalities
#22 - 10/16/2014 11:36 AM - Alessandro Polidori- Status changed from MODIFIED to ON_QA
12/01/2020 8/20
- % Done changed from 60 to 70
#23 - 10/20/2014 07:59 AM - Giacomo Sanchietti- 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 - 10/20/2014 07:59 AM - Giacomo Sanchietti- Status changed from TRIAGED to ON_DEV- Assignee set to Alessandro Polidori- % Done changed from 20 to 30
#25 - 10/21/2014 10:15 AM - Alessandro Polidori
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 isexpected 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 -> Adminclick “Advanced” tabclick “Save” buttonadmin -> Users
#26 - 10/21/2014 10:17 AM - Alessandro Polidori
The backup save the configuration file/var/www/html/owncloud/config/config.phpand 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 - 10/21/2014 10:17 AM - Alessandro Polidori- Status changed from ON_DEV to MODIFIED
12/01/2020 9/20
- Assignee deleted (Alessandro Polidori)- % Done changed from 30 to 60
#28 - 10/21/2014 10:20 AM - Alessandro Polidori- Status changed from MODIFIED to ON_QA- % Done changed from 60 to 70
Repo: nethserver-testingPackages: - 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
1. Test clean installation 1. install nethserver-owncloud 7 in NethServer 6.5 without ownCloud 5 installed. The updates repo may be necessary. 2. verify that installation ends with success (no error generation in the command line and in the log file /var/log/messages) 3. verify default login authentication with default credentials of admin user. 4. create a new user in NethServer (https://server:980) and set its password (or use one already present) 5. verify owncloud login authentication with new user credentials 6. try to test all the general ownCloud functionalities 2. Test the update from ownCloud 5 (with no ldap authentication configured) 1. update from OC5 to OC7 2. verify that the update ends with success (no error generation in the command line and in the log file /var/log/messages) 3. go to https://server/owncloud and verify that no "upgrade" button is present (the upgrade is automatically done) 4. verify that the old OC configuration has not been changed 5. verify that the old OC authentication continues to work correctly 6. configure LDAP authentication (see the admin manual section) 7. create a new user in NethServer (https://server:980) and set its password (or use one already present) 8. verify owncloud login authentication with new user credentials 3. Test the update from ownCloud 5 (with ldap authentication configured) 1. update from OC5 to OC7 2. verify that the update ends with success (no error generation in the command line and in the log file /var/log/messages) 3. go to https://server/owncloud and verify that no "upgrade" button is present (the upgrade is automatically done) 4. verify that the old OC configuration has not been changed 5. verify that the old OC authentication (default and LDAP) continues to work correctly 6. create a new user in NethServer (https://server:980) and set its password (or use one already present) 7. verify owncloud login authentication with new user credentials 4. For each test 1. try to test all the general ownCloud functionalities 5. Test backup & restore 1. create new users 2. create some data for new users 3. create & restore the backups and finally verify that the configuration is the same and all user data are present 6. Test the use of only ldap admin user 1. follow the instructions here
#29 - 10/23/2014 06:35 AM - Alessio Fattorini- Assignee set to Alessio Fattorini
#30 - 10/23/2014 06:59 AM - Alessio Fattorini 1. Test the update from ownCloud 5 (with ldap authentication configured)
1. update from OC5 to OC7
12/01/2020 10/20
2. verify that the update ends with success (no error generation in the command line and in the log file /var/log/messages) 3. 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 - 10/23/2014 09:57 AM - Alessio Fattorini- Status changed from ON_QA to TRIAGED- Assignee deleted (Alessio Fattorini)- % Done changed from 70 to 20
#32 - 10/23/2014 10:01 AM - Alessandro Polidori- Status changed from TRIAGED to ON_DEV- Assignee set to Alessandro Polidori- % Done changed from 20 to 30
#33 - 10/24/2014 05:06 AM - Alessandro Polidori
The problemAfter 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 solutionFind 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 isbest 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 - 10/24/2014 11:56 AM - Alessandro Polidori
I have enabled also HTTPS by default inserting "forcessl": true in the config.php file.
#35 - 10/24/2014 11:56 AM - Alessandro Polidori- Status changed from ON_DEV to MODIFIED- Assignee deleted (Alessandro Polidori)- % Done changed from 30 to 60
#36 - 10/24/2014 12:01 PM - Alessandro PolidoriRepo: nethserver-testingPackages: - nethserver-owncloud-1.0.2-10.0git30645abe.ns6.noarch.rpm
12/01/2020 11/20
- owncloud-3rdparty-7.0.2-17.1.noarch.rpm - owncloud-7.0.2-17.1.noarch.rpm
1. Test clean installation 1. install nethserver-owncloud 7 in NethServer 6.5 without ownCloud 5 installed. The updates repo may be necessary. 2. verify that installation ends with success (no error generation in the command line and in the log file /var/log/messages) 3. verify default login authentication with default credentials of admin user. 4. create a new user in NethServer (https://server:980) and set its password (or use one already present) 5. verify owncloud login authentication with new user credentials 6. try to test all the general ownCloud functionalities 2. Test the update from ownCloud 5 (with no ldap authentication configured) 1. update from OC5 to OC7 2. verify that the update ends with success (no error generation in the command line and in the log file /var/log/messages) 3. go to https://server/owncloud and verify that no "upgrade" button is present (the upgrade is automatically done) 4. verify that the old OC configuration has not been changed 5. verify that the old OC authentication continues to work correctly 6. configure LDAP authentication (see the admin manual section) 7. create a new user in NethServer (https://server:980) and set its password (or use one already present) 8. verify owncloud login authentication with new user credentials 3. Test the update from ownCloud 5 (with ldap authentication configured) 1. update from OC5 to OC7 2. verify that the update ends with success (no error generation in the command line and in the log file /var/log/messages) 3. go to https://server/owncloud and verify that no "upgrade" button is present (the upgrade is automatically done) 4. verify that the old OC configuration has not been changed 5. verify that the old OC authentication (default and LDAP) continues to work correctly 6. create a new user in NethServer (https://server:980) and set its password (or use one already present) 7. verify owncloud login authentication with new user credentials 4. For each test 1. try to test all the general ownCloud functionalities 5. Test backup & restore 1. create new users 2. create some data for new users 3. create & restore the backups and finally verify that the configuration is the same and all user data are present 6. Test the use of only ldap admin user 1. follow the instructions here 7. Test HTTPS 1. for both "clear installation" and "upgrade" test that in "admin -> Admin", "Enforce HTTPS" is enabled by default
#37 - 10/24/2014 12:01 PM - Alessandro Polidori- Status changed from MODIFIED to ON_QA- % Done changed from 60 to 70
#38 - 10/30/2014 04:24 AM - Alessio Fattorini- Assignee set to Alessio Fattorini
#39 - 10/30/2014 07:02 AM - Alessio Fattorini
> # *Test the update from ownCloud 5 (with ldap authentication configured)* 1. update from OC5 to OC7 2. verify that the update ends with success (no error generation in the command line and in the log file /var/log/messages)
12/01/2020 12/20
no error
1. go to https://server/owncloud and verify that no "upgrade" button is present (the upgrade is automatically done)
verified, no button
1. verify that the old OC configuration has not been changed
verified
1. verify that the old OC authentication (default and LDAP) continues to work correctly
verified
1. create a new user in NethServer (https://server:980) and set its password (or use one already present) 2. verify owncloud login authentication with new user credentials
verified
1. For each test
1. try to test all the general ownCloud functionalities
verified
1. Test HTTPS
1. for both "clear installation" and "upgrade" test that in "admin -> Admin", "Enforce HTTPS" is enabled by default
verified on upgrade
#40 - 10/30/2014 09:46 AM - Alessio Fattorini
1. Test backup & restore
1. create new users 2. create some data for new users 3. create & restore the backups and finally verify that the configuration is the same and all user data are present
verified only with backup-data
1. Test the use of only ldap admin user
1. follow the instructions here
it works, we should document - 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"
12/01/2020 13/20
1. Test HTTPS
1. for both "clear installation" and "upgrade" test that in "admin -> Admin", "Enforce HTTPS" is enabled by default
verified
#41 - 10/30/2014 01:52 PM - Alessio Fattorini
1. Test the update from ownCloud 5 (with no ldap authentication configured)
1. update from OC5 to OC7 2. verify that the update ends with success (no error generation in the command line and in the log file /var/log/messages)
verified
1. go to https://server/owncloud and verify that no "upgrade" button is present (the upgrade is automatically done)
verified
1. verify that the old OC configuration has not been changed 2. verify that the old OC authentication continues to work correctly
verified
1. create a new user in NethServer (https://server:980) and set its password (or use one already present)
verified
1. verify owncloud login authentication with new user credentials
verifiedTested also "External storage support" app - intalled on OC5 - configured and verified - upgrade on OC7 - verified it continues to work correctly
remains TO BE tested 1. configure LDAP authentication (see the admin manual section)
and clean install of version 7
#42 - 10/31/2014 12:29 PM - Anonymous
Test clean installation
1. install nethserver-owncloud 7 in NethServer 6.5 without ownCloud 5 installed Done Ok .
12/01/2020 14/20
2. verify that installation ends with success (no error generation in the command line and in the log file /var/log/messages) Done and allseems 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 toowncloud.
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 Portgiven!","level":2,"time":"2014-10-31T15:18:24+00:00"} {"app":"user_ldap","message":"Configuration Error (prefix ): No LDAP Login Filtergiven!","level":2,"time":"2014-10-31T15:18:24+00:00"} {"app":"user_ldap","message":"Configuration Error (prefix ): login filter does not contain %uidplace holder.","level":2,"time":"2014-10-3
#43 - 10/31/2014 12:36 PM - Alessandro Polidori- Related to Task #2942: Documentation: use only ldap admin user. added
#44 - 10/31/2014 12:38 PM - Alessandro Polidori
Alessio Fattorini wrote: 1. Test the use of only ldap admin user
1. follow the instructions hereit works, we should document - 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 - 11/03/2014 04:17 AM - Alessio Fattorini- Assignee deleted (Alessio Fattorini)
#46 - 11/03/2014 04:18 AM - Alessio Fattorini
@alepolidori: can you put this issue on DEV status and verify why step 1 fails?
#47 - 11/03/2014 04:57 AM - Alessandro Polidori- 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 - 11/04/2014 03:22 AM - Alessandro Polidori- Status changed from ON_QA to TRIAGED- % Done changed from 70 to 20
12/01/2020 15/20
#49 - 11/04/2014 03:23 AM - Giacomo Sanchietti- Assignee deleted (Alessio Fattorini)
#50 - 11/04/2014 06:07 AM - Alessandro Polidori- Status changed from TRIAGED to ON_DEV- Assignee set to Alessandro Polidori- % Done changed from 20 to 30
#51 - 11/04/2014 08:50 AM - Alessandro Polidori- Status changed from ON_DEV to MODIFIED- Assignee deleted (Alessandro Polidori)- % Done changed from 30 to 60
#52 - 11/04/2014 08:50 AM - Alessandro Polidori- Assignee set to Alessandro Polidori
#53 - 11/04/2014 09:27 AM - Alessandro Polidori
I have uploaded the following new packages:
owncloud-7.0.2-28.1.noarchowncloud-3rdparty-7.0.2-28.1.noarch
from here
#54 - 11/04/2014 10:46 AM - Alessandro Polidori
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? accessrights?) (error code: 77) (Sabre\\DAV\\Exception)","level":2,"time":"2014-11-04T14:59:49+00:00"}
12/01/2020 16/20
#55 - 11/04/2014 11:44 AM - Alessandro Polidori
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 - 11/05/2014 05:18 AM - Alessandro Polidori- Status changed from MODIFIED to ON_QA- Assignee deleted (Alessandro Polidori)- % Done changed from 60 to 70
Repo: nethserver-testingPackages: - 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.rpmTest to be done: 1. Test the update from ownCloud 5 (with no ldap authentication configured) 1. configure LDAP authentication (see the admin manual section) 2. clean install of version 7
It is recommended to repeat the other test.
#57 - 11/09/2014 04:42 PM - Anonymous
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 - 11/10/2014 05:49 AM - Alessio Fattorini
I confirm the behaviour described by MicheleIt seems we need to have these dendencies php-pdo php-gdIf 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-Curlthis second problem disappears too.
See this diff from packages required by owncloud version 5 and 7
---
config(owncloud) = 5.0.12-12.1
12/01/2020 17/20
7a7
ntp
9a10
php-gd
11a13,14
php-pear-MDB2-Driver-mysqli php-pear-Net-Curl
15d17
17a20
rpmlib(PartialHardlinkSets) <= 4.0.4-1
I think that owncloud 7 rpm doesn't have all right dependencies
#59 - 11/10/2014 06:17 AM - Anonymous
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 exampleconfiguration 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 - 11/10/2014 09:15 AM - Alessandro Polidori- 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.rpmowncloud-3rdparty-7.0.2-28.1.noarch.rpm
in favor of precedent versions:
12/01/2020 18/20
owncloud-7.0.2-17.1.noarch.rpmowncloud-3rdparty-7.0.2-17.1.noarch.rpm
#61 - 11/10/2014 09:15 AM - Alessandro Polidori- Status changed from TRIAGED to MODIFIED- % Done changed from 20 to 60
#62 - 11/10/2014 09:15 AM - Alessandro Polidori- Status changed from MODIFIED to ON_QA- % Done changed from 60 to 70
#63 - 11/10/2014 09:17 AM - Alessandro Polidori
Repo: nethserver-testing
Packages:nethserver-owncloud-1.0.2-14.0git46c9dbb6.ns6.noarch.rpmowncloud-7.0.2-17.1.noarch.rpmowncloud-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 - 11/10/2014 09:59 AM - Anonymous
Test clean installation WORKS!
All done well done !
#65 - 11/10/2014 10:14 AM - Alessio Fattorini
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 - 11/10/2014 11:23 AM - Alessandro Polidori- Status changed from ON_QA to VERIFIED- % Done changed from 70 to 90
12/01/2020 19/20
#67 - 11/12/2014 09:33 AM - Giacomo Sanchietti
Fixed and error on upgrade from 5 to 7, see https://github.com/owncloud/core/issues/6152#issuecomment-30236917New 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 - 12/02/2014 10:38 AM - Giacomo Sanchietti- Status changed from VERIFIED to CLOSED- % Done changed from 90 to 100
Released in nethserver-updates: - 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
12/01/2020 20/20