payload: {"action":"created","issue":{"url":"https://api.github.com/repos/nextcloud/server/issues/16178","repository_url":"https://api.github.com/repos/nextcloud/server","labels_url":"https://api.github.com/repos/nextcloud/server/issues/16178/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/server/issues/16178/comments","events_url":"https://api.github.com/repos/nextcloud/server/issues/16178/events","html_url":"https://github.com/nextcloud/server/issues/16178","id":462767303,"node_id":"MDU6SXNzdWU0NjI3NjczMDM=","number":16178,"title":"Shared link stop worging  after fileserver dowtime and using link during downtime","user":{"login":"thechonta","id":36474706,"node_id":"MDQ6VXNlcjM2NDc0NzA2","avatar_url":"https://avatars0.githubusercontent.com/u/36474706?v=4","gravatar_id":"","url":"https://api.github.com/users/thechonta","html_url":"https://github.com/thechonta","followers_url":"https://api.github.com/users/thechonta/followers","following_url":"https://api.github.com/users/thechonta/following{/other_user}","gists_url":"https://api.github.com/users/thechonta/gists{/gist_id}","starred_url":"https://api.github.com/users/thechonta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thechonta/subscriptions","organizations_url":"https://api.github.com/users/thechonta/orgs","repos_url":"https://api.github.com/users/thechonta/repos","events_url":"https://api.github.com/users/thechonta/events{/privacy}","received_events_url":"https://api.github.com/users/thechonta/received_events","type":"User","site_admin":false},"labels":[{"id":393047742,"node_id":"MDU6TGFiZWwzOTMwNDc3NDI=","url":"https://api.github.com/repos/nextcloud/server/labels/0.%20Needs%20triage","name":"0. Needs triage","color":"0052cc","default":false},{"id":386379231,"node_id":"MDU6TGFiZWwzODYzNzkyMzE=","url":"https://api.github.com/repos/nextcloud/server/labels/bug","name":"bug","color":"ee0701","default":true},{"id":389033477,"node_id":"MDU6TGFiZWwzODkwMzM0Nzc=","url":"https://api.github.com/repos/nextcloud/server/labels/feature:%20external%20storage","name":"feature: external storage","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2019-07-01T15:06:40Z","updated_at":"2019-07-15T13:07:34Z","closed_at":null,"author_association":"NONE","body":"Operating system:Ubuntu 18.04\r\n**Web server:Apache 2.4.29\r\n**Database:mariadb Ver 15.1\r\n**PHP version:7.2.15\r\n**Nextcloud version:15.0.2 - 15.0.7\r\n**SMB Share\r\n**Userbackend : LDAP (AD)\r\n\r\n### Steps to reproduce\r\n1. As Admin, External Share on Windows server available in Nextcloud, Credentials in Database\r\n2. Make an Folder of That share available as Link\r\n3. Share that link\r\n4. Shutdown the Windows Server\r\n5. Log off from Nextcloud in Browser\r\n6. Use the link\r\n7. Wart and use the link again\r\n8. Start the Windows Server and wit till it is up\r\n9. Use the Link\r\n\r\n### Expected behavior\r\nWhen ever the file server is available again all shared Links should work again without any interaction.\r\n\r\n### Actual behaviour\r\nThe first Time the Link is used there is a message, that the File/Folder is currently not available.\r\nAfter the first try you get an 404 message and not the current not available.\r\nAlso the occ sharing:list will show, that there is no Share.\r\nIf the user of the share logs in and access the share list in the web-browser or create a new share the old links will be available again.\r\n\r\nThere are no changes in the oc_share table in the database all the time.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/nextcloud/server/issues/comments/511394401","html_url":"https://github.com/nextcloud/server/issues/16178#issuecomment-511394401","issue_url":"https://api.github.com/repos/nextcloud/server/issues/16178","id":511394401,"node_id":"MDEyOklzc3VlQ29tbWVudDUxMTM5NDQwMQ==","user":{"login":"thechonta","id":36474706,"node_id":"MDQ6VXNlcjM2NDc0NzA2","avatar_url":"https://avatars0.githubusercontent.com/u/36474706?v=4","gravatar_id":"","url":"https://api.github.com/users/thechonta","html_url":"https://github.com/thechonta","followers_url":"https://api.github.com/users/thechonta/followers","following_url":"https://api.github.com/users/thechonta/following{/other_user}","gists_url":"https://api.github.com/users/thechonta/gists{/gist_id}","starred_url":"https://api.github.com/users/thechonta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thechonta/subscriptions","organizations_url":"https://api.github.com/users/thechonta/orgs","repos_url":"https://api.github.com/users/thechonta/repos","events_url":"https://api.github.com/users/thechonta/events{/privacy}","received_events_url":"https://api.github.com/users/thechonta/received_events","type":"User","site_admin":false},"created_at":"2019-07-15T13:07:34Z","updated_at":"2019-07-15T13:07:34Z","author_association":"NONE","body":"Update:\r\nhttps://help.nextcloud.com/t/object-storage-thumbnail-generation-storage-is-temporarily-not-available/52235\r\n\r\n´´´bash\r\n/var/www/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php\r\n```\r\n´´´php\r\n\r\n    namespace OC\\Files\\Storage\\Wrapper;\r\n\r\n    use OCP\\Files\\Storage\\IStorage;\r\n\r\n    /**\r\n     * Availability checker for storages\r\n     *\r\n     * Throws a StorageNotAvailableException for storages with known failures\r\n     */\r\n    class Availability extends Wrapper {\r\n    \tconst RECHECK_TTL_SEC = 600; // 10 minutes\r\n\r\n    \tpublic static function shouldRecheck($availability) {\r\n    \t\tif (!$availability['available']) {\r\n    \t\t\t// trigger a recheck if TTL reached\r\n    \t\t\tif ((time() - $availability['last_checked']) > self::RECHECK_TTL_SEC) {\r\n    \t\t\t\treturn true;\r\n    \t\t\t}\r\n    \t\t}\r\n    \t\treturn false;\r\n    \t}\r\n´´´\r\n´´´php\r\nconst RECHECK_TTL_SEC = 600; // 10 minutes\r\n´´´\r\nThis causes the enormous delay.\r\nIf this is set to an lover value 60 sec or less, the shares comes available much more faster.\r\n\r\nCan someone of the developers please explain the high value of 10 minutes? i can not see a reason for it.\r\nWould be nice to set this value over the webfrontend in a databaseentry to prevent filesettings after each update."}}
other: {"actor":{"display_login":"thechonta"}}