Dynamix File Manager


Recommended Posts

Ever since I updated to version 6.10.0-rc8 the plugin will not update. The plugin is currently on version 2022.05.15a and when i click on the update button, I get the following error:

 

plugin: updating: dynamix.file.manager.plg
plugin: installed Unraid version is too low, require at least version 6.10.0

 

This makes no sense since I am actually on 6.10.0, it is just rc8(Next branch, instead of the Stable branch)

 

Edit:  Once I upgraded to Unraid version 6.10.2-rc3 the plugin now updates just fine....

Edited by wesphillips
Link to comment
8 minutes ago, wesphillips said:

Ever since I updated to version 6.10.0-rc8 the plugin will not update. The plugin is currently on version 2022.05.15a and when i click on the update button, I get the following error:

 

plugin: updating: dynamix.file.manager.plg
plugin: installed Unraid version is too low, require at least version 6.10.0

 

This makes no sense since I am actually on 6.10.0, it is just rc8(Next branch, instead of the Stable branch)

6.10.0rc are prereleases and technically comes before 6.10.0 stable, which is the new minimum supported version.

Link to comment

The permission tool seems to be limited to changing read and write permissions. Is there a reason why I can't change executable permissions?

Can the column order be changed to have the view column on the left? Or is this something that would need to be changed in Unraid itself?

Link to comment
18 minutes ago, kennymc.c said:

The permission tool seems to be limited to changing read and write permissions. Is there a reason why I can't change executable permissions?

 

Security, there should be no reason to have executables running on your storage devices.

 

20 minutes ago, kennymc.c said:

Can the column order be changed to have the view column on the left?

 

This is the design of the GUI, can't be changed.

 

Link to comment
1 hour ago, bonienl said:

 

You should run a custom script thru 'bash' or the appropriate language command, don't run them natively.

 

 

They are executed by the program inside the container, not on the host itself. Without executable permissions on the host system they can't be run inside the container. 

I also have several scripts on my storage that I don't run on Unraid or in a container, but on the machines connected to the share. I don't understand why you generally shouldn't have anything executable on your storage. This is a security risk in certain environments but as long as the read and write permissions are set correctly i personally don't see a big problem with it.

It's not about executing scripts but about setting the execute permission with the plugin.

Link to comment
6 hours ago, kennymc.c said:

They are executed by the program inside the container, not on the host itself. Without executable permissions on the host system they can't be run inside the container. 

Not sure if it fits your use case, but you can set exec perms at build time in dockerfile

 

COPY docker-entrypoint.sh /usr/local/bin/

# fix script permissions
RUN chmod +x /usr/local/bin/docker-entrypoint.sh

 

Link to comment
14 hours ago, tjb_altf4 said:

Not sure if it fits your use case, but you can set exec perms at build time in dockerfile

 

COPY docker-entrypoint.sh /usr/local/bin/

# fix script permissions
RUN chmod +x /usr/local/bin/docker-entrypoint.sh

 

 

But i think i have to create my own docker image for that, right?

Link to comment

Is there a logic which files are downloaded directly with one click? For many other files that are not in the editor.cfg, a preview tool opens, but of course it cannot open everything (Unsupported Preview). Is there a way to set which files are opened and which are downloaded? With binary files it makes no sense to open them with the editor.

 

Also the following features would be very helpful:
- Upload via Drag & Drop
- Download of all marked files by right click or a download button in the bottom bar. Currently only the first marked file is downloaded.

Link to comment

I am really liking this integrated feature.  Thanks!

 

I recently started using syslog because I am having some weird behaviors going on.  After getting syslog server up and running I am seeing the following error

 

Jun  9 07:22:33 Tower2

nginx: 2022/06/09 07:22:33 [error] 9167#9167: *895418 open() "/usr/local/emhttp/plugins/dynamix.file.manager/javascript/ace/mode-log.js" failed (2: No such file or directory) while sending to client, client: 192.168.2.104, server: , request: "GET /plugins/dynamix.file.manager/javascript/ace/mode-log.js HTTP/1.1", host: "192.168.2.209", referrer: "http://192.168.2.209/Shares/Browse?dir=/mnt/user/SysLogs"

 

I am not sure if /usr/local/ is the same as root/usr/local but when looking around for emhttp, I do not see it.  I am guessing it is there, I just don't know enough to know where to look for it.

 

I am not sure if how I set up sys log is part of the problem or not.  

here are the settings for syslog server:

 

Local syslog server: Enabled UDP 514
Local syslog folder: SysLogs

Local syslog rotation: Disabled

Remote syslog server: 192.168.2.209 UDP 514
Mirror syslog to flash: No

 

I have several errors showing up in various location in the diagnostics.  I am trying to knock them out one at a time.

 

Thanks for any push you can give me in the correct direction.

 

 

tower2-diagnostics-20220609-0738.zip

Link to comment
3 hours ago, Albin said:

I am seeing the following error

 

This is related to the text editor ACE.

I recently updated ACE to the latest available version, if you have not updated the File Manager yet, I recommend you install the latest version.

 

The file "mod-log.js" is indeed not existing in the ACE package, I don't know if this an error or not.

What kind of file (extension) are you opening when this error message occurs?

 

Ps. I can reproduce this error when I open a *.log file.

The syntax file is not present and its content is displayed as regular text.

I keep an eye on ACE to see if it gets corrected / included.

 

You can simply ignore the error, it has no impact.

 

  • Like 1
Link to comment
5 hours ago, bonienl said:

 

This is related to the text editor ACE.

I recently updated ACE to the latest available version, if you have not updated the File Manager yet, I recommend you install the latest version.

 

The file "mod-log.js" is indeed not existing in the ACE package, I don't know if this an error or not.

What kind of file (extension) are you opening when this error message occurs?

 

Ps. I can reproduce this error when I open a *.log file.

The syntax file is not present and its content is displayed as regular text.

I keep an eye on ACE to see if it gets corrected / included.

 

You can simply ignore the error, it has no impact.

 

Dynamix File Manager version is 2022.06.07

ACE version is showing under DFM release notes as version 1.5.3

 

The error time stamp is at the exact same time I browse to view the syslog server log at the following extension/link:

http://192.168.2.209/Shares/Browse?dir=/mnt/user/SysLogs

So every time I check the syslog file, a new error entry appears with the current time stamp.

 

I will ignore the error as you recommended, but I can't help but wonder what else is needing to get to 

 

/usr/local/emhttp/ or /usr/local/emhttp/plugins

 

I can't find the directory emhttp.  Is there a way to browse to this to see if it exists and what is actually there.

 

I am guessing this path exists, but I don't know enough to get to it.

 

I do see the go script calls for 

# Start the Management Utility
/usr/local/sbin/emhttp &

which is not the same path as usr/local/emhttp

 

This may be completely unrelated but I opened terminal and ran

php /usr/local/emhttp/plugins/dynamix/include/UpdateDNS.php -vv

which had a server response of

  Signed in to Unraid.net as usernamehere
Use SSL is no
⚠️  Rebind protection is enabled for myunraid.net
Local Access url: http://Tower.local
⚠️  hash.myunraid.net does not resolve to an IP address, it should resolve to 192.168.2.209

then I ran 

ping www.hash.unraid.net

note for others: actual hash value not shown

 

The response was:

ping: hash.myunraid.net: Name or service not known

 

not sure if this has anything to do with emhttp

 

That's all  I got for now.

Thanks again for your reply and help

 

Link to comment

emhttp is the application used by Unraid to manage and control the functionality of the system. For the user this runs transparently in the background and doesn't need any interaction.

 

The GUI and other related content/scripts is stored under the path /usr/local/emhttp, this you can not view from the FIle Manager, which only gives access to user created content under /mnt.

 

Unraid.net has no relation and works together with the My Servers plugin.

 

Link to comment

May I ask what can cause this error?

It showed up when the array is stopped at the bottom of the dashboard page.

 

Warning: stream_socket_client(): unable to connect to unix:///var/run/docker.sock (No such file or directory) in /usr/local/emhttp/plugins/dynamix.docker.manager/include/DockerClient.php on line 710
Couldn't create socket: [2] No such file or directory

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.