v1.6.0 permission problems after upgrade/update
-
Yeah that would certainly do it. The
chown -R
should have fixed that though if you ran it with sudo. -
@pitaj said in v1.6.0 permission problems after upgrade/update:
Yeah that would certainly do it. The
chown -R
should have fixed that though if you ran it with sudo.Yeah, for some reason I still can't run
./nodebb log
. Hmmm. Back to the drawing board. -
Oh, wait a second. Your user is
mike
? In that case, the crown command should havemike
not www-data I think. Have you tried editing those files from the account? Also, check the log directory ownership and permissions. -
This post is deleted!
-
@michael-pfaff can you try editing one of the files with nano or vim? If there's an error there then that would confirm the issue
-
@pitaj said in v1.6.0 permission problems after upgrade/update:
@michael-pfaff can you try editing one of the files with nano or vim? If there's an error there then that would confirm the issue
Just open any file in that directory?
-
@michael-pfaff yeah just try editing one of the log files and see if you still get an error. You might also try using chmod to change the actual permissions on the files rather than the ownership.
-
@pitaj said in v1.6.0 permission problems after upgrade/update:
@michael-pfaff yeah just try editing one of the log files and see if you still get an error. You might also try using chmod to change the actual permissions on the files rather than the ownership.
Seemed like I could edit and save it just fine using
nano output.log
. -
Can you try
tail -F ./logs/output.log
from the base nodebb directory? That's the command that nodebb uses internally, if it works nodebb log should work. -
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 thinksudo 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? -
This post is deleted!
-
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
. -
@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.
-
This post is deleted!