rkaczorek / astroberry-server Goto Github PK
View Code? Open in Web Editor NEWAstroberry Server is a ready to use system for Raspberry Pi for controlling all your astronomy equipment
License: GNU General Public License v3.0
Astroberry Server is a ready to use system for Raspberry Pi for controlling all your astronomy equipment
License: GNU General Public License v3.0
I have just started operating Astroberry as an astrophotography web server on a RPi 3 B+ and I note that the geographical information seems to be locked to Warsaw, Poland and the time and calendar date remain in Polish language and start in 2016. Am I missing something essential in my configuration options?
Hello,
Within a day or two of setting up astroberry, my filesystem has run out of space. However there's a lot of memory on the card available. How can I expand the partition size?
Thank you!
Regards,
Blair
When I try to connect to my QHY5 IIM camera in PHD2 it does not connect
Hi Rkaczorek,
This project looks great, thank you for all your hard work.
I have done the install and updated the app but when I run Software Updater for the system I get "Not enough free disk space" error message. The current image has 63Mb for the Boot Sector but needs about 67Mb for the latest software setup. My resizing of the boot sector with Gparted has failed several times. Is there a simple solution to this?
Thanks Peter
Hi I just donwnloaded AstroBerry and now I have the problem that the WLANCongig-gui has no Text Input for my wlan configuration.
i believe WLAN on pi3B+ and Mate 16.04 are not compatible. I tried to mod the replicant conf file but does not work. I can only have the ethernet working
Weather plugin was changed to show my location ok - only works if no reboot as it goes back to Warsaw.
However the Celestial applet of the side panel still shows Warsaw even though GPS had made a fix and I had changed the weather app to correct location.
It would be useful to have one location source so that all apps report the same location !
Unless there is a specific way to do this which I have missed.
Not a major problem!
Hi,
I tried your image on RPI3 for few weeks without any problems.
Now I'm trying it on RPI4 but my all the buttons on the desktop are gone after set the resolution.
Only the right button of the mouse runs. The desktop is empty.
Do you have an idea ?
Regards
Hello,
I changed the language and clicked on the WLAN icon in Mint ... I thought I need to set the Access Point data.
But now the RPI don´t send the WLAN "astroberry" anymore.
How can I restore this?
Thank you!
Astroberry by default does not have a RAW decoder it seems so loading CR2 files fail in ASTAP/CCDCIEL. Required ,for me at least, as I pass across CR2 files I have taken from APT(windows) across to ccdciel which as I run on Windows normally has the RAW file decoder preloaded in the install of CCDCIEL. Not the same for Linux !
ccdciel reported this
21:27:57 Could not find libpasraw.so.1, libraw.so or dcraw. Loading camera raw files is not possible.
21:28:16 No RAW decoder found!
ASTAP reported this
Could not find program unprocessed_raw !!, Install libraw. Eg: sudo apt-get install libraw-bin
astroberry.local name is not accessible when connected via Wi-Fi HotSpot # #
I installed a bluetooth serial port module in my mount and this was working flawless with INDI on a raspberry pi zero w running raspbian. However, using the astroberry image, I get timeout errors and I cannot get my mount to do anything.
I'm having a hard time finding any info on this issue and I'm stuck. Is this a known issue with the particular version of Ubuntu Mate? Any suggestions on what I could try next?
EDIT: I am able to connect to my mount, but soon after connecting, I get timeout errors and no commands seem to make it to my mount.
After configuring access to a home network, Astroberry never falls back to AP mode, even when the network is no longer available. Tested by turning off the router power supply, and also on a field trip.
Is there any way to run astroberry on RPi 4? The performance gain, RAM, plus USB3 is a nice addition.
If you install Libraw CR2 files are loaded and processed ok in ASTAP - unfortunately this doesn't work for CCDCIEL (4.65)
Fresh install of Astroberry image on Raspberry Pi3. During power on stage, a low voltage warning indicator is being printed on the screen. Once the Desktop environment is ready, the yellow voltage indicator on the right appears.
This (https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=58151) might suggest the image is using old boot code but I cannot verify this.
Currently, my Pi is rebooting approx. every 5 mins. I can increase this frequency by inducing load on the system (i.e. running KStars).
Hi,
I switched to astroberry 2.0 and copied my ~/.indi
directory to the new installation (UPDATE: solution at the bottom).
Unfortunately indi-web fails to start:
astroberry@astroberry:~ $ sudo systemctl start indiwebmanager.service
astroberry@astroberry:~ $ sudo systemctl status indiwebmanager.service
indiwebmanager.service - INDI Web Manager
Loaded: loaded (/etc/systemd/system/indiwebmanager.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2019-12-01 13:19:58 CET; 187ms ago
Main PID: 1777 (indi-web)
Tasks: 1 (limit: 2077)
Memory: 2.5M
CGroup: /system.slice/indiwebmanager.service
└─1777 /usr/bin/python3 /usr/local/bin/indi-web -v
Dec 01 13:19:58 astroberry systemd[1]: Started INDI Web Manager.
astroberry@astroberry:~ $ sudo systemctl status indiwebmanager.service
indiwebmanager.service - INDI Web Manager
Loaded: loaded (/etc/systemd/system/indiwebmanager.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Sun 2019-12-01 13:19:59 CET; 1s ago
Process: 1777 ExecStart=/usr/local/bin/indi-web -v (code=exited, status=1/FAILURE)
Main PID: 1777 (code=exited, status=1/FAILURE)
astroberry@astroberry:~ $ sudo systemctl status indiwebmanager.service
indiwebmanager.service - INDI Web Manager
Loaded: loaded (/etc/systemd/system/indiwebmanager.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2019-12-01 13:20:04 CET; 625ms ago
Main PID: 1803 (indi-web)
Tasks: 2 (limit: 2077)
Memory: 8.0M
CGroup: /system.slice/indiwebmanager.service
└─1803 /usr/bin/python3 /usr/local/bin/indi-web -v
Dec 01 13:20:04 astroberry systemd[1]: Started INDI Web Manager.
Dec 01 13:20:05 astroberry indi-web[1803]: 2019-12-01 13:20:05,189 - DEBUG: command line arguments: {'indi_port': 7624, 'port': 8624, 'host': '0.0.0.0', 'fifo': '/tmp/indiFIFO', 'conf': '/ho
Dec 01 13:20:05 astroberry indi-web[1803]: 2019-12-01 13:20:05,211 - INFO: pkill -9 indiserver
Dec 01 13:20:05 astroberry indi-web[1803]: 2019-12-01 13:20:05,240 - WARNING: terminating indiserver failed code 1
If I start indi-web manually I also get a lot of error messages ..
astroberry@astroberry:~ $ cd /usr/local/bin
astroberry@astroberry:/usr/local/bin $ ls
indi-web
astroberry@astroberry:/usr/local/bin $ ./indi-web -v
2019-12-01 13:29:13,141 - DEBUG: command line arguments: {'indi_port': 7624, 'port': 8624, 'host': '0.0.0.0', 'fifo': '/tmp/indiFIFO', 'conf': '/home/astroberry/.indi', 'xmldir': '/usr/share/indi/', 'verbose': True, 'logfile': None, 'server': 'standalone'}
2019-12-01 13:29:13,157 - INFO: pkill -9 indiserver
2019-12-01 13:29:13,180 - WARNING: terminating indiserver failed code 1
2019-12-01 13:29:13,184 - INFO: using Bottle as standalone server
2019-12-01 13:29:13,269 - INFO: Deleting fifo /tmp/indiFIFO
2019-12-01 13:29:13,282 - INFO: indiserver -p 7624 -m 100 -v -f /tmp/indiFIFO > /tmp/indiserver.log 2>&1 &
Traceback (most recent call last):
File "./indi-web", line 10, in <module>
sys.exit(main())
File "/usr/local/lib/python3.7/dist-packages/indiweb/main.py", line 315, in main
start_profile(profile['name'])
File "/usr/local/lib/python3.7/dist-packages/indiweb/main.py", line 99, in start_profile
indi_server.start(info['port'], all_drivers)
File "/usr/local/lib/python3.7/dist-packages/indiweb/indi_server.py", line 74, in start
self.start_driver(driver)
File "/usr/local/lib/python3.7/dist-packages/indiweb/indi_server.py", line 37, in start_driver
cmd = 'start %s' % driver.binary
AttributeError: 'NoneType' object has no attribute 'binary'
SOLUTION
cd ~/-indi # this is my backup from the old astroberry
mv profiles.db profiles.db_astroberry_1_$(date +%F)
Now you can start indi-web service*** , which creates a new profile database.
*** https://www.indilib.org/support/tutorials/162-indi-web-manager.html
*** https://github.com/knro/indiwebmanager
Hi rkaczorek
thank you very much for your fantastic job!! I'd like to use the astroberry system for controlling my scope and I think that it's really wonderflul!!
I downloaded the image (and checked the checksum), but when I try to write it to my 16GB SD Card (with Win32DiskImager) it says that the image is a little bit larger than the SD Card; a 16GB SD card has 14.4 free space while the image is 14.8GB.
I tried to write it ignoring the warning, but when I start Pi there is immediately a kernel panic "Kernel Panic: VFS : Unable to mount root fs on unknown-block (179,2)".
Could you please help me with this issue?
Thanks very very much!!!
This was on a fresh image.
There was an issue in the update. Rerunning allowed it to continue
astroberry@astroberry:$ sudo astroberry-update$ sudo astroberry-update
[sudo] password for astroberry:
/usr/local/bin/astroberry-update: line 81: unexpected EOF while looking for matching `"'
/usr/local/bin/astroberry-update: line 84: syntax error: unexpected end of file
astroberry@astroberry:
Updating Astroberry Server...
Astroberry Server updated successfully
There seems to be an issue in the upgrade script:
astroberry@astroberry:~$ sudo astroberry-upgrade
Your system version is 1.0.1 and the latest version is 1.0.3
Do you want to upgrade your system (y/n)? y
Upgrading to version 1.0.2...
Updating PHD2...
Fixing hostname...
Updating noVNC...
Updating custom packages...
Installing Planetary Imager...
Your system has been upgraded to version 1.0.2
Upgrading to version 1.0.3...
Updating Planetary Imager...
/usr/local/bin/astroberry-upgrade: line 159: apt-get-y: command not found
Installing Skychart/Cartes du Ciel...
Installing INDI Web Manager...
Created symlink from /etc/systemd/system/multi-user.target.wants/indiwebmanager.service to /etc/systemd/system/indiwebmanager.service.
Updating noNVC...
Synchronizing state of nginx.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install enable nginx
Setting up welcome page...
Your system has been upgraded to version 1.0.3
From now on visit http://astroberry.local to access welcome page and https://astroberry.local/desktop/ to access Astroberry Server
Your system is up to date.
Hi,
On a fresh and upgraded astroberry install, the GPS location cannot be forced using configuration files.
After setting my location coordinates in /etc/astropanel.conf
with use_gps = no
and enabling debug ouput, I can cleary see astropanel.py
using my configuration file
Loading values from configuration file
/etc/astropanel.conf
xxx
xxx
0
xxx
My location
But somehow, the astropanel is locked to Warsaw and is waiting for a gps fix
Even setting the location in the system weather file /etc/xdg/lxpanel/LXDE-astroberry/panels/panel
does not change the gps panel location.
Initial black screen issues, reburned SD card
VNC and https OK
expanded filesystem and rebooted, VNC black screen and https immediately disconnected after connect
ssh into RasPi and rebooted
now VNC and https seem OK
Not sure if this is hardware related or python but GPS is not working well with Astroberry Panel at times.
Symptom:-
Debug just says "trying GPS ........ " then "no coordinates" and takes the default
Ublox-7 is my GPS dongle but the above problem doesn't have a pattern. As I have said before the GPS is next to the Window so not best placed but the fact hat CGPS is working ok seems to suggest a problem with Astropanel GPS/Python program. I do wait a good deal of time for the GPS to stabilise.
Sorry I could find more info !
Hi Radek,
As requested info on above problem.
2.Astroberry installed as per instructions using APT etc
Astroberry is able to see only User Astroberry profiles (guess thats what is expected)
Created new profiles via Web Browser utility - these can be seen even after power off/on
Running Kstars via Menu - education etc via REALVNC viewer - ekos only see's original pre Astroberry profiles.
Astroberry Connect does NOT work with my Realvnc server - which was installed before Astroberry but is up to date. Press "connect" in Web browser and just displays "failed to connect". Thats using either Hotspot or Static Wired Ethernet addresses. Dont get the option to input a password! Realvnc viewer works as before Astroberry install.
No DOT(.)indi directory exists under Astroberry user but does still exist under PI.. Used ls -la to verify which should have shown "hidden directories".
Guess problem is with having existing user PI with Indi/Kstars/ekos compiled and installed,
Where are the log files for Astroberry server etc kept - nothing shown in SYSLOG,DMESG etc
Also Rpi-config is not holding on to changes for Wifi (GB).
Hotspot working fine even when connected to static wired ethernet - i.e. both working together.
Weather plugin does not hold onto location change using UK post code - it might be warmer in Warsaw but not really helpful. Reverts back to Warsaw when HOTSPOT only connected.
To be fair I would have used a clean install but haven't a spare SD card at the moment
Is it possible to install the atik air program?
I use a ccd atik and I would like to install the artemis capture program. it's possible?
Thank you
For connections by VNC, I need execute in every session VNCserver. I want to have the rapsberry in my personal remote observatory, and I don't know how can I would connect by VNCclient in my PC without to do in first time the manual activation of the VNC server in the Rapsberry.
Is it possible execute it automatically in the setup of the rapsberry session?
Sorry for my poor english, and congratulations for your excellent work in this astroberry server!!!
Trying to connect to RPi over VNC - it is very slow and laggy. The response time is in the order of seconds
Hi,
I installed the certificate and am running Chrome. But I get the "Your connection is not private" message from Chrome and even using an anonymous window has the same result. I am using Windows 10
Is there something I am doing wrong?
Thanks in advance
Olivier
Hullo!
when I active my rapsberry pi 3 Model B, after SD flash and expand the space with raspi-config, VAP works correctly. But, when I configure my Home Wlan, VAP wireless does not appear. Is it incompatible? Can I do the remote control by ethernet lan connection?
Thanks!
6.666016 ptp_usb_getdata (2): Reading PTP_OC 0x1008 (Get object info) data...
6.666036 gp_port_read (3): Reading 1024 = 0x400 bytes from port...
6.666151 gp_libusb1_read libusb1.c:577: 'libusb_bulk_transfer (port->pl->dh, port->settings.usb.inep, (unsigned char*)bytes, size, &curread, port->timeout)' failed: Pipe error (-9)
6.666185 gp_port_read gphoto2-port.c:437: Reading 1024 = 0x400 bytes from port failed: Error reading from the port (-34)
6.666203 ptp_usb_getpacket (2): Clearing halt on IN EP and retrying once.
6.666221 gp_port_usb_clear_halt (2): Clear USB halt...
6.666282 gp_port_read (3): Reading 1024 = 0x400 bytes from port...
novnc has recently been updated.
Is it possible to update this app on astroberry?
Radek,
Indiserver started via the panel seems to use a PIPE(/tmp/indififo for communication with drivers ?
Does this mean the astroberry indi drivers are special in any way or is this something indi drivers have always been able to do.
Does this give any advantages?
Just being nosey :-)
Hi,
First, great job for your application :).
When i want to log in via web browser on https:///desktop, i have this on login screen :
noVNC encountered an error: Uncaught TypeError: Cannot read property 'appendChild' of null https://astroberry.local/desktop/app/custom_ui.js:834:40 TypeError: Cannot read property 'appendChild' of null at Object.setAlienStyles (https://astroberry.local/desktop/app/custom_ui.js:834:40) at Object.initSettings (https://astroberry.local/desktop/app/custom_ui.js:192:16) at Object.start (https://astroberry.local/desktop/app/custom_ui.js:114:16) at Object.WebUtil.initSettings (https://astroberry.local/desktop/app/webutil.js:165:22) at Object.load (https://astroberry.local/desktop/app/custom_ui.js:104:21) at window.onscriptsload (https://astroberry.local/desktop/app/custom_ui.js:75:45) at HTMLScriptElement.loadFunc (https://astroberry.local/desktop/app/webutil.js:409:28)
When i turn off and on my rPi i havn't these errors yet.
Few weeks ago, i have only change wifi configuration to allow my rPi to connect to my local network and sometime i update packets via synaptics.
If you have some questions, i will trying to answer you.
Thx
Radek,
Having a real GPS switched on makes the map repeatedly jump between default location and the fix from the real GPS. Ok if no real GPS attached.
I can connect access point with laptop (Windows 10) using VNC Viewer but not with my tablet A (android). MSG: The computer's domain name could not be resolve.
Is the list of features correct on the readme page? I don't see some of this stuff and am wondering if I missed something when I installed from an existing Raspbian build.
I don't see things like Cartes du Ciel and CCDciel, but I do see Kstars, PHD2, and oaCapture. I might not need the missing stuff, just curious if the readme is up-to-date.
Also, do you recommend getting a USB GPS device for the Raspberry Pi? It would be nice if I could rely on the polar finder chart. Without an accurate location, I think it's going to be incorrect all of the time.
Chrome just says "Failed - Network error" and link is not working with e.g. curl from the command line to get more information. I guess Google might be rate limiting.
Maybe to make Astroberry more "turnkey" the Astroberry panel could allow the user to state which applications are started on boot (tick box approach aka Indi drivers) so when they press "connect" for NoVnc these applications are open and ready for user input. I know it can be done normally via the desktop autostart mechanism/files.
Just thought it might be a feature to have for those who dont want to get too involved in Linux etc.
Just a thought. :-)
Burning to 16Gb SD using dd or Etcher gives warning image too big.
Following instructions to shrink image in gparted shows no loop0p1 just loop0 and gparted shows 3.9Gb partition but you can't resize or get any info.
Please shrink image before posting for download as I can't use the image file you provide
Linux Mint 18.3
I've just recently installed the astroberry-server and it seems to work OK apart from Firefox. In attempting to upgrade the system using Software Updater, the system always crashes halfway through the update. There are something like 400 modules to be updated. Is this a known problem?
Edit: This was caused by a faulty SD card. All now OK.
Hi,
I'have just copied astroberry-server_2.0.0.img on a Scandisk Ultra 16 Gb + RPI3B.
There is no wifi hotspot so, nothing possible to do.
Thanks to help me.
Richard
Hi ,
Slightly different but if the GPS MAP disappears you can get it back by doing a "reload" or F5 - this is ok if you are connected via std browser to :8625 - works ok.
If you do the same via the GPS panel it disconnects NOVNC - in my book a bug :-)
Loaded the latest version of astroberry today on to my RPi3B+
Trying to access from my iMac running OSX 10.14.3
ssh connection works fine. via Wifi
VNC connection also works fine but is a little laggy.
When I try and connect via my safari browser I get asked to connect and when I enter the password I get the error message below.
Also tried with Opera browser and get the same message.
I installed the astroberry2 image, but vnc is not accessible via web, it says FAILED TO CONNECT, but it works if i use the vnc client from my pc or tablet
To limit confusion for new users please can the panel state the "units" for the Lat/Lon and Altitude. :-)
I am setting up Astroberry for the first time. I have used StellarMate.
When I go to settings to download astrometry index files, it says “downloads disabled.” The user interface is different from StellarMate, so I am stuck. I don’t see any check box to change the setting.
I see that the astrometry.cfg file is editable, but I am not a programmer.
How do I enable downloads so I can install the plate solving files?
I see reference to ASTAP, which I have heard of, but again, no idea how to set it up with index files for plate solving. Is there a manual for Astroberry?
My hope is to get this Raspberry Pi 4 working once and for all without all the crashes and headaches and workarounds of StellarMate.
Thank you for putting this package together. Looking forward to trying it under the stars.
Tim
Hi,
I have no WiFi connexion, edited the /etc/wpa_supplicant/wpa_supplicant.conf with ssid and psk (my wifi password) and reboot, no ip in ifconfig (http://astroberry.local/ => ERR_NAME_NOT_RESOLVED).
And with the raspi-config, I can't change the keyboard layout.
With other raspi-config i do :
when I launch Firefox it reports an error immediately. The error is
We're sorry
Firefox had a problem and crashed
I tried to update Firefox but it reported that I had the latest version
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.