-
Notifications
You must be signed in to change notification settings - Fork 57
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
[Documentation:Developer] Reorganize troubleshooting #565
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
2693637
Developer Troubleshooting Reorganized
RitaLei123 0160ff0
Remove Index Page
RitaLei123 c4c9ca5
Fixing Typo
RitaLei123 5a610dc
Updating Path for Re Creating Sample Course Data
RitaLei123 2e00a55
Merge branch 'main' into Reorganize-Troubleshooting
RitaLei123 de7a495
Fix Path
RitaLei123 a000a39
Merge branch 'Reorganize-Troubleshooting' of https://github.com/Submi…
RitaLei123 601fb9d
Fix PR
RitaLei123 a49fc87
Fix navtreedata.js
RitaLei123 7fa9534
Remove reinstallation_troubleshooting instances
RitaLei123 623cad3
fix gem file
RitaLei123 b98d252
Gemfile fix
RitaLei123 608d394
lockfile
RitaLei123 2a13d61
Ruby
RitaLei123 535b58c
minor edits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
--- | ||
BUNDLE_PATH: "vendor/bundle" | ||
BUNDLE_FROZEN: "false" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,6 @@ complicated and expensive steps at the bottom of the page._ | |
|
||
Please also see [Installation Version Notes](/sysadmin/installation/version_notes) | ||
|
||
|
||
--- | ||
|
||
## Submitty Help - List of Shortcuts | ||
|
@@ -202,41 +201,6 @@ autograding configuration, you'll probably need to: | |
|
||
* [Batch Regrade Homeworks](/instructor/batch_regrade_submissions) already submitted to those gradeables. | ||
|
||
--- | ||
|
||
## System Clock Testing & Troubleshooting | ||
|
||
* If the VM has a clock skew (incorrect time) | ||
|
||
``` | ||
sudo service ntp stop | ||
sudo ntpd -gq | ||
sudo service ntp start | ||
``` | ||
|
||
|
||
* If you need to test time and/or date dependent elements, you can | ||
change it in the vagrant machine so you don't have to wait. To | ||
remove the syncing and set your own time: | ||
|
||
``` | ||
sudo systemctl disable ntp | ||
timedatectl set-ntp 0 | ||
sudo date -s "<year>-<month>-<day> <hour>:<minute>:<seconds> | ||
``` | ||
|
||
To check the date, helpful to make sure the date and time you set has stuck: | ||
|
||
``` | ||
date | ||
``` | ||
|
||
To sync back with the current time: | ||
|
||
``` | ||
sudo systemctl enable ntp | ||
timedatectl set-ntp 1 | ||
``` | ||
|
||
--- | ||
|
||
|
@@ -259,12 +223,10 @@ these changes. | |
``` | ||
sudo python3 /usr/local/submitty/GIT_CHECKOUT/Submitty/.setup/update_database.py | ||
``` | ||
|
||
|
||
|
||
--- | ||
|
||
## Re-Creating All Sample Course Data | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. and the instructions for rebuilding sample course data should stay here |
||
|
||
* If you've changed the script to create a new course | ||
(`create_course.sh`), or the schema for the master database | ||
(`submitty_db.sql`), or the schema for the course databases | ||
|
@@ -331,6 +293,8 @@ these changes. | |
work that has been done._ | ||
|
||
--- | ||
--- | ||
|
||
|
||
## Virtual Machine Recovery using Snapshots | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
102 changes: 0 additions & 102 deletions
102
_docs/developer/development_instructions/troubleshooting.md
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i agree with moving the system clock troubleshooting to another file