Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Error on large sharepoint items for recovery #42

Open
cybrides opened this issue Oct 8, 2021 · 4 comments
Open

Error on large sharepoint items for recovery #42

cybrides opened this issue Oct 8, 2021 · 4 comments

Comments

@cybrides
Copy link

cybrides commented Oct 8, 2021

Describe the bug

When we try to acces an organization whit large number of sharepoint items, we get this error.The organization have backup for sharepoint sites.

Error creating resource: [message] fopen(https://X.X.X.X:4443/v5/BackupRepositories/73351583-a5d6-46d9-afdc-860856712ef1/SiteData?limit=250): failed to open stream: HTTP request failed! [file] /var/www/html/vbo365-rest/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php [line] 324
No SharePoint sites found for this organization

To Reproduce
Steps to reproduce the behavior:

  1. Choose the organization ''
  2. Click on 'Sharepoint'
  3. After some time the error appear
  4. See error

Expected behavior

See the backup available for restore item

Screenshots
If applicable, add screenshots to help explain your problem.
error_portal

Desktop (please complete the following information):

  • OS: Linux Ubuntu server 20.04.3 for the portal webserver
  • Windows server 2012R2
  • Browser [chrome ]
  • Version [94.0.4606.81]

Additional context
Try to change the number of loading item from 250 to 2500 in config.php but the error still remaining

@nielsengelen
Copy link
Contributor

This is for loading the actual SharePoint sites, not related to items within a specific site. Do you see any errors in the REST API logs around the time U try to load this?

@cybrides
Copy link
Author

hello,

In the rest logs file i have no error but a rest api call is not the same

the sharepoint whit after some tilmes the error appear at the end of the line i have the parameter "250" and the api call never end

11/10/2021 07:17:51 62 (6976) Request: GET https://X.X.X.X:4443/v5/BackupRepositories/XXXXXXXX/SiteData?limit=250
11/10/2021 07:17:51 62 (6976) Action started: Get backuprepositories (API version: V5)

Other Sharepoint whit no error

11/10/2021 07:28:21 56 (2612) Request: GET https://X.X.X.X:4443/v5/BackupRepositories/X.X.X.X/SiteData?limit=250
11/10/2021 07:28:21 56 (2612) Action started: Get backuprepositories (API version: V5)
11/10/2021 07:28:21 56 (2612) Action completed successfully: Get backuprepositories

regards

@nielsengelen
Copy link
Contributor

Can you enable extended logging and try to perform these actions again and see if the logs show more?

@cybrides
Copy link
Author

Hello, sorry for the delay, i have activate the extended logging but same error and nothing more in the log.

On the web ui : Error creating resource: [message] fopen(https://XX.XX.XX.XX:4443/v5/BackupRepositories/73351583-a5d6-46d9-afdc-860856712ef1/SiteData?limit=250): failed to open stream: HTTP request failed! [file] /var/www/html/vbo365-rest/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php [line] 324
No SharePoint sites found for this organization.

On the log in VBO server
9/10/2021 16:59:41 11 (4768) Request: GET https://XX.XX.XX.XX:4443/v5/BackupRepositories/73351583-a5d6-46d9-afdc-860856712ef1/SiteData?limit=250
19/10/2021 16:59:41 11 (4768) Action started: Get backuprepositories (API version: V5)

On the web server Nothing in the log

Regards

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants