Giter Club home page Giter Club logo

Comments (5)

Jojo-1000 avatar Jojo-1000 commented on July 18, 2024

Can you provide more information about the backend type (what is selected in the GUI)? You can also try to export the URL and see if the options are there. That is in the dot menu for the destination. It should match what you have in your backup config.

This might be related to #4972, but only if your path has backslashes.

I've decided to add the missing fields in Advanced options but the test cx replies (502) invalid gateway.

If you add the advanced options in Step 5, the Step 2 test command doesn't use it. You could still try a verify from the main backup list to see if it works.

from duplicati.

ericjamesbye7 avatar ericjamesbye7 commented on July 18, 2024

Hello Jan

Please find the 2 ScS below.
Note, on the 2nd one, the input name/id is not auth_username but openstack_username. Is it logical ? (just for my information).
About the export, the main difference between my old working save confFile and the new KO one is in the field TargetURL.
The url parameters &auth-username=blabla and &auth-password=bla-blabla are missing.

Thanks
Best regards
EJB

duplicati_issues_5188-00
duplicati_issues_5188-01

from duplicati.

Jojo-1000 avatar Jojo-1000 commented on July 18, 2024

The input fields are fine. The relevant part is ng-model="$parent.Username" which will bind the value to the internal variable.

I see what went wrong. In #4973 I fixed an issue that the username and password were added in backends where there are no input fields for it. So, there is a choice whether it should include them. It seems that I missed that the openstack backend has those fields and put in the wrong type.

EditUriBackendConfig.merge_in_advanced_options(scope, opts, false);

should be true instead of false.

I am not sure how long a fix will take to be released, since there is currently some work on changing the .NET version. For right now, if you are able to use the browser developer tools you can temporarily fix this to save the backup correctly:

  • Go to the Sources tab
  • Find ngax/scripts/services/EditUriBuiltins.js
  • Change line 731 (see above) to
    EditUriBackendConfig.merge_in_advanced_options(scope, opts, true);
    
  • Save the file with Ctrl+S. Do not reload the page until you saved the configuration
  • Edit the backup and save it. Test connection should also work

from duplicati.

ericjamesbye7 avatar ericjamesbye7 commented on July 18, 2024

Hello again
Thanks for the feedback.
For now, I have deleted the backup (not the db & files) and I have recreated the backup thanks to the config file I had saved, sort of backup of the backup :o)

For people, the workaround can be done like that :

  • export the KO backup
  • edit this file and modify the field TargetURL by adding the missing parameters &auth-username=blabla and &auth-password=bla-blabla
  • save the file... yes, really...
  • create a new backup task (you have deleted the existing one without removing files and local database) with the option Import from a file and choose the option Save immediately

Like that, it works

Have a good day and backup

Best regards
EJB

from duplicati.

duplicatibot avatar duplicatibot commented on July 18, 2024

This issue has been mentioned on Duplicati. There might be relevant details there:

https://forum.duplicati.com/t/mandatory-option-missing-auth-username/17977/2

from duplicati.

Related Issues (20)

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.