mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4890] FRPC reload silently fails when a config is in a new directory #3861
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3861
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vervas on GitHub (Jul 20, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4890
Bug Description
I am creating a new configuration on a fresh directory (for immutability), which in turn includes a
confd/subdirectory where individual config files are loaded using the includes statement. For examplefrpc Version
0.63.0
frps Version
0.63.0
System Architecture
darwin/arm64
Configurations
/etc/frp/frp_configcurrent/frpc.toml/etc/frp/frp_confignew/frpc.toml/etc/frp/frp_confignew/confd/437eaded57ba93f596b621320071bc454c61c861dd546ce31107f67c7d65a4ac.tomlLogs
Steps to reproduce
Affected area
@fatedier commented on GitHub (Jul 21, 2025):
Currently, the
reloadcommand only reloads the configuration file you initially specified, not a new one.The configuration file path specified during
reloadis only used to obtain authentication information for calling the API.@vervas commented on GitHub (Jul 22, 2025):
Thanks for the update! Would it make sense to have it load the new configuration the same way the form on the client dashboard does? A small note in the readme and cli about this would also be great in the meantime so as to avoid confusion.
@fatedier commented on GitHub (Jul 24, 2025):
It always updates the original config file in client dashboard.
@github-actions[bot] commented on GitHub (Aug 8, 2025):
Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.