Error on Windows Client Installer Bareos-24.0.1~pre5.190ccc24a-x64-Release.exe

105 views
Skip to first unread message

Rogerio Pereira

unread,
Dec 19, 2024, 7:02:15 AM12/19/24
to bareos-users
When I try to install the new client for Windows:


The Bareos-fd service is not created on Windows.
Is there any way to create the service manually?

It seems like an error in the installer.

Bruno Friedmann (bruno-at-bareos)

unread,
Dec 19, 2024, 7:14:24 AM12/19/24
to bareos-users
Are you using plugins on that bareos-fd ?
if yes, you can remove the file python3-fd.dll or specify in the filedaemon configuration the plugin name you want to use.

Rogerio Pereira

unread,
Dec 19, 2024, 7:28:02 AM12/19/24
to bareos-users
No, I don't use any plugins, just Windows folder backups.

The installer gives a message very quickly: Invalid Service Name
And the service is not created.

I checked that bareos-fd.exe is in the correct location, I'm going to see a way to create the service manually.

Bruno Friedmann (bruno-at-bareos)

unread,
Dec 19, 2024, 7:36:49 AM12/19/24
to bareos-users
While there's a message about a service name invalid during the installation, at the end the service is installed and running
here on Windows 2022 server.

Bareos File Backup Service
"C:\Program Files\Bareos\bareos-fd.exe" /service 

Did you refresh the service view applet (F5)

To install the service by yourself, the following command should do the trick
"C:\Program Files\Bareos\bareos-fd.exe" /install 

Rogerio Pereira

unread,
Dec 19, 2024, 8:10:45 AM12/19/24
to bareos-users
I'm using Windows Server 2016, the installer worked up to version 23.x
Yes, I refreshed the list of services with F5, it didn't show up. 

The command: "C:\Program Files\Bareos\bareos-fd.exe" /install
It didn't create the service and it didn't give an error either.

Creating it with Powershell below, it gave an error on start.

New-Service -Name "Bareos-fd" -BinaryPathName "C:\Program Files\Bareos\bareos-fd.exe" -DependsOn afd,tcpip -DisplayName "Bareos File Backup Service" -StartupType Automatic -Description "Provides file backup and restore services (bareos client)"

Rogerio Pereira

unread,
Dec 19, 2024, 8:23:39 AM12/19/24
to bareos-users
Is there a place where I can download the old client (23.x)?

Bruno Friedmann (bruno-at-bareos)

unread,
Dec 19, 2024, 8:26:02 AM12/19/24
to bareos-users
The old version is available only for subscription customer.

Can't you give the error at start ?

Rogerio Pereira

unread,
Dec 19, 2024, 8:28:33 AM12/19/24
to bareos-users
I created the service with the command below (on Powershell):
New-Service -Name "Bareos-fd" -BinaryPathName '"C:\Program Files\Bareos\bareos-fd.exe" /service' -DependsOn afd,tcpip -DisplayName "Bareos File Backup Service" -StartupType Automatic -Description "Provides file backup and restore services (bareos client)"

Error on Start:
The Bareos File Backup Service service failed to start due to the following error:
The service did not respond to the start or control request in a timely fashion.

Sebastian Sura

unread,
Dec 19, 2024, 8:29:43 AM12/19/24
to bareos...@googlegroups.com

Which error did it give you ?
Can you try starting bareos-fd manually ? I.e. entering '"C:\Program Files\Bareos\bareos-fd.exe"' in cmd/powershell ?

Kind Regards
Sebastian Sura

Am 19.12.24 um 14:10 schrieb Rogerio Pereira:
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bareos-users/737dfa39-31b5-4292-a85f-40a93caf6888n%40googlegroups.com.
-- 
 Sebastian Sura                  sebasti...@bareos.com
 Bareos GmbH & Co. KG            Phone: +49 221 630693-0
 https://www.bareos.com
 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
 Komplementär: Bareos Verwaltungs-GmbH
 Geschäftsführer: Stephan Dühr, Jörg Steffens, Philipp Storz
Message has been deleted
Message has been deleted

Rogerio Pereira

unread,
Dec 19, 2024, 8:39:50 AM12/19/24
to bareos-users
Yes, no error, no msg on event viewer, no executable running.

Trying to attach the error msg on installer

Bareos installer error1 2024-12-19 103412.png
Bareos installer error2 2024-12-19 103412.png

Sebastian Sura

unread,
Dec 19, 2024, 8:41:51 AM12/19/24
to bareos...@googlegroups.com

Do you get output if you turn on debug messages ? You can do so by passing `-d1000` on the command line.

Am 19.12.24 um 14:39 schrieb Rogerio Pereira:
Yes, no error, no msg on event viewer, no executable running.

Trying to attach the error msg on installer

--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users...@googlegroups.com.

Bruno Friedmann (bruno-at-bareos)

unread,
Dec 19, 2024, 8:43:39 AM12/19/24
to bareos-users
Seen same message on Windows 2022 during install, but the service is installed at the end, and running ?
Message has been deleted

Rogerio Pereira

unread,
Dec 19, 2024, 8:54:54 AM12/19/24
to bareos-users
No, the service is not created.
Bareos installer error3 2024-12-19 103412.png

Rogerio Pereira

unread,
Dec 19, 2024, 8:56:53 AM12/19/24
to bareos-users
I tried with the -d1000 but nothing happen.

C:\Program Files\Bareos>bareos-fd.exe -d1000

Rogerio Pereira

unread,
Dec 19, 2024, 9:40:32 AM12/19/24
to bareos-users
Ok, I tried to run bareos-fd.exe from Explorer and I receive the attached error.

After installed the last VC++ redistributable (https://aka.ms/vs/17/release/vc_redist.x64.exe) on Server, and reinstalling the client the service was created.

Thank you!
Mystery solved. ;)

Bareos installer error4 2024-12-19 103412.png

Rogerio Pereira

unread,
Dec 20, 2024, 2:29:50 AM12/20/24
to bareos-users
Yes, nothing happen.

C:\>"C:\Program Files\Bareos\bareos-fd.exe"
C:\>

No error, no executable running, no msg on Event Viewer.

Below the error on installer:

Bareos installer error 2024-12-19 103412.pngBareos installer error2 2024-12-19 103412.png

Rogerio Pereira

unread,
Dec 20, 2024, 2:29:50 AM12/20/24
to bareos-users
No, no output messages.

C:\Program Files\Bareos>bareos-fd.exe -d1000

C:\Program Files\Bareos>bareos-fd.exe -d1000

C:\Program Files\Bareos>

Rogerio Pereira

unread,
Dec 20, 2024, 2:29:50 AM12/20/24
to bareos-users
Yes, no error, no msg on event viewer, no executable running.

Below the error on installer.
Bareos installer error 2024-12-19 103412.png
Bareos installer error2 2024-12-19 103412.png

Em quinta-feira, 19 de dezembro de 2024 às 10:29:43 UTC-3, Sebastian Sura escreveu:

Bruno Friedmann (bruno-at-bareos)

unread,
Jan 13, 2025, 5:55:17 AMJan 13
to bareos-users
Don't know what happens to this thread.

You last post is not an error like you think, its just a call the net stop bareos-webui to be sure that component is stopped before any copy of files (otherwise it might failed later)
Should it be handled differently ? feel free to propose sponsoring or direct PR to fix that inconvenient.

The installer should continue and install the product afterwards without any troubles.

Rogerio Pereira

unread,
Jan 13, 2025, 6:13:41 AMJan 13
to bareos-users
Hi Bruno

I don't know what happened but my answer disappeared from the thread.

The problem was that I didn't have Visual C++ 2015-2022 installed, so the installer wouldn't create the service.

I answered this in December 2024 but the message disappeared.

Sorry, problem solved.
Reply all
Reply to author
Forward
0 new messages