nielsengelen / vbo365-rest Goto Github PK
View Code? Open in Web Editor NEWUnofficial Self-Service Web Portal for Veeam Backup for Microsoft Office 365
License: MIT License
Unofficial Self-Service Web Portal for Veeam Backup for Microsoft Office 365
License: MIT License
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?
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
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..
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
Describe the bug
Not a bug but if I try an export to a PST I get the message
"Export Failed
64-bit version of Microsoft Outlook 2010 or later is not installed."
Does the server running VBO365 need Outlook installed?
I am running the portal on a linux box does that make any difference?
Thanks
Paul
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).
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
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
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.
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:
Desktop (please complete the following information):
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
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.
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
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?
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?
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
Where can we find this certificate to remove it and replace it with a valid certificate?
Thanks
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):
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.
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.
Hi
Is it safe to upgrade the Veeam Server to version 4?
Is this panel still running on the new version?
Hi
is the new version from veeam supported by this panel?
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
the login does not work with a different administrator account
Any suggestion because in the company de administrator user is disable in all servers, please help me
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 ?
Used browsers: Edge (last stable version) / Chrome 81.0
This is, what we do:
Can you assist us here?
Thank you,
Caroline
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?
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:
Does someone else have the same problem?
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.
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):
Smartphone (please complete the following information):
N/A
I'm getting this error when I'm trying to connect :
URL error 7: Failed to connect to XXX.XXX.XX.XX port 4443: Timed out (see https://curl.haxx.se/libcurl/c/libcurl-errors.html).
the port is opened I've check it but i still getting this error.
I'm using IIS and windows server 2016 and PHP version 7.3.
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..
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:
Expected behavior
After download offered as a download
Screenshots
N/A
Desktop (please complete the following information):
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
Hello,
It would just be necessary to correct this point for folder restores with content.
The application returns an error message when the restoration has worked well.
Line 1262 in f3a51bc
Replace with
if ($result['restoredItemsCount'] >= '1') {
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 ?
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?
Hi Niels
Are there any plans for TFA when logging into the portal?
Thanks
Clive
Hi
nice portal!
It would be nice if it is possible to check multiple items and restore them in one step (checkbox)
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
hello,
thanks for your project. i can access index and basique admin information but i cannot access Exchange or onedrive pages.
http://localhost/exchange doesn't exist, i can force it with http://localhost/exchange.php but then i click on my organization on the left and it doesn't exist either
Any idea ?
using IIS with PHP
Describe the bug
i install your source with latest xampp for windows, but i cannot login and get bellow message:
cURL error 4: OpenSSL was built without SSLv3 support
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).
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?
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
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
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?
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.