-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
upload function is abnormal #171
Comments
To be able to help you 2 questions:
Regarding the upload: |
We also currently are working on a major issue within EMBA in EMBA - PR913 |
Good thank you Are there any javascript errors from inside the browser when you select a file (e.g using the dev-options of the browser)? |
This has to be a problem within the fileUpload.js, are there any console errors? |
In here EMBArk - fileUpload If the jquery.js shows up in the sources inside the browser everything should be fine there |
yeah you definitely need all the sources to be downloaded into external/scripts |
Ah, I don't understand. What am I supposed to do? |
most likely there is a problem with the jquery.js I would first check that the If it does we check what actually ends up in the browser |
I've zipped up the js and uploaded it so you can see if this is correct |
Ok looks good When you reload the upload page, does the jquery file show up and look the same? |
ok can you check if |
hmm interesting are you on the current main branch? regardless you may just copy and overwrite /var/www/embark with ./embark since that's the one used for the SGIs |
Yes, I just passed a |
Did you properly refresh and clear the cache? Is the file still empty (from the web service/browser)? you could check the owner and permissions the file has insed /var/www |
Ok this is weird, did you restart the server?
question: if you put any random file in that folder ( Note: the WSGI logs are in /var/www/httpd80 and should indicate if there is an issue with serving static files |
Yes, on reboot they were copied, so for them the changes were reverted, but in /var/www..... /jquery.js has always had content now Okay , the test result is that a reboot is required to access the written file |
Yes, outside the developer installation mode all changes only take effect after restarting the run-server.sh script. Does the upload work now with the restart? err_log - looks unrelated |
Still having problems uploading after reboot (loudly crying face) |
Are the static files (jquery.js etc) working now? |
Can't |
I'm guessing missing www-embark user or missing entry into just re-run these commands to test Context: www-embark has to be able to execute 2 commands as root without password prompt |
The www-embark user exists, no I re-executed these two commands: |
Any error messages in the browser? |
Likely the charts.js At this point I would check all your static/external scripts Code from here: |
I downloaded it, oh my god! I finally got it all working, Installing this was truly like experiencing nine thousand nine hundred eighty-one challenges, it was really difficult (sobbing intensely). |
Always happy to help |
Describe the bug
The firmware upload function is abnormal. The Select file function can be clicked, but no file is selected.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When the installation is complete, upload functionality should be functional, if database errors do not affect it.
Screenshots
Upload firmware
Before selecting a file
After selecting a bin file, nothing happens.
Upload EMBA-Logs
Desktop (please complete the following information):
Additional context
The database login failure error was reported during the entire installation process, and there were no other err.
In addition, after you submitted the optimization of the dashboard, the embark installation pulled from git always had some problems, such as the errors in the two screenshots below,
I tried to install and process them one by one, but it didn't work. Upgrading or installing incorrect or missing dependencies alone could not solve these errors. However, I pulled git and reinstalled again and again, and each time there were two results. , 1) reported the following two problems, 2) did not report the following two problems
My environment is the same, and the pulled embark resources are also the same, but two results did appear. I don’t know how they came about. This time, only a database error was reported during the installation, but the upload function did not work. More than Firmware upload, it seems that all upload functions are unavailable.
The text was updated successfully, but these errors were encountered: