Giter Club home page Giter Club logo

vbo365-rest's People

Contributors

dominikzublasing avatar michaelmeier90 avatar nielsengelen avatar poulpreben avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vbo365-rest's Issues

Restore - Error:

Hi Niels,

I have installed the portal on a CentOS 7 server and things are looking good. However I'm not able to "Start Restore", all I get is an empty error message "Error: ". This is when I'm logged on as a admin (local user from VBO server). When I log in as a tenant the portal is not showing me any restore points/backup jobs. I just see the date pull down menu and when I click "Start Restore", I get the same empty error message as from the admin session.

I have started investigation - checking logs etc. I cannot see anything pointing me in the right direction. This is what I see in the apache access log:

[20/Sep/2018:12:49:26 +0200] "GET /veeam.php?action=startexplorer&json=%7B%20%22explore%22%3A%20%7B%20%22datetime%22%3A%20%222018.09.17%2012%3A00%22%2C%20%22type%22%3A%20%22vesp%22%20%7D%20%7D&id=tenant HTTP/1.1" 200 519 "https:///sharepoint" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36"

I have explorers on the VBO server and it all looks good there. I am able to start and disable backup jobs from the portal. Do you have any pointers on where to look here?

"Explore Last Backup" not visible for Tenants

Hi Niels,
first of all, thank you for the great work, you did here!
But I've found a few issues, I'm struggling with.
Here's the first:
When logging in as admin, I see a button "Explore Last Backup" after selecting an organization.
When logging in as a tenant, This button is not visible. So I need to specify a data (and a time) in order to browse the backups. This is quite unconveniant and I'd like to provide tenants the button "Explore last backup".
Since every tenant is 1:1 mapped to an O365-Org, I assume, this should be possible.

Can you point me in the right direction in enabling this button for tenants?

All the best from the Berlin area,
Caroline

End-User Restore Option

Is your feature request related to a problem? Please describe.
I talked to a customer recently and they told me that in his opinion this product doesn't work for him because his users should access or restore their own data themself.

Describe the solution you'd like
My idea is to provide a second authentication for this project. I tried this project from Microsoft (https://docs.microsoft.com/de-de/graph/tutorials/php) to authenticate against my O365 account.
With this session we are authenticated as user and now will be forwarded into his Restore Portal where he can restore his stuff by himself or browse and search his mailbox, etc..

Cannot login to web portal, error - StreamHandler.php [line] 324

Hello, we are done installation as in description and getting error - Error creating resource: [message] fopen(): SSL: Connection reset by peer [file] /var/www/vbo365-rest/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php [line] 324 [message] fopen(): Failed to enable crypto [file] /var/www/vbo365-rest/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php [line] 324 [message] fopen....

we are using self signed certificates, please share knowledge. We are using VBO 4.0.0.2516

Datepickr problem after vbo365 2.0.0.814 upgrade

Hi, first and foremost - very nice portal, good job! We have been using it for a while now, and it have been working great. However, after we upgraded Veeam backup for Office 365 to version 20.0.0.814, datepickr is not working when tenants login (see the attached image). When you try to choose a date, the calender is stuck at "January 1970". I tried the portal in our test environment (vbo365 console with version .567) and it worked great. To verify that it was the upgrade that broke the portal, I upgraded the test vbo365 console to .814 also, and the same datepickr problem is present in the vbo web portal (test portal).

datepickr_problem

Page reload in the restore step

Hello,
First, thank you for the work done, the interface is very pleasant.
A quick question, when I select an email to restore, I select the "Original Location" option, the modal window (modalrestore original) opens well but I don't have time to fill in the login/password that the window (modal) closes itself.
I tested with Chrome (last version), Firefox (last version), IE (last version)

Thank you in advance for your help.

Regards,
Jugurtha

Trouble reviewing licenses

When I login as an admin, I can see the entire dashboard, which is fine (by the way, why can't see customers "their" dashboard?
But when I click on "Licenses", I get lots of lines like this one:
Notice: Undefined index: email in /var/www/html/includes/licensing.php on line 68
Below that, the used licenses are displayed, but where does this error come from?

Best regards,
Caroline

Error starting restore session

I have successfully installed and configured it, however whenever I try and start any restore session I get the following error:

"Error starting restore session
Error: Restore session cannot be created."

I get this for OneDrive, Exchange, and SharePoint.

All the other functionality appears to be working. I can see the backup repos, users, licenses, jobs etc.

Get the index.php to show without web.config, but it doesnt work.

Describe the bug
When the web.config file is there i get this error:
Configuration file '\?\C:\inetpub\wwwroot\web.config' does not contain a root tag

When I rename the Web.config file so it wont be used. The login page will be shown but I get this error when I try to login:
cURL error 35: OpenSSL SSL_connect: SSL_ERROR_SYSCALL

Steps to reproduce the behavior:

  1. Go to http://localhost/index.php with the web.config file
  2. Go to http://localhost/index.php without the web.config file
  3. try to login without the web.config file
  4. See error

Desktop (please complete the following information):

  • OS: Windows server 2016
  • Browser chrome
  • Version IIS 10 and PHP 7.3

Authentication TImeout

When entering username and password at Login screen the following is displayed
cURL error 28: Connection timed out after 10001 milliseconds (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

The login request is sent and 10 seconds later fails
Is there anywhere to set a timeout or to increase the current 100000 milliseconds.

Suggestions from Websearching advise creating a CURL file, but I'm not sure where to do this and how to link it in.

We are using VBO365 version 3.0. Both the VBO server and the Portal Webserver have been rebooted.

Many Thanks

Unable to download large mailbox PST files

Describe the bug

When I download the large mailboxes (15GB) as PST file it's redirecting to "hostanme/download.php" blank page and nothing happen after that. But the restore session still running on the VBO server and PST file downloading to the VBO server temp directory.

restorte pst file status

Is your feature request related to a problem? Please describe.
When you restore a pst file, a status is not shown. If a user tries to download a second time the same pst during the first restore job (because he thinks noting is happening) performance issues can occur.

Describe the solution you'd like
A pst restore status bar

Describe alternatives you've considered
Mention this in the user manual that there is no status view

Additional context
N/A

Unable to login as tenant

When logging in as a tenant, I get The username or password provided is incorrect. Make sure you are logging in with your Office 365 account.

Administrator login works perfectly.

The tenant credentials are definitely correct, and using them in the Veeam Explorer for Exchange work ok.
Is there any diagnostic logging that can be enabled?

count() Parameter must be an array or an object

Hi,

I'm getting the following error when clicking on every menu option (logged in as domain\administrator):

Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\includes\organizations.php on line 24

Also: When logged in al the counters stay at 0 (organisations, backup jobs, etc).
In the REST log I can see I'm logged in and no further errors there.

Logging in with a tenants credentials doesn't work at all at the moment.
I'm running PHP 7.3.5.

Do you have any idea?

image

image

Cannot login due to expired certificate

We have downloaded the OVA and created a VM from it.
The VM is configured and boots OK and we have been able to configure the home page

We cannot login as we get a certificate error.
The certificate issued by Veeam expired on 21/09/2018
image

Where can we find this certificate to remove it and replace it with a valid certificate?

Thanks

Dropdown List Folder Selection

Describe the bug
If you select a mailbox and want to select a specific folder, you only see the first 30 folders alphabetically.

To Reproduce
Use a mailbox with many folders. You will only see the first 30.

Expected behavior
See all folders.

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Chrome
  • Version 74.0.3729.131

Support for modern authentication

Hi Niels,

Really appreciating you're updating this project with every new version of VBO. Small question regarding the self-service aspect. How do you cope with tenants which are using modern authentication ? You could delegate access to a tenant 'admin' which then can perform restores, check for his/her company, but when using MA don't think this will work.

Searching for emails

Hi Niels,

is it possible to add a search function to the portal? It would be great to be able to search for a specific mail.

Support for Version 4

Hi

Is it safe to upgrade the Veeam Server to version 4?
Is this panel still running on the new version?

Exploring SharePoint subfolders not working (similar to Issue #36)

Hi Niels,
A customer has a SharePoint site containing a folder "Dokumente" with a folder "Rechnungen". Inside this folder, they archive invoices in .xls and .pdf format.
When using the web console, I can see the folder Dokumente and open it, so I see the folder "Rechnungen". "Rechnungen" is displayed as a link and hovering it, I can see a long link with GUIDs.
Wohever, I "cannot click" on the link. In detail, I can click, but nothing happens at all.
When using the Veeam Explorer for Sharepoint on the VBO, I can see the content.
The amount of files in the folder is pretty small (<50 items), so I don't expect any performance issues here.

Any idea on how to fix this?
If you need a remote session, just drop me a line, we can arrange this easily.

Best regards,
Caroline

Page not fount

when i try to use the exchange restore page it sends me this error T### he requested URL /exchange/0b401a78-d9a4-48a0-8312-db13f3974d69 was not found on this server. any suggestion to repear it ?

Exploring Sharepoint Folders immediately shows "session expired"

Used browsers: Edge (last stable version) / Chrome 81.0

This is, what we do:

  • log on to the portal
  • Click on "Sharepoint"
  • Click on "Explore last Backup"
  • Click on "Photos" in the left frame:
    1
    Immediately after clicking on "Photos", the following error message is shown:
    2

Can you assist us here?
Thank you,
Caroline

Feature Request: Full mailbox restore

With the Veeam Exchange Explorer it is possible to restore whole o365 mailboxes.
As far as I see, this is not possible in the frontend. Only single item mail restore seems available.

Would it be possible to implement this?

Restore does not show any items and page is blank

After we applied the Veeam private hotfix of issue #12 we could select a date again to start a restore.
But now we can see the mailboxes and sharepoint sites, but the main page doesn't show anything:

screenshot_wad_549

Does someone else have the same problem?

Browsing export to pst issue

When browsing a list of mailboxes I want to download a whole mailbox to PST and the window to hit ok pops up quick and looks like it minimizes. After this it takes me to download.php with a white screen. Nothing seems to try to download. I am however able to download msg items. Perhaps this is not knowing what to expect.

pst download folder deleted

Describe the bug
After starting job 2, restore job folder 1 incl. pst file is deleted. See images.

To Reproduce
Start 2 differten pst download jobs simultanious.

Expected behavior
download job 1 must not be deleted

Screenshots
See images

Desktop (please complete the following information):

  • OS: Windows 10 1809
  • Browser: Google-Chrome Chrome
  • Version: 75.0.3770.142 (64-bits)

pst download job 1
pst download job 2

Smartphone (please complete the following information):
N/A

Unable to login as tenant

When logging in as a tenant, I get "Authorization Error: Invalid credential"
Administrator login works perfectly.

i already checked the RESTful logs (C:\ProgramData\Veeam\Backup365\Logs) without any information about Errors with Logins or similar..

Upgrade towards v4

Hi Niels,

We upgraded our VEEAM Office backup 365 towards v4.0. Is it manditory to upgrade also your VBO365 towards V4? We do experience without the upgrade errors during mail restores. See attchment.

thumbnail_image001
thumbnail_image002

Regards,

Marco

pst after restore not offered as download

Describe the bug
When a larger pst file is restored as a download it is not offered as a downloadable file. Smaller pst files are offered as a download.

To Reproduce
Steps to reproduce the behavior:

  1. download pst

Expected behavior
After download offered as a download

Screenshots
N/A

Desktop (please complete the following information):

  • OS: Windows 10 1809
  • Browser: Google-Chrome Chrome
  • Version: 75.0.3770.142 (64-bits)

Veeam 365 mailbox .pst download never start

Hello,

When trying to export a whole mailbox (not just some emails) from the WEB GUI the “Your export is starting” window is displayed and after ~60” i am redirected to the download.php page.
After that the download never starts.
Even if the restore job in Veeam 365 management console finished the export in C:\Windows\Temp\REST_EXPORT_7a6bab70, the download never starts.

Could i ask if there is any known issue about this process or i am missing something?

Thanks,
Dimitris

Curl error - Permission denied

HI,

I'm testing the VBO dashboard but when I try to logon I got error 'cURL error 7: Failed to connect to 192.168.100.200: Permission denied'..

I installed the Veeam 365 Console into a fresh server 2019 machine, and the vbo dashboard on a Linux server, from the VBO Dashboard server I can ping my veeam server and can as well reach the veeam rest api on port 4443.

Any idea ?

Searching for email within a Mailbox

Hi there
There seems to be a limit on the number of folders displayed in the drop down when looking at a mailbox.
what method does the search function use?

It appears to only search on those emails loaded onto the page using the "load more messages"

i am finding this area of the mailbox interrogation to be very limiting.

Should i be searching in a specific way?

Feature Request

Hi

nice portal!

It would be nice if it is possible to check multiple items and restore them in one step (checkbox)

OneDrive/SharePoint restore issues

I'm having trouble restoring OneDrive and SharePoint throught the web portal. Clicking 'Start Restore' or 'Explore last backup' pops up the window saying the Restore Session Started, but then the web portal goes quiet (continues loading untill it times out). However, on the VBO365 server I can see a restore session running. So it has started the restore session, but does not want to return anything from the call.

Restore for Exchange does not have these issues, thinking it might be something wrong with the Explorers themself. However, normal restore with all Explorers through VBO365 console works fine.

I have tried hosting the web portal on both IIS and Apache.
Tried hosting the web portal in a different subnet, and on the VBO365 server itself.
Also tried opening all ports between the web server and VBO365 server, when hosted in a different subnet.
Both SSL and self-signed certificate has been tested.
Restore as admin or organization service account makes no difference.

VBO365 server is hosted on the same server as Cloud Connect.
VBO365 jobs are split into three: one job for Exchange and Archive, one for OneDrive and one for SharePoint (could this be the culprit somehow?)

One other thing I have noticed is that API calls running to list the organizations and licensing are very slow to return any result, and also time out sometimes.

Would really appriciate any help I can get, if you have the time.

Harald

Feature requests: Mailbox "filter by folder list" and folder restore

I see that people have requested full mailbox restore functionality, and was wondering if "folder restore" will be a part of that functionality?
It would also be nice if the "Filter by folder" list could represent the hierarchy of the mailbox, and not list the folders alfabetically (with many folders in a big hierarchy it can maybe be a bit difficult to find the correct folder).

Portal not working

Hello,

I configured vbo on an IIS with PHP 7.3.5, but after logging in with an admin user, the console seems like no other option if I break.

image

The logout button does not work either.

What do you think can be?

The configuration seems correct

image

image

Thanks a lot.

Daniele

Exchange / OneDrive/SharePoint Links not working

Hi,

I've not undertaken a lot of troubleshooting yet, but I thought I'd quickly ask before I start.

I've successfully installed this on a Linux (CentOS 7) box, and I'm able to connect successfully to my VBO365 server etc.

All of the items on the menu to the left are working (Jobs/Org/Repo/proxy etc), and I can see jobs, run them etc.

When I click on any of the menu items at the top (Exchange/OneDrive/SharePoint) I get a 404/file not found. The link appears to be /exchange, rather than the exchange.php file I can see.

As a quick test, I try manually going to exchange.php, and it loads. I then see the tenant link on the left. If I click on it I get another 404/file not found. This time the URL is /exchange/XXXXXXX-XXXXX-XXXXXX where the XXXX are the org ID.

Have I missed a line of config somewhere, or is this a bug?

Working with the Portal

Hi there
I have installed the portal on a server, the same server that is running the office 365 VBO and i can login to the portal as the server administrator that is also the admin for the VBO product itself.

If i try to login using the same credentials used for the backup of the organisation or the credentials of one of the mailboxes being backed up i get the following

Error
The username or password provided is incorrect. Make sure you are logging in with your Office 365 account.

Is there documentation available on how i can get past this step?

regards
Malcolm

Can't download PST from exchange or ZIP from onedrive backup

Hi,

if I try to download a PST out of a exchnage Backup it just opens the /download.php in the browser and shows a white site. Same with onedrive while trying to download it as zip.

apache errorlog
[Thu Apr 30 16:21:12.670990 2020] [php7:warn] [pid 6562] [client 123.123.123.123:58150] PHP Warning: stream_get_contents(): supplied resource is not a valid stream resource in /var/www/portal.testsrv.de/vendor/guzzlehttp/psr7/src/Stream.php on line 80, referer: https://portal.testsrv.de/exchange [Thu Apr 30 16:29:02.089068 2020] [php7:warn] [pid 30062] [client 123.123.123.123:58996] PHP Warning: fseek(): supplied resource is not a valid stream resource in /var/www/portal.testsrv.de/vendor/guzzlehttp/psr7/src/Stream.php on line 203, referer: https://portal.testsrv.de/exchange [Thu Apr 30 16:29:02.089747 2020] [php7:warn] [pid 30062] [client 123.123.123.123:58996] PHP Warning: stream_get_contents(): supplied resource is not a valid stream resource in /var/www/portal.testsrv.de/vendor/guzzlehttp/psr7/src/Stream.php on line 80, referer: https://portal.testsrv.de/exchange [Thu Apr 30 16:36:36.037656 2020] [php7:warn] [pid 6570] [client 123.123.123.123:59939] PHP Warning: fseek(): supplied resource is not a valid stream resource in /var/www/portal.testsrv.de/vendor/guzzlehttp/psr7/src/Stream.php on line 203, referer: https://portal.testsrv.de/exchange [Thu Apr 30 16:36:36.038173 2020] [php7:warn] [pid 6570] [client 123.123.123.123:59939] PHP Warning: stream_get_contents(): supplied resource is not a valid stream resource in /var/www/portal.testsrv.de/vendor/guzzlehttp/psr7/src/Stream.php on line 80, referer: https://portal.testsrv.de/exchange [Thu Apr 30 16:41:11.349433 2020] [php7:warn] [pid 6574] [client 123.123.123.123:60442] PHP Warning: fseek(): supplied resource is not a valid stream resource in /var/www/portal.testsrv.de/vendor/guzzlehttp/psr7/src/Stream.php on line 203, referer: https://portal.testsrv.de/onedrive [Thu Apr 30 16:41:11.349467 2020] [php7:warn] [pid 6574] [client 123.123.123.123:60442] PHP Warning: stream_get_contents(): supplied resource is not a valid stream resource in /var/www/portal.testsrv.de/vendor/guzzlehttp/psr7/src/Stream.php on line 80, referer: https://portal.testsrv.de/onedrive

In the RESTAPI Log of the Veeam Server everything looks good
log.txt

Running on Debian buster with Apache and PHP 7.3.14-1 the latest version from https://github.com/nielsengelen/vbo365-rest
Veeam Backup for Microsoft OFfice 365 4.0.0.2516

While testing I'm logged in as a Tenant with the o365 admin credentials.

Thanks

Exploring SharePoint backups

When exploring a SharePoint backup, files and folders beyond "Site->Documents->General" are not responding to actions. A folder in "General" won't open, and both files and folders in the "General" won't respond to restore options (Download plain file/zip, restore to original location).

Browsing the same files and folders in Veeam Explorer for SharePoint, for the same restore point, works as it should.

Do you have an idea what could cause this?

Feature Request: Disable Admin Login

Since I dont want to have a REST API frontend in a DMZ which is open to everyone and therefore a possible attack vector, is it possible to disable any admin login, so that only tenants / o365 accounts can login?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.