-
Notifications
You must be signed in to change notification settings - Fork 42
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
Web Only Install Not Flushing Expired Exposures #1659
Comments
By default, the flush images script will only flush images for camera ID 1. If you have multiple camera entries, you will have to run it again for the additional cameras. |
I've only got one camera configured. I'll run it again to see, but the automatic cleanup isn't working either. |
Can you post your Support Info bundle? |
Maybe I've got something bigger going on here. The support bundle webpage doesn't populate anything and when I run the shell script, it errors out somewhere after lsusb. `################################# indi-allsky support info#################################
############### ERROR############### The script exited abnormally, please try to run again...` |
When I run those next few lines from the support script manually, I get the following: `Check for virtual sessions USB info USB Permissions video device Permissions v4l info Module info |
I turned on your command tracing option and found the following: `+ echo 'USB info'
Apparently it doesn't like that lsusb returns nothing. |
I commented out the lsusb line and got the following support bundle: ################################# indi-allsky support info#################################
indi-allsky config (passwords redacted) {
"ENCRYPT_PASSWORDS_comment": "Do not manually adjust",
"ENCRYPT_PASSWORDS": false,
"CAMERA_INTERFACE": "indi",
"INDI_SERVER": "localhost",
"INDI_PORT": 7624,
"INDI_CAMERA_NAME": "",
"OWNER": "REDACTED",
"LENS_NAME": "AllSky Lens",
"LENS_FOCAL_LENGTH": 2.5,
"LENS_FOCAL_RATIO": 2.0,
"LENS_IMAGE_CIRCLE": 4000,
"LENS_OFFSET_X": 0,
"LENS_OFFSET_Y": 0,
"LENS_ALTITUDE": 90.0,
"LENS_AZIMUTH": 0.0,
"CCD_CONFIG": {
"NIGHT": {
"GAIN": 100,
"BINNING": 1
},
"MOONMODE": {
"GAIN": 75,
"BINNING": 1
},
"DAY": {
"GAIN": 0,
"BINNING": 1
}
},
"INDI_CONFIG_DEFAULTS": {
"SWITCHES": {},
"PROPERTIES": {},
"TEXT": {}
},
"INDI_CONFIG_DAY": {},
"CCD_EXPOSURE_MAX": 15.0,
"CCD_EXPOSURE_DEF": 0.0,
"CCD_EXPOSURE_MIN": 0.0,
"CCD_EXPOSURE_MIN_DAY": 0.0,
"CCD_BIT_DEPTH": 0,
"EXPOSURE_PERIOD": 15.0,
"EXPOSURE_PERIOD_DAY": 15.0,
"FOCUS_MODE": false,
"FOCUS_DELAY": 4.0,
"CFA_PATTERN": "",
"SCNR_ALGORITHM": "",
"WBR_FACTOR": 1.0,
"WBG_FACTOR": 1.0,
"WBB_FACTOR": 1.0,
"AUTO_WB": false,
"SATURATION_FACTOR": 1.0,
"CCD_COOLING": false,
"CCD_TEMP": 15.0,
"TEMP_DISPLAY": "c",
"PRESSURE_DISPLAY": "hPa",
"CCD_TEMP_SCRIPT": "",
"GPS_ENABLE": false,
"TARGET_ADU": 75,
"TARGET_ADU_DAY": 75,
"TARGET_ADU_DEV": 10,
"TARGET_ADU_DEV_DAY": 20,
"ADU_ROI": [],
"ADU_FOV_DIV": 4,
"DETECT_STARS": true,
"DETECT_STARS_THOLD": 0.6,
"DETECT_METEORS": false,
"DETECT_MASK": "",
"DETECT_DRAW": false,
"LOGO_OVERLAY": "",
"SQM_ROI": [],
"SQM_FOV_DIV": 4,
"LOCATION_NAME": "",
"LOCATION_LATITUDE": 33,
"LOCATION_LONGITUDE": -84,
"LOCATION_ELEVATION": 300,
"CAPTURE_PAUSE": false,
"TIMELAPSE_ENABLE": true,
"TIMELAPSE_SKIP_FRAMES": 4,
"TIMELAPSE": {
"PRE_PROCESSOR": "wrap_keogram",
"IMAGE_CIRCLE": 2000,
"KEOGRAM_RATIO": 0.15
},
"DAYTIME_CAPTURE": true,
"DAYTIME_CAPTURE_SAVE": true,
"DAYTIME_TIMELAPSE": true,
"DAYTIME_CONTRAST_ENHANCE": false,
"NIGHT_CONTRAST_ENHANCE": false,
"CONTRAST_ENHANCE_16BIT": false,
"CLAHE_CLIPLIMIT": 3.0,
"CLAHE_GRIDSIZE": 8,
"NIGHT_SUN_ALT_DEG": -6.0,
"NIGHT_MOONMODE_ALT_DEG": 0.0,
"NIGHT_MOONMODE_PHASE": 33.0,
"WEB_NONLOCAL_IMAGES": false,
"WEB_LOCAL_IMAGES_ADMIN": false,
"WEB_EXTRA_TEXT": "",
"WEB_STATUS_TEMPLATE": "Status: {status:s}\nLat: {latitude:0.1f}/Long: {longitude:0.1f}\nSidereal: {sidereal_time:s}\nMode: {mode:s}\nSun: {sun_alt:0.1f}° {sun_dir:s}\nMoon: {moon_alt:0.1f}° {moon_dir:s}\nPhase: {moon_phase_str:s} <span data-bs-toggle=\"tooltip\" data-bs-placement=\"right\" title=\"{moon_phase:0.0f}%\">{moon_glyph:s}</span>\nSmoke: {smoke_rating:s} {smoke_rating_status}\nKp-index: {kpindex:0.2f} {kpindex_rating:s} {kpindex_trend:s} {kpindex_status:s}\nAurora: {ovation_max:d}% {ovation_max_status}",
"HEALTHCHECK": {
"DISK_USAGE": 90.0,
"SWAP_USAGE": 90.0
},
"IMAGE_STRETCH": {
"CLASSNAME": "",
"MODE1_GAMMA": 3.0,
"MODE1_STDDEVS": 2.25,
"MODE2_SHADOWS": 0.0,
"MODE2_MIDTONES": 0.35,
"MODE2_HIGHLIGHTS": 1.0,
"SPLIT": false,
"MOONMODE": false,
"DAYTIME": false
},
"KEOGRAM_ANGLE": 0.0,
"KEOGRAM_H_SCALE": 100,
"KEOGRAM_V_SCALE": 33,
"KEOGRAM_CROP_TOP": 0,
"KEOGRAM_CROP_BOTTOM": 0,
"KEOGRAM_LABEL": true,
"STARTRAILS_MAX_ADU": 65,
"STARTRAILS_MASK_THOLD": 190,
"STARTRAILS_PIXEL_THOLD": 1.0,
"STARTRAILS_MIN_STARS": 0,
"STARTRAILS_TIMELAPSE": true,
"STARTRAILS_TIMELAPSE_MINFRAMES": 250,
"STARTRAILS_SUN_ALT_THOLD": -15.0,
"STARTRAILS_MOONMODE_THOLD": true,
"STARTRAILS_MOON_ALT_THOLD": 91.0,
"STARTRAILS_MOON_PHASE_THOLD": 101.0,
"STARTRAILS_USE_DB_DATA": true,
"IMAGE_CALIBRATE_DARK": true,
"IMAGE_CALIBRATE_BPM": false,
"IMAGE_EXIF_PRIVACY": false,
"IMAGE_FILE_TYPE": "jpg",
"IMAGE_FILE_COMPRESSION": {
"jpg": 90,
"png": 5,
"tif": 5,
"jpeg": 90
},
"IMAGE_FOLDER": "/var/www/html/allsky/images",
"IMAGE_LABEL_TEMPLATE": "# size:30 [Use 60 for higher resolution cameras]\n# xy:-15,15 (Upper Right)\n# anchor:ra (Right Justified)\n# color:150,0,0\n{timestamp:%Y.%m.%d %H:%M:%S}\n# color:100,100,0\nLat {latitude:0.0f} Long {longitude:0.0f}\n# color:150,150,150\nTiangong {tiangong_up:s} [{tiangong_next_h:0.1f}h/{tiangong_next_alt:0.0f}°]\nHubble {hst_up:s} [{hst_next_h:0.1f}h/{hst_next_alt:0.0f}°]\nISS {iss_up:s} [{iss_next_h:0.1f}h/{iss_next_alt:0.0f}°]\n# xy:-15,-240 (Lower Right) [Use -15,-450 for size 60]\n# color:175,175,0\nSun {sun_alt:0.0f}°\n# color:125,0,0\nMercury {mercury_alt:0.0f}°\n# color:100,150,150\nVenus {venus_alt:0.0f}°\n# color:150,0,0\nMars {mars_alt:0.0f}°\n# color:100,100,0\nJupiter {jupiter_alt:0.0f}°\n# color:100,100,150\nSaturn {saturn_alt:0.0f}°\n# color:150,150,150\nMoon {moon_phase:0.0f}% {moon_alt:0.0f}°\n# xy:15,-120 (Lower Left) [Use 15,-210 for size 60]\n# anchor:la (Left Justified)\n# color:0,150,150\nStars {stars:d}\n# color:150,50,50\nKp-index {kpindex:0.2f}\n# color:150,150,150\nSmoke {smoke_rating:s}\n# xy:15,15 (Upper Left)\n# color:0,150,0\nExposure {exposure:0.6f}\n# color:150,50,0\nGain {gain:d}\n# color:50,50,150\nCamera {temp:0.1f}°{temp_unit:s}\n# color:150,0,150\nStretch {stretch:s}\nStacking {stack_method:s}\n# color:200,200,200 (default color)\n# additional labels will be added here",
"URL_TEMPLATE": "https://{bucket}.s3.{region}.{host}",
"IMAGE_EXTRA_TEXT": "",
"IMAGE_CROP_ROI": [],
"IMAGE_ROTATE": "",
"IMAGE_ROTATE_ANGLE": 0,
"IMAGE_FLIP_V": true,
"IMAGE_FLIP_H": true,
"IMAGE_SCALE": 100,
"NIGHT_GRAYSCALE": false,
"DAYTIME_GRAYSCALE": false,
"MOON_OVERLAY": {
"ENABLE": false,
"X": 200,
"Y": 200,
"SCALE": 0.5
},
"IMAGE_CIRCLE_MASK": {
"ENABLE": false,
"DIAMETER": 1500,
"OFFSET_X": 0,
"OFFSET_Y": 0,
"BLUR": 35,
"OPACITY": 100,
"OUTLINE": false
},
"FISH2PANO": {
"ENABLE": false,
"DIAMETER": 3000,
"OFFSET_X": 0,
"OFFSET_Y": 0,
"ROTATE_ANGLE": -90,
"SCALE": 0.5,
"MODULUS": 2,
"FLIP_H": false,
"ENABLE_CARDINAL_DIRS": true,
"DIRS_OFFSET_BOTTOM": 25,
"OPENCV_FONT_SCALE": 0.8,
"PIL_FONT_SIZE": 30
},
"IMAGE_SAVE_FITS": false,
"IMAGE_SAVE_FITS_PRE_DARK": false,
"IMAGE_EXPORT_RAW": "",
"IMAGE_EXPORT_FOLDER": "/var/www/html/allsky/images/export",
"IMAGE_EXPORT_FLIP_V": false,
"IMAGE_EXPORT_FLIP_H": false,
"IMAGE_STACK_METHOD": "maximum",
"IMAGE_STACK_COUNT": 1,
"IMAGE_STACK_ALIGN": false,
"IMAGE_ALIGN_DETECTSIGMA": 5,
"IMAGE_ALIGN_POINTS": 50,
"IMAGE_ALIGN_SOURCEMINAREA": 10,
"IMAGE_STACK_SPLIT": false,
"THUMBNAILS": {
"IMAGES_AUTO": true
},
"IMAGE_EXPIRE_DAYS": 30,
"IMAGE_RAW_EXPIRE_DAYS": 10,
"IMAGE_FITS_EXPIRE_DAYS": 10,
"TIMELAPSE_EXPIRE_DAYS": 365,
"TIMELAPSE_OVERWRITE": false,
"IMAGE_QUEUE_MAX": 3,
"IMAGE_QUEUE_MIN": 1,
"IMAGE_QUEUE_BACKOFF": 0.5,
"FFMPEG_FRAMERATE": 25,
"FFMPEG_BITRATE": "5000k",
"FFMPEG_VFSCALE": "",
"FFMPEG_CODEC": "libx264",
"FFMPEG_EXTRA_OPTIONS": "-level 3.1",
"FITSHEADERS": [
[
"INSTRUME",
"indi-allsky"
],
[
"OBSERVER",
""
],
[
"SITE",
""
],
[
"OBJECT",
""
],
[
"NOTES",
""
]
],
"IMAGE_LABEL_SYSTEM": "pillow",
"TEXT_PROPERTIES": {
"DATE_FORMAT": "%Y%m%d %H:%M:%S",
"FONT_FACE": "FONT_HERSHEY_SIMPLEX",
"FONT_AA": "LINE_AA",
"FONT_SCALE": 0.8,
"FONT_THICKNESS": 1,
"FONT_OUTLINE": true,
"FONT_HEIGHT": 30,
"FONT_X": 30,
"FONT_Y": 30,
"FONT_COLOR": [
200,
200,
200
],
"PIL_FONT_FILE": "fonts-freefont-ttf/FreeMonoBold.ttf",
"PIL_FONT_CUSTOM": "",
"PIL_FONT_SIZE": 30
},
"CARDINAL_DIRS": {
"ENABLE": true,
"FONT_COLOR": [
255,
0,
0
],
"SWAP_NS": false,
"SWAP_EW": false,
"CHAR_NORTH": "N",
"CHAR_EAST": "E",
"CHAR_WEST": "W",
"CHAR_SOUTH": "S",
"DIAMETER": 4000,
"OFFSET_X": 0,
"OFFSET_Y": 0,
"OFFSET_TOP": 15,
"OFFSET_LEFT": 15,
"OFFSET_RIGHT": 15,
"OFFSET_BOTTOM": 15,
"OPENCV_FONT_SCALE": 0.5,
"PIL_FONT_SIZE": 20,
"OUTLINE_CIRCLE": false
},
"ORB_PROPERTIES": {
"MODE": "ha",
"RADIUS": 9,
"SUN_COLOR": [
200,
200,
0
],
"MOON_COLOR": [
128,
128,
128
],
"AZ_OFFSET": 0.0,
"RETROGRADE": false
},
"UPLOAD_WORKERS": 2,
"FILETRANSFER": {
"CLASSNAME": "pycurl_sftp",
"HOST": "",
"PORT": 0,
"USERNAME": "",
"PASSWORD": "REDACTED",
"PASSWORD_E": "REDACTED",
"PRIVATE_KEY": "",
"PUBLIC_KEY": "",
"CONNECT_TIMEOUT": 10.0,
"TIMEOUT": 60.0,
"CERT_BYPASS": true,
"REMOTE_IMAGE_NAME": "image.{ext}",
"REMOTE_PANORAMA_NAME": "panorama.{ext}",
"REMOTE_IMAGE_FOLDER": "/home/allsky/upload/allsky",
"REMOTE_PANORAMA_FOLDER": "/home/allsky/upload/allsky",
"REMOTE_RAW_FOLDER": "/home/allsky/upload/allsky/export",
"REMOTE_FITS_FOLDER": "/home/allsky/upload/allsky/fits",
"REMOTE_METADATA_NAME": "latest_metadata.json",
"REMOTE_METADATA_FOLDER": "/home/allsky/upload/allsky",
"REMOTE_VIDEO_FOLDER": "/home/allsky/upload/allsky/videos",
"REMOTE_MINI_VIDEO_FOLDER": "/home/allsky/upload/allsky/videos",
"REMOTE_KEOGRAM_FOLDER": "/home/allsky/upload/allsky/keograms",
"REMOTE_STARTRAIL_FOLDER": "/home/allsky/upload/allsky/startrails",
"REMOTE_STARTRAIL_VIDEO_FOLDER": "/home/allsky/upload/allsky/videos",
"REMOTE_PANORAMA_VIDEO_FOLDER": "/home/allsky/upload/allsky/videos",
"REMOTE_ENDOFNIGHT_FOLDER": "/home/allsky/upload/allsky",
"UPLOAD_IMAGE": 0,
"UPLOAD_PANORAMA": 0,
"UPLOAD_RAW": false,
"UPLOAD_FITS": false,
"UPLOAD_METADATA": false,
"UPLOAD_VIDEO": false,
"UPLOAD_MINI_VIDEO": false,
"UPLOAD_KEOGRAM": false,
"UPLOAD_STARTRAIL": false,
"UPLOAD_STARTRAIL_VIDEO": false,
"UPLOAD_PANORAMA_VIDEO": false,
"UPLOAD_ENDOFNIGHT": false,
"FORCE_IPV4": false,
"FORCE_IPV6": false,
"LIBCURL_OPTIONS": {}
},
"S3UPLOAD": {
"ENABLE": false,
"CLASSNAME": "boto3_s3",
"ACCESS_KEY": "",
"SECRET_KEY": "REDACTED",
"SECRET_KEY_E": "REDACTED",
"CREDS_FILE": "",
"BUCKET": "change-me",
"REGION": "us-east-2",
"NAMESPACE": "",
"HOST": "amazonaws.com",
"PORT": 0,
"CONNECT_TIMEOUT": 10.0,
"TIMEOUT": 60.0,
"URL_TEMPLATE": "https://{bucket}.s3.{region}.{host}",
"ACL": "",
"STORAGE_CLASS": "STANDARD",
"TLS": true,
"CERT_BYPASS": false,
"UPLOAD_FITS": false,
"UPLOAD_RAW": false
},
"MQTTPUBLISH": {
"ENABLE": false,
"TRANSPORT": "tcp",
"HOST": "localhost",
"PORT": 8883,
"USERNAME": "indi-allsky",
"PASSWORD": "REDACTED",
"PASSWORD_E": "REDACTED",
"BASE_TOPIC": "indi-allsky",
"QOS": 0,
"TLS": true,
"CERT_BYPASS": true,
"PUBLISH_IMAGE": true
},
"SYNCAPI": {
"ENABLE": false,
"BASEURL": "https://example.com/indi-allsky",
"USERNAME": "",
"APIKEY": "REDACTED",
"APIKEY_E": "REDACTED",
"CERT_BYPASS": false,
"POST_S3": false,
"EMPTY_FILE": false,
"UPLOAD_IMAGE": 1,
"UPLOAD_PANORAMA": 1,
"CONNECT_TIMEOUT": 10.0,
"TIMEOUT": 60.0
},
"YOUTUBE": {
"ENABLE": false,
"SECRETS_FILE": "",
"PRIVACY_STATUS": "private",
"TITLE_TEMPLATE": "Allsky {asset_label} - {day_date:%Y-%m-%d} - {timeofday}",
"DESCRIPTION_TEMPLATE": "",
"CATEGORY": 22,
"TAGS": [
"timelapse",
"allsky",
"astronomy"
],
"UPLOAD_VIDEO": false,
"UPLOAD_MINI_VIDEO": false,
"UPLOAD_STARTRAIL_VIDEO": false,
"UPLOAD_PANORAMA_VIDEO": false
},
"LIBCAMERA": {
"IMAGE_FILE_TYPE": "dng",
"IMAGE_FILE_TYPE_DAY": "dng",
"AWB": "auto",
"AWB_DAY": "auto",
"AWB_ENABLE": false,
"AWB_ENABLE_DAY": false,
"CAMERA_ID": 0,
"EXTRA_OPTIONS": "",
"EXTRA_OPTIONS_DAY": ""
},
"PYCURL_CAMERA": {
"URL": "",
"IMAGE_FILE_TYPE": "jpg",
"USERNAME": "",
"PASSWORD": "REDACTED",
"PASSWORD_E": "REDACTED"
},
"ACCUM_CAMERA": {
"SUB_EXPOSURE_MAX": 1.0,
"EVEN_EXPOSURES": true
},
"FOCUSER": {
"CLASSNAME": "",
"GPIO_PIN_1": "D17",
"GPIO_PIN_2": "D18",
"GPIO_PIN_3": "D27",
"GPIO_PIN_4": "D22"
},
"DEW_HEATER": {
"CLASSNAME": "",
"ENABLE_DAY": false,
"PIN_1": "D12",
"INVERT_OUTPUT": false,
"LEVEL_DEF": 100,
"THOLD_ENABLE ": false,
"MANUAL_TARGET": 0.0,
"TEMP_USER_VAR_SLOT": 10,
"LEVEL_LOW": 33,
"LEVEL_MED": 66,
"LEVEL_HIGH": 100,
"THOLD_DIFF_LOW": 15,
"THOLD_DIFF_MED": 10,
"THOLD_DIFF_HIGH": 5,
"THOLD_ENABLE": false
},
"FAN": {
"CLASSNAME": "",
"ENABLE_NIGHT": false,
"PIN_1": "D13",
"INVERT_OUTPUT": false,
"LEVEL_DEF": 100,
"THOLD_ENABLE ": false,
"TARGET": 30.0,
"TEMP_USER_VAR_SLOT": 10,
"LEVEL_LOW": 33,
"LEVEL_MED": 66,
"LEVEL_HIGH": 100,
"THOLD_DIFF_LOW": 0,
"THOLD_DIFF_MED": 5,
"THOLD_DIFF_HIGH": 10,
"THOLD_ENABLE": false
},
"GENERIC_GPIO": {
"A_CLASSNAME": "",
"A_PIN_1": "D21",
"A_INVERT_OUTPUT": false
},
"TEMP_SENSOR": {
"A_CLASSNAME": "",
"A_LABEL": "Sensor A",
"A_PIN_1": "D5",
"A_USER_VAR_SLOT": 10,
"A_I2C_ADDRESS": "0x77",
"B_CLASSNAME": "",
"B_LABEL": "Sensor B",
"B_PIN_1": "D6",
"B_USER_VAR_SLOT": 15,
"B_I2C_ADDRESS": "0x76",
"C_CLASSNAME": "",
"C_LABEL": "Sensor C",
"C_PIN_1": "D16",
"C_USER_VAR_SLOT": 20,
"C_I2C_ADDRESS": "0x40",
"OPENWEATHERMAP_APIKEY": "REDACTED",
"OPENWEATHERMAP_APIKEY_E": "REDACTED",
"WUNDERGROUND_APIKEY": "REDACTED",
"WUNDERGROUND_APIKEY_E": "REDACTED",
"MQTT_TRANSPORT": "tcp",
"MQTT_HOST": "localhost",
"MQTT_PORT": 8883,
"MQTT_USERNAME": "indi-allsky",
"MQTT_PASSWORD": "REDACTED",
"MQTT_PASSWORD_E": "REDACTED",
"MQTT_TLS": true,
"MQTT_CERT_BYPASS": true,
"TSL2561_GAIN_NIGHT": 1,
"TSL2561_GAIN_DAY": 0,
"TSL2561_INT_NIGHT": 1,
"TSL2561_INT_DAY": 1,
"TSL2591_GAIN_NIGHT": "GAIN_MED",
"TSL2591_GAIN_DAY": "GAIN_LOW",
"TSL2591_INT_NIGHT": "INTEGRATIONTIME_100MS",
"TSL2591_INT_DAY": "INTEGRATIONTIME_100MS",
"VEML7700_GAIN_NIGHT": "ALS_GAIN_1",
"VEML7700_GAIN_DAY": "ALS_GAIN_1_8",
"VEML7700_INT_NIGHT": "ALS_100MS",
"VEML7700_INT_DAY": "ALS_100MS",
"SI1145_VIS_GAIN_NIGHT": "GAIN_ADC_CLOCK_DIV_32",
"SI1145_VIS_GAIN_DAY": "GAIN_ADC_CLOCK_DIV_1",
"SI1145_IR_GAIN_NIGHT": "GAIN_ADC_CLOCK_DIV_32",
"SI1145_IR_GAIN_DAY": "GAIN_ADC_CLOCK_DIV_1",
"LTR390_GAIN_NIGHT": "GAIN_9X",
"LTR390_GAIN_DAY": "GAIN_1X"
},
"CHARTS": {
"CUSTOM_SLOT_1": 10,
"CUSTOM_SLOT_2": 11,
"CUSTOM_SLOT_3": 12,
"CUSTOM_SLOT_4": 13
},
"ADSB": {
"ENABLE": false,
"DUMP1090_URL": "https://localhost/dump1090/data/aircraft.json",
"CERT_BYPASS": true,
"USERNAME": "",
"PASSWORD": "REDACTED",
"PASSWORD_E": "REDACTED",
"ALT_DEG_MIN": 20.0,
"LABEL_ENABLE": true,
"LABEL_LIMIT": 10,
"AIRCRAFT_LABEL_TEMPLATE": "{id:s} {distance:0.1f}km {alt:0.1f}° {dir:s}",
"IMAGE_LABEL_TEMPLATE_PREFIX": "# xy:15,300 (Left)\n# anchor:la (Left Justified)\n# color:200,200,200\nAircraft"
},
"SATELLITE_TRACK": {
"ENABLE": false,
"DAYTIME_TRACK": false,
"ALT_DEG_MIN": 20.0,
"LABEL_ENABLE": true,
"LABEL_LIMIT": 10,
"SAT_LABEL_TEMPLATE": "{title:s} {alt:0.1f}° {dir:s}",
"IMAGE_LABEL_TEMPLATE_PREFIX": "# xy:-15,200 (Right)\n# anchor:ra (Right Justified)\n# color:200,200,200\nSatellites"
}
}
################################# end support info################################# |
I will fix the support info script. I was mainly interested in your memory, but the support info gives a lot of other info as well. It sounds like the Linux kernel out of memory [OOM] is killing the script. 512MB is a limited environment, but I would still expect it to run. |
I'm running it in an AWS t2.nano instance. I'll bump the memory and see what happens. |
I upgraded to a t2.micro instance which provide 1G of memory. When I try to run the flush_images script, it pegs the CPU and becomes unresponsive until I reboot the VM. I've tried monitoring memory externally, but don't have external visibility and lose the ability to see inside once everything is pegged. CPU consumption stays at 100% until I intervene. |
I just reviewed the code and I need to do some optimizations to the CLI flush script. I had already applied the optimizations to the web based flush operations, but it looks like I forgot to update the flush script. Try running the flush from the web interface, it should function a bit better. |
It did work from the web interface. I'll let it run for a while and see if it manages to keep things cleaned up automagically. |
Included with #1665 I optimized the CLI flush script for lower memory situations. |
I'm running a split setup where my pi is local only and I've got a web only install that's running in AWS. It seems that the web only instance is not cleaning up expired exposures. Even when running ./misc/flush_images.py, the /var/www/html/allsky/images/camera/exposures folder remains untouched. It seems like there may be a service that is include in the main install that is not included in the web only version. I don't have this issue on my pi instance. I was looking for a failure in a log file, but there's no indi-allsky.log file in /var/log/indi-allsky on the web only instance, just the webapp log file.
The text was updated successfully, but these errors were encountered: