User links are /user/undefinedusername
I used the quick deploy to Heroku button to set up the project, started using it, but I had an issue with items not showing in their categories. So I thought about upgrading - cloned the Heroku repository to my machine, added the github remote for sample-project, pulled the updates from sample-project and pushed them to Heroku.
Now the items appear in their categories, I can promote users to admin (I couldn't do this in the previous version either) but the link to my username (janos) is: /users/undefinedjanos and it's the same for the other users.
What did I do wrong?
I'm having the same problem, quick deploy on Heroku as well.
http://myapp.herokuapp.com/users/undefinedwilliamw
As you might have noticed, Telescope added "undefined" to the user URL. If you remove "undefined" it works fine.
Found the answer on this page:
http://meta.telescopeapp.org/posts/hZbQDEkBNif7CGSrv
It's actually an Iron Router issue. If you come to the Slack chatroom I posted more info about this:
ok, it’s a temporary problem with Iron Router
sacha [2:43 PM] you need to update it to 1.0.9
sacha [2:44 PM] https://github.com/iron-meteor/iron-router/issues/1359
sacha [2:58 PM] I updated the deployment page with instructions on how to update on Heroku
sacha [2:58 PM] http://docs.telescopeapp.org/v0.20/docs/deploying (edited)
sacha [2:58 PM]
in this specific case, you want to upgrade the iron:router package to version 1.0.9
sacha [2:58 PM]
you can make sure the update worked by checking your .meteor/versions file (edited)
sacha [2:59 PM]
for some reason it didn’t quite work the first time I ran meteor update for me, so you might have to delete the versions file and do it again
@wilwaldon yep, thanks for copy/pasting that :)
meteor update fixed things. Thanks.
It sounds like there's a workaround, but the one-click deploy isn't fixed yet? I ran it today and I'm experiencing this issue.
Is there a plan to update the heroku deploy?
It boils down to fixing the versions file. I'll submit a pull request to sample-proiect soon-ish. :smile:
There we go, whenever they accept it.
:bomb: BOOM - now that's a quick response :) Thanks @kitsched!
@kitsched thanks! I forgot that the sample project still contained the wrong versions, good point!
:+1: