laberning / openrowingmonitor

A free and open source performance monitor for rowing machines
https://laberning.github.io/openrowingmonitor
GNU General Public License v3.0
98 stars 19 forks source link

Empty Config Files #96

Closed ThreeSpaceTab closed 1 year ago

ThreeSpaceTab commented 1 year ago

The display runs, but there are no files that I could edit the parameters in. "ls" shows an empty home directory.

JaapvanEkris commented 1 year ago

Is the entire config directory empty?

ThreeSpaceTab commented 1 year ago

There is no config directory. So I went into the install script and noted the $INSTALL_DIR and tried to navigate to it. There was no where to go, all empty except the /boot was populated and matched the settings.

I thought the install may have created a different account than the one I ssh'd in to but just the default pi was in use.

ThreeSpaceTab commented 1 year ago

I have manually followed the install.sh and have now populated everything. I will do a full test later today to see if there are any bugs while rowing, but for now I can see the config files. They are not in the home directory (pi/rowingmonitor) but in the home+INSTALL_DIR which is pi/rowingmonitor/opt/openrowingmonitor/config The install guide may need to be updated if this is the correct location.

JaapvanEkris commented 1 year ago

Normally the app installs under /opt/openrowingmonitor/ (and thus the config is found under /opt/openrowingmonitor/config/config.js). Were you explicitly under /home/pi when installing?

ThreeSpaceTab commented 1 year ago

I am not sure what happened with the default install as no config file was created. When manually installing, I copied the scripts and ended up with a correct location for the config file.

ThreeSpaceTab commented 1 year ago

Manually installed and successfully populated the config files.

laberning commented 1 year ago

That sounds strange and normally should not happen. Just for the record, if something goes wrong with copying the config-File (or if you want install manually without the installer), then you can always manually copy the config.js from the install-directory into the config-directory.