Issues with fresh install on Lubuntu

General Discussion

Issues with fresh install on Lubuntu

Postby Map63Vette » Fri Aug 04, 2017 1:32 pm

So I'm trying to set up a Linux server for my house to run the AlarmDecoder web app along with some other things and have some confusion regarding the installation process. I was following along on the GitHub directions, but have some questions. Everything seems to work fine up until I get to step 13:

sudo cp /opt/alarmdecoder-webapp/contrib/nginx/nginx.service /lib/systemd/system/nginx.service

The problem as I see it is that the /opt/alarmdecoder-webapp/contrib/nginx/ folder doesn't yet exist, so how can I copy things from it? This folder doesn't get created until step 19 when you do the git clone command as I understand it. Am I missing something here? I'm having a separate issues later on at step 23 where I'm supposed to copy over the alarmdecoder file to the nginx/sites-available folder, the problem being that the sites-available folder doesn't exist after installing nginx. The sites-enabled folder is also not present, so there's no default file to remove in step 25.

I am admittedly rather new to Linux. I have dabbled a bit with a Raspberry Pi for a car computer project, but not much beyond that. Maybe I'm missing something on a base level, but I'd just like to know if there is something else I'm supposed to be doing first. I am about to start a fresh installation of Lubuntu so I have a clean slate to start from to try following the directions again and double checking all my work.

As a small secondary note, in the directions for step 1 "sendmail" is listed twice in the install command. Don't know that it matters, but it's there. Also, from doing some research today it seems like the context for step 16 is off. I'm seeing it online as pip install --upgrade modulename, whereas the directions have it as pip install modulename --upgrade. Is this correct?
Map63Vette
newt
newt
 
Posts: 12
Joined: Thu Aug 03, 2017 6:24 am

Re: Issues with fresh install on Lubuntu

Postby kevin » Fri Aug 04, 2017 3:04 pm

The manual install instructions haven't been re-visited in some time - I will have to do that and revise them.

At first glance, you are correct - you should do the git clone for those directories to exist. So pretend step 13 is right after step 19.

If the nginx/sites-available folder doesn't exist, you can create it with the mkdir command

Order of arguments for pip i don't think matters but I can revisit this as well to verify.


Map63Vette wrote:So I'm trying to set up a Linux server for my house to run the AlarmDecoder web app along with some other things and have some confusion regarding the installation process. I was following along on the GitHub directions, but have some questions. Everything seems to work fine up until I get to step 13:

sudo cp /opt/alarmdecoder-webapp/contrib/nginx/nginx.service /lib/systemd/system/nginx.service

The problem as I see it is that the /opt/alarmdecoder-webapp/contrib/nginx/ folder doesn't yet exist, so how can I copy things from it? This folder doesn't get created until step 19 when you do the git clone command as I understand it. Am I missing something here? I'm having a separate issues later on at step 23 where I'm supposed to copy over the alarmdecoder file to the nginx/sites-available folder, the problem being that the sites-available folder doesn't exist after installing nginx. The sites-enabled folder is also not present, so there's no default file to remove in step 25.

I am admittedly rather new to Linux. I have dabbled a bit with a Raspberry Pi for a car computer project, but not much beyond that. Maybe I'm missing something on a base level, but I'd just like to know if there is something else I'm supposed to be doing first. I am about to start a fresh installation of Lubuntu so I have a clean slate to start from to try following the directions again and double checking all my work.

As a small secondary note, in the directions for step 1 "sendmail" is listed twice in the install command. Don't know that it matters, but it's there. Also, from doing some research today it seems like the context for step 16 is off. I'm seeing it online as pip install --upgrade modulename, whereas the directions have it as pip install modulename --upgrade. Is this correct?
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Re: Issues with fresh install on Lubuntu

Postby Map63Vette » Sat Aug 05, 2017 8:14 am

Okay, going back through it fresh and things seem to be working okay so far, but a few more things I've run into if you care to make any notes. The /etc/gunicorn.d folder is also not there in step 26. I've got ahead and created it as well as the nginx/sites* folders to complete those steps. However, I think the next error I'm getting is a little more serious. On step 28 (./opencv.sh) I'm getting a "no known documentation files found", which I don't think is that big of a deal as I can ignore that step when it prompts me. However, after I tell it to not make a set of default package docs I'm getting a

"make: *** No rule to make target 'install'. Stop."

error and the installation fails, though it then says at the end of the text string that "OpenCV3.3.0 is ready to be used". Is this an actual problem or just an error I can ignore?
Map63Vette
newt
newt
 
Posts: 12
Joined: Thu Aug 03, 2017 6:24 am

Re: Issues with fresh install on Lubuntu

Postby Map63Vette » Sat Aug 05, 2017 3:22 pm

So I might have fixed my own problem. I ran that same command again with a sudo in front and things seemed to install okay. I believe I've now got things mostly up and running and can get to the webpage, though not through the alarmdecoder.local address, but rather through localhost:5000. I'm having an issue talking to the AD2USB at this point though. Things appear to be connected fine and I have the heartbeat LED, but I'm failing the setup tests. It says that it connects fine, but the saving configuration and testing input and output tests time out. Any ideas what to check? I've double checked the wires and they appear to be snug, and I'd think if it connects to the device okay that it wouldn't be a bad wire, but I'm not 100% sure. I have enabled address 18 on the system through one of the physical keypads, so I think that should be okay as well.
Map63Vette
newt
newt
 
Posts: 12
Joined: Thu Aug 03, 2017 6:24 am

Re: Issues with fresh install on Lubuntu

Postby Map63Vette » Sat Aug 05, 2017 4:37 pm

I think I fixed it myself with some tinkering. I had to mess with the groups to give my user account access to the USB port and after that it seems to be working okay. It passed the first three tests after changing that, but failed the last test. However, it seems to be operating like it should, so may have just been some kind of hiccup.
Map63Vette
newt
newt
 
Posts: 12
Joined: Thu Aug 03, 2017 6:24 am


Return to General

Who is online

Users browsing this forum: No registered users and 33 guests

cron