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

Testing 2024.03~ynh1 #131

Merged
merged 23 commits into from
Jun 7, 2024
Merged

Testing 2024.03~ynh1 #131

merged 23 commits into from
Jun 7, 2024

Conversation

OniriCorpe
Copy link
Member

trying to fix smarty errors

PR Status

  • Code finished and ready to be reviewed/tested
  • The fix/enhancement were manually tested (if applicable)

Automatic tests

Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

@yunohost-bot
Copy link
Contributor

✌️
Test Badge

@OniriCorpe
Copy link
Member Author

@aarontrom @tio-trom

i tried to fix your smarty errors, you can test it with (only if all the tests in the previous message are green):
yunohost app upgrade friendica -u https://github.com/YunoHost-Apps/friendica_ynh/tree/testing

and tell me if it's fixed or not

@OniriCorpe OniriCorpe changed the title Testing Testing 2023.12~ynh4 Feb 23, 2024
@tio-trom
Copy link
Collaborator

The test failed so we will wait until that's fixed to try it. Thanks a lot for your wonderful work!

@yunohost-bot
Copy link
Contributor

😜
Test Badge

@OniriCorpe
Copy link
Member Author

Thanks a lot for your wonderful work!

I don't even use Friendica lmao :")

@tio-trom
Copy link
Collaborator

Thanks a lot for your wonderful work!

I don't even use Friendica lmao :")

Well and that's even more respectable since you are helping people like us use friendica. Thanks!

@tio-trom
Copy link
Collaborator

I see that the test failed

==> /var/log/friendica <==
tail: error reading '/var/log/friendica': Is a directory

==> /var/log/friendica/daemon.log <==
    'system' => [
        'pidfile' => '/path/to/daemon.pid',
    ],Please set system.pidfile in config/local.config.php. For example:

    'system' => [
        'pidfile' => '/path/to/daemon.pid',
    ],Please set system.pidfile in config/local.config.php. For example:

    'system' => [
        'pidfile' => '/path/to/daemon.pid',
    ],Please set system.pidfile in config/local.config.php. For example:

    'system' => [
        'pidfile' => '/path/to/daemon.pid',
    ],Error: The HTTP code shows an error.

@OniriCorpe
Copy link
Member Author

yes, i need to debug that, but i don't have time for that in the current days, as i'm also working on yunohost itself and that I have extremely limited energy :/

@tio-trom
Copy link
Collaborator

yes, i need to debug that, but i don't have time for that in the current days, as i'm also working on yunohost itself and that I have extremely limited energy :/

I understand. Thank you. Whenever the package is ready for testing I'll be happy to test.

@tio-trom
Copy link
Collaborator

I think the errors I and Aaron had were because the friendica config files were manually modified by us to enable the daemon long before this PR. So perhaps close/merge this one so we can do a proper updating to the #134 one but reverting the changes manually and then do the update.

@tio-trom tio-trom mentioned this pull request Mar 26, 2024
2 tasks
@OniriCorpe OniriCorpe self-assigned this Mar 26, 2024
@kay0u kay0u changed the title Testing 2023.12~ynh4 Testing 2024.03~ynh1 Apr 4, 2024
@kay0u
Copy link
Member

kay0u commented Apr 4, 2024

!testme

@yunohost-bot
Copy link
Contributor

May the CI gods be with you!
Test Badge

@yunohost-bot
Copy link
Contributor

🐛
Test Badge

@rodneyrod
Copy link

Just outta curiosity this upgrade fail has nothing to do with permissions at '/var/www/friendica/view/smarty3/compiled/' not being set to the Friendica user?

@@ -38,6 +38,12 @@ fi
chmod -R o-rwx "$install_dir"
chown -R "$app:www-data" "$install_dir"

# clear the smarty cache

Choose a reason for hiding this comment

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

Did some testing, this part (41-45) probably needs to be above the chmod and chown steps in lines 38 and 39, otherwise the compiled folder gets owned by root and Friendica nor www-data can't write to that directory.

@tio-trom
Copy link
Collaborator

tio-trom commented May 1, 2024

How is this pullrequest comparing or conflicting with the already update to 2024.03 #134 ? I would like to update my friendica but unsure if I should go for #134 or wait for this issue to be fixed?

@ericgaspar
Copy link
Member

!testme

@yunohost-bot
Copy link
Contributor

May the CI gods be with you!
Test Badge

@yunohost-bot
Copy link
Contributor

📚 🐛
Test Badge

mr-eshua and others added 2 commits June 7, 2024 00:46
Bump the version to upgrade from for the test run with ynh unstable
@ericgaspar
Copy link
Member

Has this been tested?

@tio-trom
Copy link
Collaborator

tio-trom commented Jun 7, 2024

I would like to test it but I got confused by the several merge requests hat happened for this 2023.03 release. I would like to know what version I could test so I can test please

@ericgaspar
Copy link
Member

sudo yunohost app install https://github.com/YunoHost-Apps/friendica_ynh/tree/testing --debug
or
sudo yunohost app upgrade friendica -u https://github.com/YunoHost-Apps/friendica_ynh/tree/testing --debug

@tio-trom
Copy link
Collaborator

tio-trom commented Jun 7, 2024

I see so you merged them into testing. Ok I will test it today. I need a bit of time since our instance has around one thousand users and I do not want to cause any major issues. I will report when I am done. Thanks!

@ericgaspar
Copy link
Member

maybe someone with less users could test...

@tio-trom
Copy link
Collaborator

tio-trom commented Jun 7, 2024

Updated and all seems to work perfectly fine. Full log here https://paste.trom.tf/hotabucuwi.sql

@ericgaspar ericgaspar merged commit 8115642 into master Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants