-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Web page not found - some install issues #1
Comments
Hi, happy to help you test it! I can also give you some feedback once I get it running. On the build configuration I changed it to match the screenshot and I am now getting a black screen, so I guess that is a step in the right direction. The following items were previously different: "build command" was blank and "publish directory" was "webapp". One point which may be of interest: previously (before I made these changes) I was able to view the Steely Dan album cover using https://[my site].netlify.app/static/steely-dan-cover.jpg and that doesn't work anymore. I tried running setup.sh (I don't think I ran it as root before but may have tried it). Here is the output: Enter your GitHub username: [I Ctrl-C'ed at this point] Some other potentially useful stuff: thanks! |
Some more info. I redeployed the app and restarted raspotify. raspotify is working (gatefold is still a black screen) but "systemctl status raspotify" returned these messages:
|
Thanks for the detailed info! Netlify
So perhaps because you'd set A black screen for the website is correct - it means Gatefold is waiting for you to play a track. So at least it looks like the website is setup now! 🙂
This is expected behavior 👍 Setup script
This makes me think nvm isn't installed correctly. How did you install it? By default, when you first install nvm, it places a script in What output do you get if you run |
For your
(which must be ran inside Please could you try doing a |
This one I'm not sure I know the cause. The full line in the script is just:
So if this is failing, then it looks like your user doesn't have write permissions to wherever you've stored the Gatefold repo. What's the full path you've placed the repo folder at? My recommendation is to just put it in your home folder ( |
Thanks for your help. The good news is that after making your changes it started working: However, the script was still failing. I think the reason gatefold was working is because I manually replaced environment variables, ran stuff directly from the command line, etc when I was tinkering before I raised the issue. But I wanted to get the script running correctly so it is repeatable. Starting wih the Next, I had another look at the This was correct for me:
I also poked around for help online and found this page which had a suggestion of running the script with a dot in front of it make the script to be able to change stuff in my current shell, so Now the script works although it still generates an error message.
I looked at the permissions for the I think we are basically there but it would be nice to get the setup to run with no errors. At some point I am going to reinstall the OS and will try to reinstall this but I am happy to help in the meantime. |
@waninggibbous Sorry for the enormously late reply on this - life has gotten in the way! Glad you managed to get it working and thanks a lot for outlining the steps needed to resolve. Will update the repo when I next get the chance (unfortunately life is still in the way 🙃). |
@JamieGoodson thanks for following up. I have been using it occasionally and can suggest a couple of enhancements. You can decide whether they are things you want to pursue if/when you haev time. If you like I can create a new issue with some ideas. |
@waninggibbous Sure, I'm all ears! |
Hi, looking forward to using this but I have hit a few problems. I am on a pi 4B running 64-bit OS. Hope you can help.
I followed the instructions and here is where I hit issues:
./setup.sh: line 7: /root/.nvm/nvm.sh: No such file or directory
./setup.sh: line 8: nvm: command not found
If I run "which node" I get "/home/raspberry/.config/nvm/versions/node/v20.4.0/bin/node"
The rest of the script seemed to run OK.
I reviewed what the script was attempting to do and manually updated the node path in gatefold.sh
3) The service was failing with a user error. I saw in the raspotify systemctl unit file that the user was set to "pi", which I am not using on my system. I edited the file to use a valid ID and the raspotify service is now working (correctly identifying the Raspberry Pi as an available speaker).
So my outstanding issue is that the gatefold page is showing a "Page not found" error.
Thanks in advance!
The text was updated successfully, but these errors were encountered: