Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian packages now provide upgrade instructions when upgrading from 2.x to 3.x #7695

Merged
merged 3 commits into from Sep 12, 2016
Merged

Debian packages now provide upgrade instructions when upgrading from 2.x to 3.x #7695

merged 3 commits into from Sep 12, 2016

Conversation

srbaker
Copy link
Contributor

@srbaker srbaker commented Aug 10, 2016

No description provided.

# directories needed for neo4j
chown -R $NEO_USER:adm /var/lib/neo4j /var/log/neo4j /etc/neo4j /usr/share/neo4j /var/run/neo4j
chmod u+rwx /var/lib/neo4j /var/log/neo4j /etc/neo4j /usr/share/neo4j /var/run/neo4j

# conf directory symlink, needed because config-migrator depends on config living in conf subdir
ln -s /etc/neo4j /var/lib/neo4j/conf
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have a plan for making sure this gets removed when it's no longer needed?

Copy link
Contributor Author

@srbaker srbaker Aug 11, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will get removed when we stop shipping and supporting config migrator.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it's the "making sure" bit that I was interested in. Put a note on the other card?

@benbc
Copy link
Contributor

benbc commented Aug 11, 2016

How does the config migrator work if the files have been removed?

@benbc
Copy link
Contributor

benbc commented Aug 11, 2016

There were also problems with finding the config migrator jar and knowing how to use neo4j-admin import to pull the databases across. Did you think about those?

@srbaker
Copy link
Contributor Author

srbaker commented Aug 11, 2016

The config migrator generates new files if it doesn't find old config files.

The other bits are going to be described as part of the documentation step.

@srbaker srbaker changed the base branch from 3.1 to 3.0 September 9, 2016 07:01
@benbc
Copy link
Contributor

benbc commented Sep 9, 2016

Looks good

@srbaker srbaker merged commit 43ff832 into neo4j:3.0 Sep 12, 2016
@srbaker srbaker deleted the 3.0-fix-debian-package-upgrades branch September 12, 2016 09:17
@spacecowboy spacecowboy changed the title fix debian package upgrades Debian packages now provide upgrade instructions when upgrading from 2.x to 3.x Sep 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants