{"action":"created","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/8005","repository_url":"https://api.github.com/repos/orientechnologies/orientdb","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/8005/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/8005/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/8005/events","html_url":"https://github.com/orientechnologies/orientdb/issues/8005","id":288786164,"number":8005,"title":"Full Backup error. Wal file not found","user":{"login":"ScoobyMax","id":21054140,"avatar_url":"https://avatars0.githubusercontent.com/u/21054140?v=4","gravatar_id":"","url":"https://api.github.com/users/ScoobyMax","html_url":"https://github.com/ScoobyMax","followers_url":"https://api.github.com/users/ScoobyMax/followers","following_url":"https://api.github.com/users/ScoobyMax/following{/other_user}","gists_url":"https://api.github.com/users/ScoobyMax/gists{/gist_id}","starred_url":"https://api.github.com/users/ScoobyMax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScoobyMax/subscriptions","organizations_url":"https://api.github.com/users/ScoobyMax/orgs","repos_url":"https://api.github.com/users/ScoobyMax/repos","events_url":"https://api.github.com/users/ScoobyMax/events{/privacy}","received_events_url":"https://api.github.com/users/ScoobyMax/received_events","type":"User","site_admin":false},"labels":[{"id":197557840,"url":"https://api.github.com/repos/orientechnologies/orientdb/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":{"login":"laa","id":105066,"avatar_url":"https://avatars0.githubusercontent.com/u/105066?v=4","gravatar_id":"","url":"https://api.github.com/users/laa","html_url":"https://github.com/laa","followers_url":"https://api.github.com/users/laa/followers","following_url":"https://api.github.com/users/laa/following{/other_user}","gists_url":"https://api.github.com/users/laa/gists{/gist_id}","starred_url":"https://api.github.com/users/laa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laa/subscriptions","organizations_url":"https://api.github.com/users/laa/orgs","repos_url":"https://api.github.com/users/laa/repos","events_url":"https://api.github.com/users/laa/events{/privacy}","received_events_url":"https://api.github.com/users/laa/received_events","type":"User","site_admin":false},"assignees":[{"login":"laa","id":105066,"avatar_url":"https://avatars0.githubusercontent.com/u/105066?v=4","gravatar_id":"","url":"https://api.github.com/users/laa","html_url":"https://github.com/laa","followers_url":"https://api.github.com/users/laa/followers","following_url":"https://api.github.com/users/laa/following{/other_user}","gists_url":"https://api.github.com/users/laa/gists{/gist_id}","starred_url":"https://api.github.com/users/laa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laa/subscriptions","organizations_url":"https://api.github.com/users/laa/orgs","repos_url":"https://api.github.com/users/laa/repos","events_url":"https://api.github.com/users/laa/events{/privacy}","received_events_url":"https://api.github.com/users/laa/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/88","html_url":"https://github.com/orientechnologies/orientdb/milestone/88","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/88/labels","id":1768027,"number":88,"title":"2.2.x (next hotfix)","description":"","creator":{"login":"robfrank","id":413587,"avatar_url":"https://avatars3.githubusercontent.com/u/413587?v=4","gravatar_id":"","url":"https://api.github.com/users/robfrank","html_url":"https://github.com/robfrank","followers_url":"https://api.github.com/users/robfrank/followers","following_url":"https://api.github.com/users/robfrank/following{/other_user}","gists_url":"https://api.github.com/users/robfrank/gists{/gist_id}","starred_url":"https://api.github.com/users/robfrank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robfrank/subscriptions","organizations_url":"https://api.github.com/users/robfrank/orgs","repos_url":"https://api.github.com/users/robfrank/repos","events_url":"https://api.github.com/users/robfrank/events{/privacy}","received_events_url":"https://api.github.com/users/robfrank/received_events","type":"User","site_admin":false},"open_issues":147,"closed_issues":3,"state":"open","created_at":"2016-05-16T08:28:14Z","updated_at":"2018-03-16T08:12:21Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2018-01-16T04:57:37Z","updated_at":"2018-03-16T20:30:22Z","closed_at":"2018-03-15T13:13:59Z","author_association":"NONE","body":"### OrientDB Version: 2.2.31\r\n### Java Version: 1.8.152\r\n### OS: linux\r\n## Expected behavior  \r\non version 2.2.21 all backup was good\r\n\r\n## Actual behavior  \r\nOn version 2.2.31 we catching errors\r\n\r\n```\r\n$ANSI{green {db=vis_demo}} Error on backup of database 'plocal:/opt/orientdb-community-2.2.31/databases/vis_demo' to directory: /opt/backup/orient/\r\njava.lang.IllegalArgumentException: Directory /opt/orientdb-community-2.2.31/databases/vis_demo/vis_demo.9.wal not found\r\n        at com.orientechnologies.orient.core.compression.impl.OZIPCompressionUtil.addFolder(OZIPCompressionUtil.java:145)\r\n        at com.orientechnologies.orient.core.compression.impl.OZIPCompressionUtil.addFolder(OZIPCompressionUtil.java:127)\r\n        at com.orientechnologies.orient.core.compression.impl.OZIPCompressionUtil.compressDirectory(OZIPCompressionUtil.java:57)\r\n        at com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.backup(OLocalPaginatedStorage.java:229)\r\n        at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.backup(ODatabaseDocumentTx.java:3060)\r\n        at com.orientechnologies.orient.server.handler.OAutomaticBackup.fullBackupDatabase(OAutomaticBackup.java:353)\r\n        at com.orientechnologies.orient.server.handler.OAutomaticBackup$1.run(OAutomaticBackup.java:183)\r\n        at java.util.TimerThread.mainLoop(Timer.java:555)\r\n        at java.util.TimerThread.run(Timer.java:505)\r\n\r\n```\r\nin results we have\r\n2018-01-16 03:56:51:640 INFO  Automatic Backup finished: 5 ok, 3 errors\r\n\r\n\r\n## Steps to reproduce  \r\n\r\n/opt/orientdb-community-2.2.31/config/automatic-backup.json\r\n```\r\n{\r\n  \"enabled\": true,\r\n  \"mode\": \"FULL_BACKUP\",\r\n  \"exportOptions\": \"\",\r\n  \"delay\": \"24h\",\r\n  \"firstTime\": \"03:15:00\",\r\n  \"targetDirectory\": \"/opt/backup/orient\",\r\n  \"targetFileName\": \"${DBNAME}-${DATE:yyyyMMdd}.zip\",\r\n  \"compressionLevel\": 9,\r\n  \"bufferSize\": 1048576\r\n}\r\n\r\n```\r\n\r\n[orientdb.zip](https://github.com/orientechnologies/orientdb/files/1633671/orientdb.zip)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/comments/373836170","html_url":"https://github.com/orientechnologies/orientdb/issues/8005#issuecomment-373836170","issue_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/8005","id":373836170,"user":{"login":"laa","id":105066,"avatar_url":"https://avatars0.githubusercontent.com/u/105066?v=4","gravatar_id":"","url":"https://api.github.com/users/laa","html_url":"https://github.com/laa","followers_url":"https://api.github.com/users/laa/followers","following_url":"https://api.github.com/users/laa/following{/other_user}","gists_url":"https://api.github.com/users/laa/gists{/gist_id}","starred_url":"https://api.github.com/users/laa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laa/subscriptions","organizations_url":"https://api.github.com/users/laa/orgs","repos_url":"https://api.github.com/users/laa/repos","events_url":"https://api.github.com/users/laa/events{/privacy}","received_events_url":"https://api.github.com/users/laa/received_events","type":"User","site_admin":false},"created_at":"2018-03-16T20:30:22Z","updated_at":"2018-03-16T20:30:22Z","author_association":"MEMBER","body":"Sorry, my bad I suppose few versions not more than 2.2.28 are affected. But in the previous version, we calculate LSNs of backups incorrectly, so I suggest to upgrade to latest version anyway."}}
{"actor":{"display_login":"laa"}}