• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

[edit] No config.json file

Scheduled Pinned Locked Moved Technical Support
15 Posts 3 Posters 3.4k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Aureney
    wrote on last edited by Aureney
    #1

    I've added a domain (alias) to Openshift to my app name so I don't have to do namespace-domain.rhcloud.com, but whenever I use the domain NodeBB doesn't work. For example I cant make changes in the Admin CP or delete/lock/pin any topics. But when I go to namespace-domain.rhcloud.com, everything works fine. Do I have to change the NodeBB setup domain name ?

    PitaJP 1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    replied to Aureney on last edited by
    #2

    @Aureney Yes, you need to change the url field in your config.json file to the url of your domain.

    A 1 Reply Last reply
    0
  • A Offline
    A Offline
    Aureney
    replied to PitaJ on last edited by
    #3

    @PitaJ Uh.. how do I do that? Do I edit the file in my local repo and do git push origin master again?

    PitaJP 1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    replied to Aureney on last edited by
    #4

    @Aureney I don't know what your personal setup is, but you need to somehow change that file and restart NodeBB.

    A 1 Reply Last reply
    0
  • A Offline
    A Offline
    Aureney
    replied to PitaJ on last edited by
    #5

    @PitaJ where exactly is config.json? I can't find it in the nodebb files

    PitaJP 1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    replied to Aureney on last edited by
    #6

    @Aureney it's created by the setup utility in the root directory of NodeBB.

    A 1 Reply Last reply
    0
  • A Offline
    A Offline
    Aureney
    replied to PitaJ on last edited by
    #7

    @PitaJ It's not in the root directory?

    PitaJP 1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    replied to Aureney on last edited by
    #8

    @Aureney if you ran setup, it should be there right next to package.json.

    A 1 Reply Last reply
    0
  • A Offline
    A Offline
    Aureney
    replied to PitaJ on last edited by
    #9

    @PitaJ I used ahwayakchih's guide instead of the ones in the docs. So I didn't run the setup, I just did git push origin master and it did it by itself. I do have the package.json file, though.

    PitaJP 1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    replied to Aureney on last edited by
    #10

    @Aureney you should have a config.json file at least on your server. Try sshing in and changing it there.

    A 1 Reply Last reply
    0
  • A Offline
    A Offline
    Aureney
    replied to PitaJ on last edited by
    #11

    @PitaJ I'm newbie at SSH. What do I do?

    PitaJP 1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    replied to Aureney on last edited by
    #12

    @Aureney I'm not gonna explain it to you: Google is helpful for that. There should be a tutorial for whatever your setup is.

    A 1 Reply Last reply
    0
  • A Offline
    A Offline
    Aureney
    replied to PitaJ on last edited by Aureney
    #13

    @PitaJ No luck. All there is is just ./nodebb setup but it doesn't work on Openshift for some reason.

    1 Reply Last reply
    0
  • frissdiegurkeF Offline
    frissdiegurkeF Offline
    frissdiegurke Plugin & Theme Dev
    wrote on last edited by
    #14

    Actually the guide you use overwrites the NodeBB config within its startup-script.
    It uses the OPENSHIFT_APP_DNS_ALIAS and fallback OPENSHIFT_APP_DNS environment variables. So I guess those should be set by openshift and only a restart of NodeBB would be necessary.
    You are using a custom script, thus that scripts author/support is the correct person to ask for troubles.
    You seem to already have started a discussion at GitHub, reference: https://github.com/ahwayakchih/openshift-nodebb/issues/20

    Next time, please provide more information within OP; Could've saved @PitaJ some time.

    A 1 Reply Last reply
    0
  • A Offline
    A Offline
    Aureney
    replied to frissdiegurke on last edited by
    #15

    @frissdiegurke I know. That's why I started it.

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development