Hello,
A couple years ago, I had a running friendica node. After an upgrade, it stopped working. So, I stopped using it.
I am back to try again:)
I have 2 questions for the moment to get things going:
1 - Can I use the same domain and user name as my old friendica server as I did back then? I recall someone saying that their might be issues because the new server would not have the same "signature" or some identifying thing(a node number maybe>>). Is this true?
2 - I also recall that by default, that some kind of data is stored by a publicly visible location, and you need to point the data storage location to a folder outside the visible folder. I did that before. Is if still this way by default?
3 - Because the data was regularly changing(because it was inflowing message form the social media feeds), it tended to take up a lot of space. My old back ups of my system were 15GBs. I wan to move the data off my freindica server, and put it on my NAS. The idea was to redirect the folder location to a folder on my NAS. It is just a cable/switch/cable away, so it is a local server being used for it) Will this cause any issues for friendica? Will the delay between the friendica server and the NAS cause issues of their own?
Thanks for any and all assistance. I want to do this a better than last time:)
Joseph
Michael 🇺🇦
in reply to Joseph Hogan • • •Joseph Hogan
in reply to Joseph Hogan • •@Michael Vogel
Thanks for the idea.
I just tried reaching this page, and the page turns blank. I can see the various pages friendica, but when I click on the admin page, nothing at all is displayed.
Why might this be?
How to get to admin to change this setting?
What else can I cleanup to remove space?
Thanks for ideas. Stuck:)
Friendica Admins reshared this.
Michael 🇺🇦
in reply to Joseph Hogan • • •Joseph Hogan
in reply to Joseph Hogan • •Thanks @Michael Vogel
Can you remind me where to locate the PHP and friendica logs?
Which directories?
I'll be back with what I find.
Joseph
Friendica Admins reshared this.
Michael 🇺🇦
in reply to Joseph Hogan • • •Joseph Hogan
in reply to Joseph Hogan • •@Michael Vogel
We were able to clear the cache, and things started working again.
I turned off the avatar caching.
The other thing that you mention: optimize the DB. Can you give more details onhow it is done, or is there a tutorial on this somewhere?
Thanks
Joseph
Friendica Admins reshared this.
Michael 🇺🇦
in reply to Joseph Hogan • • •See here: stackoverflow.com/questions/54…
You need to execute the command
mysqlcheck.Joseph Hogan
in reply to Joseph Hogan • •@Michael Vogel
Thanks for pointing this out.
We were looking at the logs and it seems to be very large(14GB). Can we safely erase it?
Thanks
Joseph
Friendica Admins reshared this.
Michael 🇺🇦
in reply to Joseph Hogan • • •logrotateto do this automatically.Joseph Hogan
in reply to Joseph Hogan • •Gracias!
Friendica Admins reshared this.
Joseph Hogan
in reply to Joseph Hogan • •@Michael Vogel
Back again, sorry:(
The person working with me, more linux savvy than me, does not know how to use the logrotate command. Can you let us know how, or maybe you know of a good reference page?
I presume it moves the old log to a new file, and the log file is empty again?
Thanks
Friendica Admins reshared this.
Michael 🇺🇦
in reply to Joseph Hogan • • •See for example here: tecmint.com/install-logrotate-…
My config file looks like this: (if you don't use the daemon, you don't need the
postrotateandpastrotatecommands)Joseph Hogan
in reply to Joseph Hogan • •@Michael Vogel
OK, we were able to figure out how to work logrotate
As far as time, how many days should we keep in the logs? 1 week? 1 month? Other? I know that there might be ideal, but there is reality for space constraints. Thanks for suggestions.
WE also need a size factor, since after about 3 months, I have 14GB of logs.
Thanks
Friendica Admins reshared this.
Michael 🇺🇦
in reply to Joseph Hogan • • •