fduran / sadservers Goto Github PK
View Code? Open in Web Editor NEWSadServers: Linux & DevOps Troubleshooting Scenarios SaaS
Home Page: https://sadservers.com
SadServers: Linux & DevOps Troubleshooting Scenarios SaaS
Home Page: https://sadservers.com
Hello,
I would like to know if there is any hotkey I can use for copying and pasting in the terminal.
Thanks
"Check my Solution" button fails to properly connect to the scenario VM and run the solution script. As a result, users see "invalid solution" when clicking the button, even if solution may be valid.
Hello,
I would like to contribute to this cool project by providing you a packer code that i have made for different provider (vsphere,proxmox).
The code is able to create Ubuntu 20.04,22.04 template with different preinstalled package, and user account with sudo permissions.
I think i just need to adapt it to aws provider.
Can you provide me a list a requirements you want in you image ?
This scenario description is confusing some users (difference between occurrences of a string and number of lines where that string is present in a file). Also the way to present two solutions in one file is confusing.
Want to re-write this scenario into a similar one about more advanced grep
usage.
add a basic search tofind sad servers scenarios
As this problem was created in January, the hint probably worked only for that month of 2023, but the SSL certificate is only valid for one month (2022 dec - end of Jan 2023), which means the hint does not work anymore (setting time one year back exactly).
What worked was using timedatectl to set it directly:
timedatectl set-time "2023-01-15 00:00"
Hi, help me please to resolve my issue.
admin@i-068844a34e82f4dae:~$ grep -rwc "Alice" /home/admin/*.txt
/home/admin/11-0.txt:397
/home/admin/1342-0.txt:1
/home/admin/1661-0.txt:12
/home/admin/84-0.txt:0
admin@i-068844a34e82f4dae:~$ grep -rwc "Alice" /home/admin/*.txt | awk -F ':' '{total += $2} END {print total}'
410
admin@i-068844a34e82f4dae:~$ grep -l "Alice" /home/admin/1342-0.txt | xargs awk '/Alice/ {getline; print $1}'
156
The answer "410156" is not the solution, but the "411156" is.
Could you explain where I have the error?
Email RFC allows for case-sensitive addresses on the non-domain part; ie [email protected] can be a different mailbox than [email protected].
Still, at the moment, SadServers only uses all lowercase email addresses. It converts all the address string into lowercase, so you can register and log in as [email protected] but you cannot have a separate ("duplicated") johnsmith@ (or any case variation since they are treated the same) and the password reset will be sent to [email protected]
i need clarification here - should the name "gunicorn.sock" be hardcoded? or can it be "gunicorn.socket"?
i changed its name in gunicorn configs at /etc/systemd/system/gunicorn.service
yet when i restart gunicorn service - it still shows its listening on "sock" not socket
Is there any problem/requirement on writing/recording the scenarios being solved in a Youtube Channel or Medium article? Thanks in advance and well done, SadServers is amazing!
Have you considered adding a donation link in the project's documentation or README? This way, users and supporters could express their gratitude through small contributions.
tTe regex for checking the docker published port can be relaxed, as we don/t really care if the node app is not started on :8888, as long as the port is mapped correctly when executing "docker run".
For a few seconds while everything spins up in k8s, the pods pass the check (solution "correct")
Hey! Replays are intended to work or have been implemented just for the LWC and then forgot to remove it?
Because I've tried a scenario and it generated the followed link:
https://sadservers.com/accounts/View%20the%20recording%20at:
Just in case
The scenario was that and what I've done was nothing weird. Just tried the scenario and got kicked out because no time left.
it seems to me there is only 1 way it is solved, to do
sudo docker run -d -p 8880:8888 myapp
and actually myapp should be accepted as name, as long as only 1 container is running, but it seems it only accept the container named 'app'.
but the docker file has CMD['node', 'server.js'] - it still does not run as expected.
the only solution that works is if i run docker run -d app node server.js
Hi. Thanks for the great project.
Was it considered to use wasm linux in browser?
It would reduce AWS bill and it would be possible to use it offline.
"Run" in any scenario does not work.
Forbidden (403) CSRF verification failed.
My Using browsers (safari, GoogleChrome (v119.0.6045.159)) allow cookies, but I got a 403 with the above error.
You might find an article about this error that says there is no CSRF token in the form.
Could you investigate this Or give me any solutions?
Hello, dear @fduran
I've got a bug in "Lisbon" task. After generating new self signed certificate and restarting ETCD daemon, the error is etcd cluster is unavailable or misconfigured
, but test script says "OK". See the output below.
root@i-08012af3bb4b932ca:~# etcdctl get foo
Error: client: etcd cluster is unavailable or misconfigured; error #0: EOF
; error #1: dial tcp 127.0.0.1:4001: connect: connection refused
error #0: EOF
error #1: dial tcp 127.0.0.1:4001: connect: connection refused
root@i-08012af3bb4b932ca:~#
root@i-08012af3bb4b932ca:~# curl -k https://localhost:2379/v2/keys/foo
{"action":"get","node":{"key":"/foo","value":"bar","modifiedIndex":4,"createdIndex":4}}
root@i-08012af3bb4b932ca:~#
root@i-08012af3bb4b932ca:~# curl https://localhost:2379/v2/keys/foo
curl: (60) SSL certificate problem: self signed certificate
More details here: https://curl.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
root@i-08012af3bb4b932ca:~#
root@i-08012af3bb4b932ca:~#
root@i-08012af3bb4b932ca:~# cd /home/admin/agent && ./check.sh
OK
root@i-08012af3bb4b932ca:/home/admin/agent# GODEBUG=x509ignoreCN=0 etcdctl get foo
Error: client: etcd cluster is unavailable or misconfigured; error #0: EOF
; error #1: dial tcp 127.0.0.1:4001: connect: connection refused
error #0: EOF
error #1: dial tcp 127.0.0.1:4001: connect: connection refused
root@i-08012af3bb4b932ca:/home/admin/agent# GODEBUG=x509ignoreCN=0 ETCDCTL_ENDPOINT=https://localhost:2379 etcdctl get foo
bar
Do you know where we can see other users' scripts for the different problems? It would be helpful if there were a place to discuss problem solutions. I can, for instance, solve a problem in a very roundabout fashion without grasping the true essence of the lesson. Seeing how others completed the different exercises after submitting a correct solution would be helpful.
curl localhost
works with iptables fw rule because ipv6 is not blocker
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.