Comments (5)
This might be a result of the new error reporting. The test command fails due to an error (not sure what caused yours, but shouldn't matter), but no DB to log it to. So when it tries, it will create that database.
Maybe try a test-filter in a folder that has no read permissions to reproduce.
Maybe we should check if the database exists first before logging the error.
from duplicati.
Maybe try a test-filter in a folder that has no read permissions to reproduce.
That didn't do it, but invalid drive letter did. I also had Sysinternals Process Monitor watching for activity on that file name.
After second test below, I did another (not shown) and saw that for CLI it goes to my Command Prompt current directory.
C:\Duplicati\duplicati-2.0.7.100_canary_2023-12-27>Duplicati.CommandLine.exe test-filters C:\Windows\System32\config\
Including source path: C:\Windows\System32\config\
Error reported while accessing file: C:\Windows\System32\config\ => Access to the path '\\?\C:\Windows\System32\config' is denied.
Error reported while accessing file: C:\Windows\System32\config\ => Access to the path '\\?\C:\Windows\System32\config' is denied.
Including source path: C:\Windows\System32\config\
Error reported while accessing file: C:\Windows\System32\config\ => Access to the path '\\?\C:\Windows\System32\config' is denied.
Error reported while accessing file: C:\Windows\System32\config\ => Access to the path '\\?\C:\Windows\System32\config' is denied.
Including source path: C:\Windows\System32\config\
Matched 0 files (0 bytes)
C:\Duplicati\duplicati-2.0.7.100_canary_2023-12-27>Duplicati.CommandLine.exe test-filters Y:\Windows\System32\config\
System.IO.IOException: Backup aborted since the source path Y:\Windows\System32\config\ does not exist. Please verify that the source path exists, or remove the source path from the backup configuration, or set the allow-missing-source option.
at Duplicati.Library.Main.Controller.ExpandInputSources(String[] inputsources, IFilter filter)
at Duplicati.Library.Main.Controller.<>c__DisplayClass31_0.<TestFilter>b__1(TestFilterResults result)
at Duplicati.Library.Main.Controller.RunAction[T](T result, String[]& paths, IFilter& filter, Action`1 method)
at Duplicati.Library.Main.Controller.TestFilter(String[] paths, IFilter filter)
at Duplicati.CommandLine.Commands.TestFilters(TextWriter outwriter, Action`1 setup, List`1 args, Dictionary`2 options, IFilter filter)
at Duplicati.CommandLine.Program.ParseCommandLine(TextWriter outwriter, Action`1 setup, Boolean& verboseErrors, String[] args)
at Duplicati.CommandLine.Program.RunCommandLine(TextWriter outwriter, TextWriter errwriter, Action`1 setup, String[] args)
C:\Duplicati\duplicati-2.0.7.100_canary_2023-12-27>
from duplicati.
The accident can be blocked by permissions. If I do a desktop icon start of 2.0.6.3 with a 2.0.7.100 upgrade, current directory is C:\Program Files\Duplicati 2\ so in this case it can't leave the errant file, even though Process Monitor shows that it's trying to...
EDIT:
This setup actually had 2.0.7.1 as its update before, but I switched Settings to Canary and got latest. Beta didn't have this bug.
from duplicati.
The dbpath path set to INVALID!
is really old, and seems unique to test-filters
, which is why I updated the Issue title.
More generally speaking though, there are several CLI commands that don't intentionally involve a database, and there's a situation early on in the life of a server job where the database is assigned but there's not actually a database put there yet.
Commands that don't intentionally involve a database might get a dbpath
anyway, if set up using the GUI Commandline.
I notice that there are some old issues talking about LogData, but I'm now also wondering how Operation table is handled.
Those are my thoughts on the general database issue. The goal for the new logging is probably to make no situation worse.
from duplicati.
Despite good testing news from the desktop shortcut, this file breaks a service install running an update, by failing verification.
Windows service install/uninstall/start invalidates update by writing into it, causing version downgrade #5088 explains how so.
In the case here, the 2.0.7.100 that was running before could not come up on service restart. It downgraded to the next best.
EDIT:
Fortunately though, the fix of another install of 2.0.7.100, followed by a service restart, brings things back to where they were.
from duplicati.
Related Issues (20)
- Listen interface setting appears to not be applied correctly HOT 2
- Consider removing the DeviceId encryption
- Help text is missing from 2.0.9.105
- Have a list of mountable filetypes that don't change timestamps on edit. HOT 3
- Disable time check on a per file basis HOT 4
- ServerUtil run backup by name seems to not find backups
- Improve error message in ServerUtil when importing a backup and the password is incorrect
- Pre-package the ARMv7 binaries with legacy Debian buster + LFS support
- Add `--insecure` as an option to ServerUtil
- Add a skip existing files to the restore files option HOT 2
- Suppress warnings when opening local database from serverutil
- Add script execution to status messages HOT 1
- Rework the http settings for HttpClient
- Add possibility to add script output to logged messages HOT 1
- SFTP (SSH) backup from Windows to Synology NAS not possible, manual connection works HOT 6
- Do not expose the access token when creating the websocket
- Detect low-power standby or no-network situations with the scheduler HOT 1
- 有计划支持多线程和自定义其他数据库类型吗? HOT 2
- Duplicati CRC error, possibly caused by reallocated sectors / HDD failure HOT 6
- Add a `/health` endpoint HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from duplicati.