SAMBA Storage Missing From Web UI When Installed As Service

Hello, I tried looking around and I saw people mentioning the SAMBA option was added to the web UI a while ago. I was on 1.8.0 and upgraded it to 1.8.3 by downloading the web installer from the main site. Running the service uninstall command then running the service install command. The service is now running from the 1.8.3 file and it shows it in the web UI as well.

However I can not see the SAMBA option when trying to add a new Storage. When I kill the Duplicacy service in service.msc and run it under my user account I can now see the SAMBA option. Is the SAMBA option not available when running as a service or do I need to delete/modify something in the “C:\ProgramData\.duplicacy-web” directory or elsewhere?

Also if I switch from a SFTP Storage to a SAMBA storage can I update the backup routines manually to use the new Storage or would I have to delete the remote backup and start from scratch? I’m only planing on changing the protocol and nothing else if that helps clarify things.

  1. uninstall all isntances of duplicacy.
  2. Install again using Run As Administrator (or Elevated user, or whatever windows calls it today) to launch the installer, and select “install as a service” somewhere in the wizard.
  3. After that, ignore shortcuts if any are installed, access the interace in the browser at http://localhost:3875 (you can click this link actually), and create a bookmark/link to it for futrue use.

Hey! Thanks that worked. Do you know if it possible to keep the old config and repositories folder or will I have to start fresh?

Also there’s no “install as a service” anymore in the wizard. It looks like I have to use the flags on the exe file itself as it just installs into the appdata/Programs folder now

you can try shutting down the duplicacy service, copying duplicacy.json and settings.json from your user folder’s APPDATA/… into ProgramData/…, and restartign the service, but it may not restore storage credentials and you will probably need to add storage again manually (they are encrypted with your user keys, that are not available when it runs as a service). But at least this will preserve schedules.

I would just setup everything from scratch – less hassle.

So after some messing around it looks like the old install wasn’t pulling the newer version of the commandline. I did a fresh install of duplicacy. Restored a copy of the old .duplicacy-web and replaced the “bin” folder. And the SAMBA option is there now :slight_smile:

For reference, you should always see the option to install as a service at the very end, but make sure to right-click and Run as administrator and install for all users.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.