Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

preparing 4.0.0 release still in progress any eta on this? #123

Closed
ramonskie opened this issue Nov 5, 2015 · 11 comments
Closed

preparing 4.0.0 release still in progress any eta on this? #123

ramonskie opened this issue Nov 5, 2015 · 11 comments

Comments

@ramonskie
Copy link
Contributor

there is still teh notification of

We are preparing for 4.0.0 release which makes the git repo not stable for now. Please use cookbook from Supermarket for the time being.

i was wondering if you have any eta for this or do you need any help?

@linc01n
Copy link
Collaborator

linc01n commented Nov 11, 2015

Hi @ramonskie ,
I just moved to a new country in Aug. So I didn't have much time for the project.
Now I'm almost settled and I'm starting to work on the project again.

I'm running different kind of test on the project. Since our 4.0 release will change the default database to postgres, I'm testing different upgrade scenarios.

And at the same time Atlassian rename the project to bitbucket which create more problems.
I've paused for a few weeks to wait for the 4.0.3 release which fixes this.

I've just found this is causing problems when people choose to use openjdk or a different version of jdk.

Also in the setenv.sh they've removed MaxPermSize which caused issue in the past. #84

Hopefully I can release our 4.0 cookbook this week.

When I'm upgrading from 3.10 to 4.1, I lost all my repos. It gives me a You have an empty repository message.

I need help to reproduce and fix this issue.

Thanks @ramonskie

@ramonskie
Copy link
Contributor Author

i have not seen such issue
and i think you should not handle the migration from mysql to postgres in this cookbook
i think users should do this by just doing a export/import or use the database migration wizard
https://confluence.atlassian.com/bitbucketserver/connecting-bitbucket-server-to-an-external-database-776640378.html

@linc01n
Copy link
Collaborator

linc01n commented Nov 12, 2015

I am not handling the migration.
It is both postresql. The db data is fine. I still have the login and project key. I just lost the git repositories.

@ramonskie
Copy link
Contributor Author

correction i see the same issues
from 3.10 to 4.1
the data of the git repo is gone

this has todo with the shared directory
because now we have 2 shared directory
/var/atlassian/application-data/stash
/var/atlassian/application-data/bitbucket

and this should be renamed or there should be no specific named directory at all
see https://github.com/bflad/chef-stash/blob/master/attributes/default.rb#L6
https://github.com/bflad/chef-stash/blob/master/recipes/configuration.rb#L18

@ramonskie
Copy link
Contributor Author

i have created a dirty hack for now
do not know it this is a pull request worthy

configuration.rb

  execute 'move files' do
    command 'mv /var/atlassian/application-data/stash/shared/* /var/atlassian/application-data/bitbucket/shared/'
    only_if { ::File.directory?('/var/atlassian/application-data/stash/shared/') }
    notifies :delete, "file[#{node['stash']['home_path']}/shared/stash-config.properties]"
    notifies :delete, 'directory[/var/atlassian/application-data/stash/shared]', :delayed
    notifies :run, 'execute[chown]'
  end

  execute 'chown' do
    command "chown -R #{node['stash']['user']}:#{node['stash']['user']} /var/atlassian/application-data/bitbucket/shared/"
    action :nothing
  end

  directory('/var/atlassian/application-data/stash/shared') do
    action :nothing
    notifies :delete, "file[#{node['stash']['home_path']}/shared/stash-config.properties]"
  end

@ramonskie
Copy link
Contributor Author

bump

@linc01n
Copy link
Collaborator

linc01n commented Dec 6, 2015

hi @ramonskie

I would prefer linc01n@14370fa

what do you think?

@ramonskie
Copy link
Contributor Author

Yes that's much better didn't thought about that one

@linc01n
Copy link
Collaborator

linc01n commented Dec 6, 2015

@ramonskie 4.0.0 finally released! 🎉

@linc01n linc01n closed this as completed Dec 6, 2015
@ramonskie
Copy link
Contributor Author

👍

@linc01n
Copy link
Collaborator

linc01n commented Dec 8, 2015

Please report bug if you see any problems. Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants