Setting up streetmerchant in Unraid via Docker #1428
-
Hello, I'm a huge novice to docker and unraid but I'm learning fast. I appear to be having an issue that no one else has had yet. I'm trying to get streetmerchant installed on my unraid server and it's going extremely poorly. This is because I cannot for the life of me determine what pathway streetmerchant needs to have made for it to be able to install itself into my system. For some reason I cannot find this ANYWHERE, on the github, on the instruction website (which has one step to run on docker....). It's very clear this is the issue based on the logs I'm about to post, so I have no idea why this information isn't easier to find. Probably because I'm a beginner who doesn't understand anything I guess. I'm going to go step by step through my process so you can see if I'm doing anything wrong. Step 1) Add container using the link ghcr.io/jef/streetmerchant:latest Step 2) Open docker container and run npm install " checkPermissions Missing write access to /app/node_modules " Herein lies the problem. I have tried about ten different possible pathways to get this installed in the proper location where all my other docker containers are installed. That location is: /mnt/user/appdata/ as you can see here, all my other containers are using this location just fine. For example, here is me attempting to create a /config path for streetmerchant to use The same error from above is thrown when attempting to run npm install in the container Other pathways I've tried to give to streetmerchant for it to work:
None of these have worked. You can see some of them had a unique effect such as breaking the container entirely, but no pathway that I've chosen has given streetmerchant the ability to create and modify files on my system, which it needs in order to proceed. It tells me to look in a folder for full debugging info but I don't think it has access there either, so no more debugging info can be had. I can't even begin to edit the .env file because I haven't made it that far. I'm hoping that this is just a symptom of me being a novice and not understanding docker, rather than some greater issue. It really seems like all I need to do is put in the right container path to get this working, and it seems very bizarre to me that I haven't been able to find even a crumb of evidence of what that container path would be..... Any help would be much appreciated |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 36 replies
-
I just setup streetmerchant on my system a few days ago. Here are the settings I used. I didn't have to specify any specific paths, only variables specifically related to streetmerchant. If you want more compatability with Unraid, I also setup the following under Advanced As far as additional settings, the reference guide on StreetMerchants can be used to create key/value pairs from https://jef.codes/streetmerchant/reference/application/ for configuration like the following |
Beta Was this translation helpful? Give feedback.
-
Thank you so much for reaching out. I appreciate you attempting to help me. I've followed exactly what you have here down to the letter and it still throws up the exact same error. npm install does not work based on permissions issues, literally no matter what I do. Is this because of I'm missing some type of required environmental variable? None of the variables seem like they are required for the function of this app...... Here is the entire settings page for the docker container: And here is the error again What happens when you run npm install on your instance? Does it just work? In that case I have no idea what I'm doing wrong as I've followed your instructions exactly. Could you post a screenshot of your entire container settings page? I may try to clone your variables exactly just to see if I can get this running at all. I'm tearing out my hair here, this really seems like it should be working. I still think I need to map the container path based on the errors I'm seeing here....... @jef can you please provide assistance as to what I'm doing wrong |
Beta Was this translation helpful? Give feedback.
-
I'm going to add this to the wiki. Thank you both! |
Beta Was this translation helpful? Give feedback.
-
I am setting up street merchant through the unraid "app" channel feed. Here are the instructions to pull down the XML and deploy: Application: streetmerchant - https://jef.codes/streetmerchant/ Docker Hub:https://hub.docker.com/repository/docker/mitchellriley/streetmerchant GitHub:https://github.com/kiowadriver/unraid-docker/tree/master/mitchellriley Documentation: https://jef.codes/streetmerchant/ Usage
|
Beta Was this translation helpful? Give feedback.
-
Hahaha...gotta have EMAIL_USERNAME in there, too!!! 😁
|
Beta Was this translation helpful? Give feedback.
-
So...you wanna unRAID it up, eh? Well...ya gotta ask yourself..."do I feel lucky?" Well...do ya? Just kidding. It's actually really easy. Hahaha Here's how to install the Docker container and customize it to your needs: First up, to install it, the good @kiowadriver took care of that for you. Here's how to do it:
So, at the bottom of the "Docker" page in unRAID, there is a space to enter the repositories URL... You'll paste the URL there. Then, you click "add container", then that container from the dropdown at the top. This will open up a window full of all kinds of stuff, but you really shouldn't need to mess with any of it in order to get it up and running. If you want to customize it, here's how to do it: In the "normal" way of installing it, you have a .env file that contains all of your settings. If you open that up, on the left of the equals sign, you have the variable, and on the right of the equals sign, between the quotes, you have what we'll call the key... In that case, a "variable" would be "SLACK_TOKEN" or "SHOW_ONLY_SERIES" while a key would be "amazon,bandh,bestbuy,newegg..." (Minus the quotes, of course.) This is all you need to customize your new Docker container. At the bottom, notice there's an "Add another Path, Port..." button... Click it and you'll get a window like this: In that window, at the top, click the dropdown and select "variable". Then input your info. In this case, "SHOW_ONLY_SERIES"... ...and click "add". That will give you a new item at the bottom of your "add container" page. Just plop in your "key"...in this case: And that's it! That's all it takes! I THINK this works with all the streetmerchant variables, but I know it works with Discord, show only series and gmail alerts. So yea...happy unRAID-ing!!! 😁 |
Beta Was this translation helpful? Give feedback.
-
Hey, you guys been getting tons of timeouts and errors lately? I noticed I haven't gotten any notifications in a while so I pulled up the log for the container and it's 98% timeouts... I just updated the container...same thing. Still working fine if I run it on my desktop, though... Anyone else's Docker install go belly up? |
Beta Was this translation helpful? Give feedback.
-
My container is up and working fine. I wonder if you were hitting the
stores to frequently and got your IP banned momentarily? Try easing up on
the timing and using a VPN to test from a different IP.
…On Thu, Dec 31, 2020 at 11:59 AM rmp5s ***@***.***> wrote:
Hey, you guys been getting tons of timeouts and errors lately? I noticed I
haven't gotten any notifications in a while so I pulled up the log for the
container and it's 98% timeouts...
[image: image]
<https://user-images.githubusercontent.com/75582315/103420846-a1473080-4b56-11eb-82e1-83d582f89f1a.png>
I just updated the container...same thing. Still working fine if I run it
on my desktop, though...
[image: image]
<https://user-images.githubusercontent.com/75582315/103420955-1b77b500-4b57-11eb-9f34-085184e0409d.png>
Anyone else's Docker install go belly up?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1428 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACDK3HHGRF7B6R33XVPLG6LSXS3WTANCNFSM4U44AO6A>
.
|
Beta Was this translation helpful? Give feedback.
-
Sorry, disregard last. That looks like a bad proxy config to me. If you
aren't using a proxy make sure the proxy settings are blank. If you are
using a proxy, look at the start message to see if it is configured for one
and connects fine.
…On Thu, Dec 31, 2020 at 1:28 PM Mitchell ***@***.***> wrote:
My container is up and working fine. I wonder if you were hitting the
stores to frequently and got your IP banned momentarily? Try easing up on
the timing and using a VPN to test from a different IP.
On Thu, Dec 31, 2020 at 11:59 AM rmp5s ***@***.***> wrote:
> Hey, you guys been getting tons of timeouts and errors lately? I noticed
> I haven't gotten any notifications in a while so I pulled up the log for
> the container and it's 98% timeouts...
>
> [image: image]
> <https://user-images.githubusercontent.com/75582315/103420846-a1473080-4b56-11eb-82e1-83d582f89f1a.png>
>
> I just updated the container...same thing. Still working fine if I run it
> on my desktop, though...
>
> [image: image]
> <https://user-images.githubusercontent.com/75582315/103420955-1b77b500-4b57-11eb-9f34-085184e0409d.png>
>
> Anyone else's Docker install go belly up?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#1428 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ACDK3HHGRF7B6R33XVPLG6LSXS3WTANCNFSM4U44AO6A>
> .
>
|
Beta Was this translation helpful? Give feedback.
-
Can you share your dotenv? I am not seeing the timeouts. Also, I do think
we need to have a link validator on the nightly build ensure all links are
valid. Several python scripts are out there that could be leveraged.
…On Fri, Jan 8, 2021, 11:01 AM Ben Green ***@***.***> wrote:
I just setup the container today (thanks rmp5s!) and I'm getting the same
timeout errors as you are. I'm wondering if maybe this is occurring because
we're querying sites that have broken links? I can't seem to find the
certain graphics cards it's looking for on some websites, so I'm wondering
if that's the cause. No idea though
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1428 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACDK3HBVKHNANUBWJCAOMKLSY427JANCNFSM4U44AO6A>
.
|
Beta Was this translation helpful? Give feedback.
I just setup streetmerchant on my system a few days ago. Here are the settings I used. I didn't have to specify any specific paths, only variables specifically related to streetmerchant.
If you want more compatability with Unraid, I also setup the following under Advanced
As far as additional settings, the reference guide on StreetMerchants can be used to create key/value pairs from https://jef.codes/streetmerchant/reference/application/ for configuration like the following