-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathTODO
126 lines (81 loc) · 5.49 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
PASSWORD LENGTH
- Canvas - now has pw too short errors on initial startup - causes it not to start up
- SMC - pw length too short too, can't set pw in AD (and canvas?)
SYNC APP
- Download button on fog images - not working, jumping to Done! right away.
- Full down/up of apps after pw or ip change
Credential App
- Hangs on reset policy (reported by M. Huse)
OPELMS
- FIXED Canvas files download - some spaces/characters being replaced with _ when saving but not in links (file is in the folder, but link broken)
- FIXED A ' character in the filename means it doesn't match when an orphan check is done so it is downloaded then deleted
- Links to other canvas pages not working/translated
DOCKER
- dm.min_free_space - error - not enough space? plenty of space on the
drive.
-> create /etc/docker/daemon.json and add
: { "storage-driver": "devicemapper", "storage-opts": ["dm.loopdatasize=200G"]}
: service docker restart
*** BETTER SOLUTION - create separate LVM block device and not use LOOP
-> /etc/docker/daemon.json
: { "storage-driver": "devicemapper", "storage-opts":[
"dm.thinpooldev=/dev/mapper/custom-pool",
"dm.use_deferred_deletion=true",
"dm.use_deferred_removal=true"]}
*** Also - cleanup/prune options should free up space
- Assignments not always pushing? - Bugs w canvas upload fixed, forcing qtnetwork to be online always (not autodetect), need better messages on fail.
- EXE, DLL, ?? files are all coming in as .exe???
11/14/18
Laptop Track Pad Settings
- Apply registry settings to disable track pad when typing (see reg files)
- Add for HK_CURRENT_USER - may need to apply with canvas app?
8/14/18
BUG SMC - Student attempt to change password, AD error saying "unable to change pw on non existent account"
- AD._ldap - Being init, but not connected results in all future connection attempts to bypass actual bind call
Setting _ldap back to null on connect exception should cause full connection attempt next time around.
BUG SMC - Task - schedule refresh all logins - timing out - shouldn't run when ad is disabled.
BUG Canvas database config - connection pool timeout.
- Set at 5000 (5 sec). Upped to 50000 helps, trying 300000.
- Why slow connection pool? Specifically on large course import (400+ meg).
- Is this a connection pool issue or not enough threads/workers running?
- Also trying puma.rb (change threads to 16,32, workers to 6, turn off preload)??
- Dropped delayed_worker count to 2 from 4
- Update dastabase.yml to have a pool parameter which ups the connection pool from 5
BUG Codecombat doesn't copy dump.tar.gz and import it properly offline - volume not syncing?
BUG Canvas importing imscc > 600 meg - timeout - seems to work with direct connection to canvas port, seems to be nginx/gateway timeout issue
- ADD START_BOOT -> FINISH_BOOT status file for each container so we can see when things like canvas are actually online and ready
Done - on startup from cmd env Set password on SMC container (cleaner way to set initial password?)
Done - Import smc data from seperate repo
Done ? - SMC first run - debug lazy_tables on
Done - called on startup Command line password set - change admin and parameters file
download_volume_data.py - TODO
sync_to_portable_drive.py - TODO
sync_from_portable_drive.py - TODO
Need canvas, redis, postgresql images
Change permissions on volumes folder (invalid user access?)
Canvas - setup initial plugins and settings
- turn off email between students,
VOLUMES - fix cleanup_images.py to NOT delete volumes we want to keep
Host Machine Requirements
Docker installed --- https://susestudio.com/a/P08rUy/ope-docker - This is a linux that can be installed in a VM (vmware player or virtual box) or bare metal to run docker if you don't have a machine that is ready to run docker already.
Git
Python 2.7.?
Clone - https://github.com/frankyrumple/ope
Steps
Checkout ope project with Git to a machine that can run docker (windows is fine if you have the docker for win packages installed)
Make sure .enabled files exist in the folders for the containers you want (you will need gateway and dns)
Run: python rebuild_compose.py (should auto detect IP and ask you what domain to use - I have everything using .ed - khan.ed, smc.ed, jsbin.ed....)
Set a DNS forwarder to forward all ed domains to the IP of the docker machine (In Active directory, add a conditional forwarder)
From the ope folder run: docker-compose build
Once building is complete, run: docker-compose up -d
If DNS/etc is setup properly go to: http://jsbin.dev (may take a minute before you can view it, it will be compiling the node stuff on startup)
Data should be saved in a sub folder of ope called volumes (e.g. user dbs, etc...)
I need to do work on automating this more and sync the data/images to a USB drive. Work in progress... With docker you can use the python scripts to export/import the built images so you can take them to an offline server.
********CANVAS - Equation Images Not Showing - How to install codecogs and map it internally?
equation_images_controller - catching this and proxying to codecogs.com -
https://pencol.instructure.com/equation_images/%255Cfrac%257B1%257D%257B8%257D
http://latex.codecogs.com/gif.latex?%5CDelta%5COmega
codecogs.equation_image_link - how to set this in ruby settings???
SQL -- insert into settings (name, value) values ('codecogs.equation_image_link', 'http://broken.link.com');
https://cdn.mathjax.org/mathjax/2.1-latest/MathJax.js?config=TeX-AMS_HTML.js&_=1485206720072
test