Ticket #269 (closed defect: fixed)

Opened 5 months ago

Last modified 5 months ago

broken wipe command

Reported by: fastboy Owned by: djb61
Priority: highest Milestone: 3.0
Component: CommandManager Version: 3.0alpha
Severity: blocker Keywords:
Cc:

Description

When you wipe an dir that isnt complete, and you have an symlink that says (incomplete)-Dir , you get an strange error= ] 200- /mp3/(incomplete)Dir-FileNotFound, wich result in that you cant list anything in that folder, site list shows that there are tons of rels in there. But if you instead delete the incomplete upload, then it remove the symlink to , and everything working fine. After that you need to stop master go to /files/dir/ and remove the (incomplete)-Dir with rm -r "(incomplete)-Dir". and start master, now you can list the folder again when master is up and running.

Some of the error:

-1] org.drftpd.commands.zipscript.links.hooks.LinksPostHook - Invalid link in dir /Dir java.io.FileNotFoundException: FileNotFound: Dir does not exist

at org.drftpd.vfs.VirtualFileSystemDirectory.getInodeByName(VirtualFileSystemDirectory.java:224) at org.drftpd.vfs.VirtualFileSystem.getInodeByPath(VirtualFileSystem.java:189) at org.drftpd.vfs.VirtualFileSystem.getInodeByPath(VirtualFileSystem.java:193) at org.drftpd.vfs.InodeHandle.getInode(InodeHandle.java:148) at org.drftpd.vfs.LinkHandle.getInode(LinkHandle.java:37) at org.drftpd.vfs.LinkHandle.getInode(LinkHandle.java:29) at org.drftpd.vfs.InodeHandle.deleteUnchecked(InodeHandle.java:98) at org.drftpd.commands.zipscript.links.hooks.LinksPostHook.doLinksWIPECleanupHook(LinksPostHook.java:140) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.drftpd.commandmanager.CommandInterface.doPostHooks(CommandInterface.java:122) at org.drftpd.commandmanager.StandardCommandManager.execute(StandardCommandManager.java:235) at org.drftpd.master.BaseFtpConnection$CommandThread.run(BaseFtpConnection.java:555) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)

Change History

Changed 5 months ago by djb61

  • owner changed from zubov to djb61
  • component changed from Archive to CommandManager

Changed 5 months ago by djb61

  • status changed from new to closed
  • resolution set to fixed

Fixed in [2027]

Note: See TracTickets for help on using tickets.