-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
foo-pre not working on arm7 #5
Comments
assuming you're using latest version, no compiler issues, pre.cfg is setup correctly, dest is not a symlink etc. foo-pre first tries a Line 839 in 73e6265
if its still not working: which OS and libc? is anything logged to /ftp-data/logs/foo-pre.log? are From:/To dirs in ftp status log correct after 'site pre'? |
hi sorry for the delayed response, there is nothing logged to foo-pre.log except for START and GROUP lines, nothing to indicate any errors OS is Ubuntu 16.04.4 TLS Thanks your suggestion of commenting out lines 839-842 has indeed worked, this is a working fix for me |
dont think libc is the issue here, specially since you don't mention any other errors or segfaults etc seems for some reason it can't expand section dir to real path (in i'm already working on some other fixes etc in my fork, i'll add a pre.cfg option to force using mv. |
https://github.com/silv3rr/foo-tools/releases/tag/foo-tools-v1.20-20180713 pre.cfg: |
ive used foo-pre many times in the past and appreciate the glftpd teams work on the project, however im having some difficulty with running it on arm7 architecture
model name : ARMv7 Processor rev 3 (v7l)
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae
compilation is fine and easy, however when attempting to pre, the source and destination directory are incorrectly identified as not existing by foo-pre
the path /site/incoming/testing certainly exists and ive verified the config many times to ensure its right.
section.testing.name=testing
section.testing.dir=/site/incoming/testing
section.testing.gl_credit_section=0
section.testing.gl_stat_section=0
i also tried removing the destination directory check from the source code, and recompiling. when I did this, it then said the source directory doesn't exist.
ive tried multiple versions of glftpd, i'm currently testing on
glFTPd 2.09 BETA1 (Mar 27 2018) 32BiT Linux+TLS(OpenSSL 1.1.0h 27 Mar 2018)+SSP
i tested an identical config with a very old alternate pre script called 'pre2 1.6' and this works fine, however it lacks the modern features of foo-pre
thanks for any help you can offer
The text was updated successfully, but these errors were encountered: