Koozali.org: home of the SME Server

copied user filesystem from SME8 to SME9.2

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: copied user filesystem from SME8 to SME9.2
« Reply #15 on: July 02, 2017, 05:47:59 PM »
I'm sure it's possible to fix your install... you/we need just a couple of time.
Do you have time / patience to fix it ?
How are your linux skills ?

First of all: you'll have problems with user/groups and permissions. Files where copied with WRONG USER and GROUP IDs and are a REALLY MESSY thing.

So here is my tip:
1) let's start by one SHARE: copy each file/directory where it should be and change SOMETHING (anything even a description) on web interface and save.
It should redo all permissions.
Test if this share is ok. If not you can use a shell script to fix it. I can provide it for you later.

2) if this path works... repeat for each SHARE.

3) for user directories, it's just a matter of fix permissions using a shell script (I can provide you).
it's something like: "chown -R X:Y .*" and later change ".*" to "*""
Where X:Y are the username and account.
If you need assistance with this, post and "ls -la" of one directory of user and I'll help you.

BTW: This is the REALLY HARD way to move content between servers: Affa is the easy way! ;)

Regards,
 
Jáder
...

Offline ReetP

  • *
  • 3,947
  • +6/-0
Re: copied user filesystem from SME8 to SME9.2
« Reply #16 on: July 02, 2017, 08:13:35 PM »
Jader,

I don't think it was an issue with the files per se - it was the main server config.

He'd installed it allegedly from a Sark ISO (?)

He'd used it as for music etc etc, and subsequently as an affa backup box too

He then tried to 'rise' the affa. My guess is that was the start of the disaster.

Everything else is just a symptom.

I am sure the OP could potentially sort it out, but quite honestly it will be quicker, easier and cleaner to start again

(how many times have we though 'that'll be easy' only to discover several hours or days later that it wasn't as easy as first thought, and a backup/restore would have been cleaner and faster!)

Yes, affa is a good choice (bearing in mind the gotcha I found) but it needs to be started from a clean machine in the first place.

My 10 cents worth... !

B. Rdgs
John
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation