Using a VPN and hosting InvenTree remotely (docker) #5498
Replies: 3 comments 4 replies
-
Hi Alan, as always with such things, there are a string of "simple" issues which could be causing what you see. I'm assuming you don't actually mean VPN, that's something different, but a virtual server. A virtual server in itself is not a problem to use. You will be able to use the domain, but I would get the IP access working before moving on. Your first thing is to check connectivity. Have you checked:
The message "502 Bad gateway" might be a first good sign, that you're reaching the right server, but the NGINX server isn't reaching InvenTree. You'll need to check the configuration files, and the container logs. Look up the command |
Beta Was this translation helpful? Give feedback.
-
@ObsoleteMacFan you could also use either package/bare metal on the server. |
Beta Was this translation helpful? Give feedback.
-
I have managed to get it running using a bare metal install using the install script! will have a dig around in it to see what was preventing the docker image version |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Good Afternoon,
I am far from a Linux Expert, or any expert in anything really.
I am looking to use InvenTree as an Inventory and Stock Management System for my small business.
I have read the documentation and was able to install InvenTree bare metal on an old Thinkpad running Ubuntu. immediately when opening localhost on my web browser I was able to log in and have a play around with the software, it looks good, I like it and I want to use it!
Electricity is expensive in the UK and space is at a premium where I live, my business is run from home and eventually I would like a server at home to reduce my reliance on google drive etc. I decided in the short term to purchase a low spec VPS. $10 a year 768mb Ram kind of thing, to do some further testing with InvenTree.
I managed to install docker via the command line and following the documentation installed the production environment however I am not able to bring up the log in prompt. The server does not have a domain (I do own a domain for the business) I have tried using my-ip:8000_and my-ip:1337 etc. which appear unresolvable as well as trying some random ports which do bring up a ngix 502 bad gateway error.
is there something simple I am missing with the set up or configuration here? am I correct to assume that the InvenTree system will need to be accessible from the web wether it was stored locally or remotely for the iOS app to work?
I am not adverse to setting up a simple server at home but my better half would be as she is already quite sick of all the random bits of IT laying around the house
I understand this is an incredibly n00b question and I'm sorry for taking up your time but any help would be appreciated. I have searched for a solution but this just isn't clicking into place for me.
Regards
Alan
Beta Was this translation helpful? Give feedback.
All reactions