Duplicacy Web Edition 0.2.10 Beta is now available

Can’t see any error messages. Here’s the log output when I try to list files.

2018/12/18 21:17:30 127.0.0.1:51457 POST /list_files
2018/12/18 21:17:30 Created listing session grzjn
2018/12/18 21:17:30 Running C:\Users\test/.duplicacy-web/bin/duplicacy_win_x64_2.1.2.exe [-log list -r 1 -storage ext-hdd -files]
2018/12/18 21:17:30 Set current working directory to C:\Users\test/.duplicacy-web/repositories/localhost/all
2018/12/18 21:17:31 INFO STORAGE_SET Storage set to E:/backup/duplicacy
2018/12/18 21:17:31 INFO SNAPSHOT_INFO Snapshot backup revision 1 created at 2018-12-18 19:16 -hash
2018/12/18 21:17:31 Total files: 36728

I have this version set up with storage on remote server via sftp , and seems to be working well so far! A few pieces of feedback:

  1. Under “Schedules”, if I create a new job block, add a couple of jobs, then immediately remove those jobs so that the job block is once again empty, I am unable to delete the job block (the X is greyed out).
  2. The “restore” function is very hard to find…all I see is a small icon in the upper right of the “Storages” tab.

I have the same issue. As a workaround i setup a ssh tunnel on my client machine

ssh -l 8888:127.0.0.1:3875 “your-server-address”

then point your browser to http://127.0.0.1:8888 and use the webinterface to listen to 0.0.0.0:3875 as leerspace suggested.

@rrovetti I was tricked by that delete button too:) That delete buton is only for jobs. If you want delete block, you have to click on “clock” schedule button and “delete schedule”.
image
image

Hi all,

  1. I am agree with “Restore to” but is absolutely necessary a check box with “Restore to the same location” and the ability to overwrite the restored file or folder.
    Now if I set to “Restore to” the same folder where the file is, it creates a new folder with the same name inside and there restore the file. What does the “Options” field in this case if I cannot set “-overwrite” .

  2. We should be able to select more files to restore from a folder, now it is possible to select only one.

Thank you.

A post was split to a new topic: SMB storage input/output error

@simon @jnapoli can you try this version: https://acrosync.com/duplicacy-web/duplicacy_web_installer_win64_0.2.2.exe?

This version will produce more information in the log to help debug the issues you encountered.

I’m not sure if it’s a regression in 0.2.2 or a windows issue (since I haven’t tested 0.2.1 on windows), but clicking on the Parallel and Options columns on the Schedules page in this version doesn’t do anything. No errors are logged to the console and a browser navigation to the schedules page happens, but the two columns do not function (i.e., parallel toggle doesn’t change or show confirmation, and the options window doesn’t open).

Yes, this is a new bug caused by the cursor style fix. Please test 0.2.1 only at this time as 0.2.2 was a temporary release for debugging only.

I think I found not ideal behavior.
If I rename source backup folder and run backup schedule, “Status” is still green “Completed”
Even if in backup log is:

WARN LIST_FAILURE Failed to list subdirectory: open C:\Folder: The system cannot find the file specified.
WARN SKIP_DIRECTORY Subdirectory cannot be listed
BACKUP_STATS Files: 0 total, 0 bytes; 0 new, 0 bytes
Running script C:\Users\user.duplicacy-web\repositories\localhost\5.duplicacy\scripts/post-backup.bat

And post-backup script is started.

Expected behavior is that backup is maybe “Failed” for backup job - like for example when backup destination is not accessible.

Here’s the debug log:

2018/12/19 22:25:56 Total files: 36728
2018/12/19 22:25:56 An error has occurred: runtime error: invalid memory address or nil pointer dereference
2018/12/19 22:25:56 goroutine 109 [running]:
runtime/debug.Stack(0xe6a8b1, 0x19, 0xc04250d8c0)
	C:/Go/src/runtime/debug/stack.go:24 +0xae
main.catchGoroutineError()
	C:/zincbox/go/src/github.com/gilbertchen/duplicacy-web/dwe/dwe_utils.go:26 +0x9b
panic(0xd16840, 0x146d6e0)
	C:/Go/src/runtime/panic.go:502 +0x237
main.listFilesHandler.func2.1(0xc0426b60a0, 0x17, 0xc0426b60b8, 0x4, 0xc0426b60bd, 0xd, 0xc0426b60cb, 0x75, 0xc0425b7b00)
	C:/zincbox/go/src/github.com/gilbertchen/duplicacy-web/dwe/dwe_backup.go:753 +0x26c
main.runDuplicacyExecutable(0xc042164340, 0x38, 0x0, 0x0, 0x0, 0xc0422660e0, 0x7, 0x7, 0x0, 0xc04250df10, ...)
	C:/zincbox/go/src/github.com/gilbertchen/duplicacy-web/dwe/dwe_utils.go:288 +0x73f
main.listFilesHandler.func2(0x0, 0x0, 0x0, 0xc04245d800, 0xc042678d38, 0x7, 0xc042085c20, 0xc0423a9130, 0xc0423086e0, 0xc042692d90)
	C:/zincbox/go/src/github.com/gilbertchen/duplicacy-web/dwe/dwe_backup.go:735 +0x299
created by main.listFilesHandler
	C:/zincbox/go/src/github.com/gilbertchen/duplicacy-web/dwe/dwe_backup.go:730 +0x6d0

Good news is that duplicacy is not crashing any longer :slight_smile:

I did a clean install of 0.2.2 on one of my other computers. Attached are the logs from before and after I ran a check. If there’s something specific you’re looking for, let me know. I should also mention that with this version, Duplicacy is acting as if I haven’t run a check yet. On the Dashboard, it says “Some may not been checked recently.” And on the Storages page, it says “Not checked in last 3 days .” I ran the check function twice. I’m not sure if this is was expected to happen or not. Later tonight I will install 0.2.2 on one of my computers that has this issue and upload the log from that.

Before running check duplicacy_web-nocheck.txt (671.3 KB)
After running check duplicacy_web-aftercheck.txt (1.8 MB)

@simon this error was caused by a path being both a directory and a file. If you run this version https://acrosync.com/duplicacy-web/duplicacy_web_installer_win64_0.2.3.exe it will print out the path in question to the log.

Here’s the log from a computer that has the issue. Let me know if there’s anything else you need from me.
duplicacy_web-Squidward.txt (782.4 KB)

I’m noticing a few bugs with the current version.

In the Temporary directory and Log directory settings fields on Windows 10, It has a mixture of forward and back slashes. For example, it reads C:\Users\Username/.duplicacy-web/repositories but when choosing a directory in the Web panel, it rewrites them to be forward slashes. Second bug is in the same area, if I try to choose the .duplicacy-web folder, it doesn’t appear since the app sees it as a hidden folder.

When configuring storage, an options reads Copy-compatiable with instead of Copy-compatible with

I also notice an error with the options field for the Backups tab. I tried adding -verbose or -v but both come back with the error Invalid options

Running backup command from C:\Users\User/.duplicacy-web/repositories/localhost/0 to back up C:/ Options: [-log backup -storage GDrive -vss -verbose -stats] Incorrect Usage.

When on the restore process, if I click on the folder selector for the restore to field, it opens up behind the main restore window instead of in front.

1 Like

@gchen Thanks for the new version, restoring works now :slight_smile:

@simon can you check your log to find a line that says “path xxx is a file”? It looks like you have a directory that is also a file at the same time and this caused the Storage page to fail in previous versions.

I uploaded the links in the first post to point to the latest 0.2.4 build. Most bugs founded in 0.2.1 should have been fixed in 0.2.4.

I just tried 0.2.4, and I can confirm the Storages page is working for me now. Thanks.

I notice a new bug with 0.2.4, with schedules. I have one schedule with 4 backups configured (different ids) to run in parallel. In the GUI though, only the last drive shows status while the first 3 have no status even though there’s 4 processes of duplicacy running.

If I disable them to run in parallel and start the schedule, it works sequentially like normal.