[GH-ISSUE #992] Syncing failed with E020: Could not parse server response. (...special characters at title) #650

Closed
opened 2026-02-25 22:37:44 +03:00 by kerem · 5 comments
Owner

Originally created by @github195 on GitHub (Nov 5, 2021).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/992

FYI: stopped syncing with error E020 but terminates without an error after remove of the eye (👁) in FF bookmars "Name"
...found a bunch of other bugs like this when I searched for E020 so feel free to close this bug as duplicated
Thanks in advance :)

-cut logfile-

...
oldItem: - #43;17> Tronxy x5s mosquito direct drive by mcjo79 - Thingiverse parentId: 17,
index: 5,
oldIndex: 1 } ] }
2021-11-05T12:21:04.763Z Checking failsafe: 0/1173=0
2021-11-05T12:21:04.763Z (nextcloud-folders)CREATE - #undefined3Dfind.it 👁 Visual Search Engine & Content Platform parentId: 109
2021-11-05T12:21:04.764Z (nextcloud-folders)CREATE - #undefined3Dfind.it 👁 Visual Search Engine & Content Platform parentId: 109
2021-11-05T12:21:09.989Z { [Error: E020: Could not parse server response. Is the bookmarks app installed on your server?]
code: 20,
response: 'JSON.parse: unexpected character at line 1 column 1 of the JSON data' }
2021-11-05T12:21:09.991Z { [Error: E020: Could not parse server response. Is the bookmarks app installed on your server?]
code: 20,
response: 'JSON.parse: unexpected character at line 1 column 1 of the JSON data' }
2021-11-05T12:21:09.993Z Syncing failed with E020: Could not parse server response. Is the bookmarks app installed on your server?
E020: Could not parse server response. Is the bookmarks app installed on your server?

-n paste logfile-

Desktop

(please complete the following information)

  • OS: [e.g. iOS]
    "Debian GNU/Linux 11 (bullseye)"
  • Browser [e.g. chrome, safari]
    firefox 78.15.0esr (64-bit)
  • Browser Version [e.g. 22]
  • Floccus version: [e.g. 3.2.2]
    4.8.3
  • Floccus sync method: [e.g. webdav, nextcloud legacy or nextcloud folders]
    nextcloud-bookmarks,normal sync

Server

(please complete the following information)

  • OS: [e.g. centOS 7]
    "Debian GNU/Linux 11 (bullseye)"
  • Nextcloud version: [if applicable]
    21.0.4
  • Bookmarks app version: [if applicable]
    hidden :(
Originally created by @github195 on GitHub (Nov 5, 2021). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/992 FYI: stopped syncing with error E020 but terminates without an error after remove of the eye (👁) in FF bookmars "Name" ...found a bunch of other bugs like this when I searched for E020 so feel free to close this bug as duplicated Thanks in advance :) ### -cut logfile- ### ... oldItem: - #43;17[> Tronxy x5s mosquito direct drive by mcjo79 - Thingiverse](https://www.thingiverse.com/thing:4220454) parentId: 17, index: 5, oldIndex: 1 } ] } 2021-11-05T12:21:04.763Z Checking failsafe: 0/1173=0 2021-11-05T12:21:04.763Z (nextcloud-folders)CREATE - #undefined[3Dfind.it 👁 Visual Search Engine & Content Platform](https://www.3dfindit.com/?portal=cadplace&lang=en_US) parentId: 109 2021-11-05T12:21:04.764Z (nextcloud-folders)CREATE - #undefined[3Dfind.it 👁 Visual Search Engine & Content Platform](https://www.3dfindit.com/?portal=cadplace&lang=en_US) parentId: 109 2021-11-05T12:21:09.989Z { [Error: E020: Could not parse server response. Is the bookmarks app installed on your server?] code: 20, response: 'JSON.parse: unexpected character at line 1 column 1 of the JSON data' } 2021-11-05T12:21:09.991Z { [Error: E020: Could not parse server response. Is the bookmarks app installed on your server?] code: 20, response: 'JSON.parse: unexpected character at line 1 column 1 of the JSON data' } 2021-11-05T12:21:09.993Z Syncing failed with E020: Could not parse server response. Is the bookmarks app installed on your server? E020: Could not parse server response. Is the bookmarks app installed on your server? ### -n paste logfile- ### ### Desktop (please complete the following information) - OS: [e.g. iOS] "Debian GNU/Linux 11 (bullseye)" - Browser [e.g. chrome, safari] firefox 78.15.0esr (64-bit) - Browser Version [e.g. 22] - Floccus version: [e.g. 3.2.2] 4.8.3 - Floccus sync method: [e.g. webdav, nextcloud legacy or nextcloud folders] nextcloud-bookmarks,normal sync ### Server (please complete the following information) - OS: [e.g. centOS 7] "Debian GNU/Linux 11 (bullseye)" - Nextcloud version: [if applicable] 21.0.4 - Bookmarks app version: [if applicable] hidden :(
Author
Owner

@github-actions[bot] commented on GitHub (Nov 5, 2021):

Hi @github195! This issue is being automatically closed because it does not follow the issue template.

<!-- gh-comment-id:961884640 --> @github-actions[bot] commented on GitHub (Nov 5, 2021): Hi @github195! This issue is being automatically closed because it does not follow the issue template.
Author
Owner

@marcelklehr commented on GitHub (Nov 5, 2021):

Please see if https://github.com/floccusaddon/floccus#troubleshooting helps

<!-- gh-comment-id:961975006 --> @marcelklehr commented on GitHub (Nov 5, 2021): Please see if https://github.com/floccusaddon/floccus#troubleshooting helps
Author
Owner

@stale[bot] commented on GitHub (Nov 25, 2021):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

<!-- gh-comment-id:979512991 --> @stale[bot] commented on GitHub (Nov 25, 2021): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Author
Owner

@0cwa commented on GitHub (Feb 11, 2022):

I get this same error despite reinstalling bookmarks and floccus, and running the troubleshooting guide, here are the logs:

  Error    index              Exception: Argument 1 passed to GuzzleHttp\Psr7\Uri::__construct() must be of the type string, null given,  2022-02-11T04:05:03+00:00 
                              called in /var/www/nextcloud/apps/bookmarks/vendor/guzzlehttp/psr7/src/Request.php on line 44 in file                                 
                              '/var/www/nextcloud/apps/bookmarks/vendor/guzzlehttp/psr7/src/Uri.php' line 79 at                                                     
                              lib/private/AppFramework/Http/Dispatcher.php line 158                                                                                 
                                                                                                                                                                    
                              0. lib/private/AppFramework/App.php line 157                                                                                          
                                 OC\AppFramework\Http\Dispatcher->dispatch(                                                                                         
                                                                                                                                                                    
                                 )                                                                                                                                  
                              1. lib/private/Route/Router.php line 302                                                                                              
                                 OC\AppFramework\App::main(                                                                                                         
                                                                                                                                                                    
                                 )                                                                                                                                  
                              2. lib/base.php line 1006                                                                                                             
                                 OC\Route\Router->match(                                                                                                            
                                                                                                                                                                    
                                 )                                                                                                                                  
                              3. index.php line 36                                                                                                                  
                                 OC::handleRequest(                                                                                                                 
                                                                                                                                                                    
                                 )                                                                                                                                  
                                                                                                                                                                    
                              Caused by TypeError: Argument 1 passed to GuzzleHttp\Psr7\Uri::__construct() must be of the type string, null given,                           
                              called in /var/www/nextcloud/apps/bookmarks/vendor/guzzlehttp/psr7/src/Request.php on line 44 at                                      
                              apps/bookmarks/vendor/guzzlehttp/psr7/src/Uri.php line 79                                                                             
                                                                                                                                                                    
                               0. apps/bookmarks/vendor/guzzlehttp/psr7/src/Request.php line 44                                                                     
                                  GuzzleHttp\Psr7\Uri->__construct(                                                                                                 
                                                                                                                                                                    
                                  )                                                                                                                                 
                               1. apps/bookmarks/lib/Http/RequestFactory.php line 26                                                                                
                                  GuzzleHttp\Psr7\Request->__construct(                                                                                             
                                                                                                                                                                    
                                  )                                                                                                                                 
                               2. .../link-preview/src/Models/Link.php line 60                                                                                      
                                  OCA\Bookmarks\Http\RequestFactory->createRequest(                                                                                 
                                                                                                                                                                    
                                  )                                                                                                                                 
                               3. .../marcelklehr/link-preview/src/Models/Link.php line 69                                                                          
                                  Marcelklehr\LinkPreview\Models\Link->fetch(                                                                                       
                                                                                                                                                                    
                                  )                                                                                                                                 
                               4. .../bookmarks/lib/Service/LinkExplorer.php line 54                                                                                
                                  Marcelklehr\LinkPreview\Models\Link->getPreview(                                                                                  
                                                                                                                                                                    
                                  )                                                                                                                                 
                               5. apps/bookmarks/lib/Service/BookmarkService.php line 190                                                                           
                                  OCA\Bookmarks\Service\LinkExplorer->get(                                                                                          
                                                                                                                                                                    
                                  )                                                                                                                                 
                               6. .../lib/Service/BookmarkService.php line 141                                                                                      
                                  OCA\Bookmarks\Service\BookmarkService->_addBookmark(                                                                              
                                                                                                                                                                    
                                  )                                                                                                                                 
                               7. .../lib/Controller/BookmarkController.php line 420                                                                                
                                  OCA\Bookmarks\Service\BookmarkService->create(                                                                                    
                                                                                                                                                                    
                                  )                                                                                                                                 
                               8. .../Http/Dispatcher.php line 217                                                                                                  
                                  OCA\Bookmarks\Controller\BookmarkController->newBookmark(                                                                         
                                                                                                                                                                    
                                  )                                                                                                                                 
                               9. .../AppFramework/Http/Dispatcher.php line 126                                                                                     
                                  OC\AppFramework\Http\Dispatcher->executeController(                                                                               
                                                                                                                                                                    
                                  )                                                                                                                                 
                              10. lib/private/AppFramework/App.php line 157                                                                                         
                                  OC\AppFramework\Http\Dispatcher->dispatch(                                                                                        
                                                                                                                                                                    
                                  )                                                                                                                                 
                              11. lib/private/Route/Router.php line 302                                                                                             
                                  OC\AppFramework\App::main(                                                                                                        
                                                                                                                                                                    
                                  )                                                                                                                                 
                              12. lib/base.php line 1006                                                                                                            
                                  OC\Route\Router->match(                                                                                                           
                                                                                                                                                                    
                                  )                                                                                                                                 
                              13. index.php line 36                                                                                                                 
                                  OC::handleRequest(                                                                                                                
                                                                                                                                                                    
                                  )                                                                                                                                 

  Error    PHP                Error: Undefined offset: 0 at                                                                               2022-02-11T04:05:03+00:00 
                              /var/www/nextcloud/apps/bookmarks/vendor/marcelklehr/link-preview/src/Models/Link.php#55 at                                           
                              lib/private/Log/ErrorHandler.php line 92                                                                                              
                                                                                                                                                                    
                               0. .../vendor/marcelklehr/link-preview/src/Models/Link.php line 55                                                                   
                                  OC\Log\ErrorHandler::onError(                                                                                                     
                                                                                                                                                                    
                                  )                                                                                                                                 
                               1. .../marcelklehr/link-preview/src/Models/Link.php line 69                                                                          
                                  Marcelklehr\LinkPreview\Models\Link->fetch(                                                                                       
                                                                                                                                                                    
                                  )                                                                                                                                 
                               2. .../bookmarks/lib/Service/LinkExplorer.php line 54                                                                                
                                  Marcelklehr\LinkPreview\Models\Link->getPreview(                                                                                  
                                                                                                                                                                    
                                  )                                                                                                                                 
                               3. apps/bookmarks/lib/Service/BookmarkService.php line 190                                                                           
                                  OCA\Bookmarks\Service\LinkExplorer->get(                                                                                          
                                                                                                                                                                    
                                  )                                                                                                                                 
                               4. .../lib/Service/BookmarkService.php line 141                                                                                      
                                  OCA\Bookmarks\Service\BookmarkService->_addBookmark(                                                                              
                                                                                                                                                                    
                                  )                                                                                                                                 
                               5. .../lib/Controller/BookmarkController.php line 420                                                                                
                                  OCA\Bookmarks\Service\BookmarkService->create(                                                                                    
                                                                                                                                                                    
                                  )                                                                                                                                 
                               6. .../Http/Dispatcher.php line 217                                                                                                  
                                  OCA\Bookmarks\Controller\BookmarkController->newBookmark(                                                                         
                                                                                                                                                                    
                                  )                                                                                                                                 
                               7. .../AppFramework/Http/Dispatcher.php line 126                                                                                     
                                  OC\AppFramework\Http\Dispatcher->executeController(                                                                               
                                                                                                                                                                    
                                  )                                                                                                                                 
                               8. lib/private/AppFramework/App.php line 157                                                                                         
                                  OC\AppFramework\Http\Dispatcher->dispatch(                                                                                        
                                                                                                                                                                    
                                  )                                                                                                                                 
                               9. lib/private/Route/Router.php line 302                                                                                             
                                  OC\AppFramework\App::main(                                                                                                        
                                                                                                                                                                    
                                  )                                                                                                                                 
                              10. lib/base.php line 1006                                                                                                            
                                  OC\Route\Router->match(                                                                                                           
                                                                                                                                                                    
                                  )                                                                                                                                 
                              11. index.php line 36                                                                                                                 
                                  OC::handleRequest(                                                                                                                
                                                                                                                                                                    
                                  )                                                                                                                                 



<!-- gh-comment-id:1035866892 --> @0cwa commented on GitHub (Feb 11, 2022): I get this same error despite reinstalling bookmarks and floccus, and running the troubleshooting guide, here are the logs: ``` Error index Exception: Argument 1 passed to GuzzleHttp\Psr7\Uri::__construct() must be of the type string, null given, 2022-02-11T04:05:03+00:00 called in /var/www/nextcloud/apps/bookmarks/vendor/guzzlehttp/psr7/src/Request.php on line 44 in file '/var/www/nextcloud/apps/bookmarks/vendor/guzzlehttp/psr7/src/Uri.php' line 79 at lib/private/AppFramework/Http/Dispatcher.php line 158 0. lib/private/AppFramework/App.php line 157 OC\AppFramework\Http\Dispatcher->dispatch( ) 1. lib/private/Route/Router.php line 302 OC\AppFramework\App::main( ) 2. lib/base.php line 1006 OC\Route\Router->match( ) 3. index.php line 36 OC::handleRequest( ) Caused by TypeError: Argument 1 passed to GuzzleHttp\Psr7\Uri::__construct() must be of the type string, null given, called in /var/www/nextcloud/apps/bookmarks/vendor/guzzlehttp/psr7/src/Request.php on line 44 at apps/bookmarks/vendor/guzzlehttp/psr7/src/Uri.php line 79 0. apps/bookmarks/vendor/guzzlehttp/psr7/src/Request.php line 44 GuzzleHttp\Psr7\Uri->__construct( ) 1. apps/bookmarks/lib/Http/RequestFactory.php line 26 GuzzleHttp\Psr7\Request->__construct( ) 2. .../link-preview/src/Models/Link.php line 60 OCA\Bookmarks\Http\RequestFactory->createRequest( ) 3. .../marcelklehr/link-preview/src/Models/Link.php line 69 Marcelklehr\LinkPreview\Models\Link->fetch( ) 4. .../bookmarks/lib/Service/LinkExplorer.php line 54 Marcelklehr\LinkPreview\Models\Link->getPreview( ) 5. apps/bookmarks/lib/Service/BookmarkService.php line 190 OCA\Bookmarks\Service\LinkExplorer->get( ) 6. .../lib/Service/BookmarkService.php line 141 OCA\Bookmarks\Service\BookmarkService->_addBookmark( ) 7. .../lib/Controller/BookmarkController.php line 420 OCA\Bookmarks\Service\BookmarkService->create( ) 8. .../Http/Dispatcher.php line 217 OCA\Bookmarks\Controller\BookmarkController->newBookmark( ) 9. .../AppFramework/Http/Dispatcher.php line 126 OC\AppFramework\Http\Dispatcher->executeController( ) 10. lib/private/AppFramework/App.php line 157 OC\AppFramework\Http\Dispatcher->dispatch( ) 11. lib/private/Route/Router.php line 302 OC\AppFramework\App::main( ) 12. lib/base.php line 1006 OC\Route\Router->match( ) 13. index.php line 36 OC::handleRequest( ) Error PHP Error: Undefined offset: 0 at 2022-02-11T04:05:03+00:00 /var/www/nextcloud/apps/bookmarks/vendor/marcelklehr/link-preview/src/Models/Link.php#55 at lib/private/Log/ErrorHandler.php line 92 0. .../vendor/marcelklehr/link-preview/src/Models/Link.php line 55 OC\Log\ErrorHandler::onError( ) 1. .../marcelklehr/link-preview/src/Models/Link.php line 69 Marcelklehr\LinkPreview\Models\Link->fetch( ) 2. .../bookmarks/lib/Service/LinkExplorer.php line 54 Marcelklehr\LinkPreview\Models\Link->getPreview( ) 3. apps/bookmarks/lib/Service/BookmarkService.php line 190 OCA\Bookmarks\Service\LinkExplorer->get( ) 4. .../lib/Service/BookmarkService.php line 141 OCA\Bookmarks\Service\BookmarkService->_addBookmark( ) 5. .../lib/Controller/BookmarkController.php line 420 OCA\Bookmarks\Service\BookmarkService->create( ) 6. .../Http/Dispatcher.php line 217 OCA\Bookmarks\Controller\BookmarkController->newBookmark( ) 7. .../AppFramework/Http/Dispatcher.php line 126 OC\AppFramework\Http\Dispatcher->executeController( ) 8. lib/private/AppFramework/App.php line 157 OC\AppFramework\Http\Dispatcher->dispatch( ) 9. lib/private/Route/Router.php line 302 OC\AppFramework\App::main( ) 10. lib/base.php line 1006 OC\Route\Router->match( ) 11. index.php line 36 OC::handleRequest( ) ```
Author
Owner

@github-actions[bot] commented on GitHub (Mar 20, 2023):

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:1476307420 --> @github-actions[bot] commented on GitHub (Mar 20, 2023): This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/floccus#650
No description provided.