-
Notifications
You must be signed in to change notification settings - Fork 29
v0.20.0 #598
-
- Significant improvements on cron commands
- Improve frontend performance (reduce the number of queries performed)
- Show failed logins on player profile
- Make backend forms that require player_id into ajax search
- Display better errors when pulling and starting images
- Add precision to stream timestamp
- Reduce CSRF validation errors and turn them into alerts instead of error pages
- Improve error handling on nginx templates
- Player settings update avatar, updates the first time
- Support for private instances
- Improve on demand powerups
- Frontend indicator when connected to vpn
- Make support staff ids into a sysconfig key
- Fix docker-compose errors that got introduced by mixed encoding
- Fix bugs on ratings, writeups, typos in Inquiry models (thnx @HitmanAlharbi)
This discussion was created from the release v0.20.0.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 9 comments 20 replies
-
Hi,
Love the idea of this prjoect - looks awesome. I really want to implenet my own version but have been struggling to get it all working (I apologise I'm a hobbyist here and not a proper dev, so am a bit out of my depth) - having spent the past week tinkering with the docker all in one, I've finally managed to get it deployed on a debian box, however I've fallen at the final hurdle and am a bit stuck on what to do next.
I've got evertyhing installed on a single box at the moment - and can log in to the backend quite happily, but when trying to login to the frontend I get an internal server error.
Have checked all the config files and everthing seems fine - I'm guessing an issue with the database or accessing it, but the backend is working?
I'm going to start again and install fresh but would be grateful for some pointers on where to look...
error
Beta Was this translation helpful? Give feedback.
All reactions
-
Hi there, i'm glad you find the project interesting and sorry for the troubles you're having.
Check the file frontend/runtime/logs/app.log from echoctfred_frontend for any relevant errors. Unfortunately i cant see the current URL but i suspect its related to the image permissions.
Also are you using the git repo version or the release files? Also which document did you follow for your setup?
Beta Was this translation helpful? Give feedback.
All reactions
-
Hi,
Thanks for the reply - appreciate the help.
I'm connecting via IP at the moment as I've not pointed a domain at it - I've included a screenshot with the URL.
I followed the documentation here:
https://echoctfred.readthedocs.io/INSTALL-LINUX/
Because I've been having issues with composer resolving dependencies I ended up using debian 10 and installing php 7.4.33. This seems to fix all the errors messages and get evertyhing installed.
As per the docs I pulled the files from here https://github.com/echoCTF/echoCTF.RED.git
Also attached is a shot of the app.log - you can see the post where I am throwing some random login details.
Beta Was this translation helpful? Give feedback.
All reactions
-
Beta Was this translation helpful? Give feedback.
All reactions
-
The problem seems to be in the frontend/config/db.php, comment out or delete the line 'enableParamLogging'=>true, and give it another try.
Beta Was this translation helpful? Give feedback.
All reactions
-
Beta Was this translation helpful? Give feedback.
All reactions
-
What is the new error you get? Remove the existing app.log file reproduce the error and attach the complete log, without it its really hard to tell what could be the problem.
Beta Was this translation helpful? Give feedback.
All reactions
-
Beta Was this translation helpful? Give feedback.
All reactions
-
Thank you for being considerate, don't worry you're not wasting my time.
By the way no file came on this or your previous post, i suspect github doesn't support these through email.
Beta Was this translation helpful? Give feedback.
All reactions
-
Beta Was this translation helpful? Give feedback.
All reactions
-
Beta Was this translation helpful? Give feedback.
All reactions
-
Oh ok, so the 403 was with empty homepage, that i can test to see what is going on 😃 (opened an issue to investigate that #993)
With regards the "internal server error"
- clear the app.log
- reload the url to cause the error again
- paste the lines that include the trace output of the error
Beta Was this translation helpful? Give feedback.
All reactions
-
Ok found the issue, the challenge has no questions associated with it (this is a bug that I will have to fix, feel free to track it at #994).
Until this is fixed, visit the backend Gameplay -> Questions and create one for this challenge. Should make it go away
Beta Was this translation helpful? Give feedback.
All reactions
-
I created a challenge and attached a file - then get an error when clicking on the challenge as a user.
Log attached for that one.
I also created challenge without an attached file in case that was causing a problem - same issue, here is the log when visiting challenge #2
app2.log
Beta Was this translation helpful? Give feedback.
All reactions
-
Ah - great, was about to try that. Sorry should have done that first!
Beta Was this translation helpful? Give feedback.
All reactions
-
Unfortunately, the documentation is seriously lacking, especially for these details, so i dont blame you for not knowing. I see this entire discussion as a huge opportunity to improve the documentation a little bit 😄
Beta Was this translation helpful? Give feedback.
All reactions
-
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
Beta Was this translation helpful? Give feedback.
All reactions
-
The attachment and the filename are not exactly working that way (its a bit counter intuitive i admit). Usually the frontend and backend is not on the same host so in that case you just add the filename and upload the file on the frontend by say ssh.
When both frontend and backend are on the same host then the upload folder for both point to the same location so when you upload on backend its becomes available to the frontend also. For now you have to copy the challenge to the frontend/web/uploads folder by hand.
Beta Was this translation helpful? Give feedback.
All reactions
-
Beta Was this translation helpful? Give feedback.
All reactions
-
Yes you have to create it or you can change it into something else but make sure you also change the challenge_home sysconfig key.
Beta Was this translation helpful? Give feedback.
All reactions
-
Thanks - yep have created it and it is working now. 👍
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
I'll leave you in peace for a bit now. I may well be in touch for more help if that's OK though - as I've tried and failed with the VPN server already - so that is next on the list.
Then docker repo and servers. Excited to get it working though so will keep notes as I go.
Beta Was this translation helpful? Give feedback.
All reactions
-
It was my pleasure, feel free to start a new discussion thread with any issues you have with the VPN.
Beta Was this translation helpful? Give feedback.
All reactions
-
Thanks. Much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1