@baris said in how to get only current day/week posts of a specific category?:
/api/top?cid=5&term=daily
perfect! thanks!
Check the permissions in the src directory.
It looks like permission is denied to ./nodebb
specifically. Did you try changing the permissions on it with chmod? I think sudo chmod 777 nodebb
might do the trick.
@pitaj said in v1.6.0 permission problems after upgrade/update:
It looks like permission is denied to
./nodebb
specifically. Did you try changing the permissions on it with chmod? I thinksudo chmod 777 nodebb
might do the trick.
That seemed to work for ./nodebb log
!
Something else I should test before deleting build
directory and running ./nodebb build
? Do I even need to do this? Should I try upgrading?
It's probably due to the permissions issues. You might have the best luck just starting from scratch in mike
's home directory. Or create a new nodebb
user for it.
You can always copy over any uploads you had from the old install. In order to actually stop nodebb you can probably use pkill node
.
@pitaj said in v1.6.0 permission problems after upgrade/update:
It's probably due to the permissions issues. You might have the best luck just starting from scratch in
mike
's home directory. Or create a newnodebb
user for it.You can always copy over any uploads you had from the old install. In order to actually stop nodebb you can probably use
pkill node
.
Do you think attempting your suggestion above and using ./nodebb build
might be worth a shot before starting from scratch?
I don't know. Make a backup and try whatever you want.
@pitaj said in v1.6.0 permission problems after upgrade/update:
I don't know. Make a backup and try whatever you want.
Sounds good. Thanks for all of your help and pointing me in the right direction! I'll mess with it and see what I can figure out.